on 02-06-2018 5:39 AM
Hi Experts,
Would like to make Outgoing Payment field mandatory where DocType is Account.
Detail field name - OcrCode
Kindly provide your valuable suggestion.
Regards,
Nitu
Hi,
You have create new SP_Transaction notification for Outgoing payment if cost center is empty. So that, you can block posting of outgoing payment.
Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Below is the SP_Transaction Notification applied on Incoming Payment it is not working because in my system I have financial year wise numbering series.
So DocNum generated in last year again repeats in this year due to which linking ORCT and RCT4 on DocNum does not survive my purpose.
Using below code, still SAP throws an error "Pls. Enter Region" after entering value in OcrCode.
If @object_type='24' and @transaction_type='A'
BEGIN
If Exists (Select * from [dbo].[ORCT] T0 LEFT JOIN RCT4 T1 On T0.DocNum = T1.DocNum Where
T0.DocEntry = @list_of_cols_val_tab_del and T0.Doctype = 'A' and T1.OcrCode is null )
BEGIN
Select @error = 3202,
@error_message = 'Pls. Enter Region'
End
End
Hope you will understand my challenge.
In case of Outgoing Payment I am not able find the link between OVPM and RCT4.
Regards,
Nitu
Hi,
You can assign the Distribution Rule to the G/L Account as default and it will be picked everytime when the G/L Account is taken.
You can check the option of Code in Sp_transactionNotification.
regards,
Jitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.