on 2020 Sep 17 8:33 AM
Hello World,
I need a Transaction Notification (Validation) for SAP B1 9.3 for HANA for below mentioned scenario -
On Sales Order document (ORDR), Delivery Date (ORDR,DocDueDate) cannot be added more than payment terms (ORDR, ExtraDays) which is set in BP master for the particular BP and reflecting on Accounts tab of SO.
Thanks much!!
Request clarification before answering.
Please follow the below code, before deployment recheck the fields names
IF (:object_type = '17' and (:transaction_type = 'A' OR :transaction_type = 'U')) THEN (Select COUNT(*) into cnt5 From "ORDR" a inner Join OCTG b on a."GroupNum" = b."GroupNum" Where a."DocEntry" = :list_of_cols_val_tab_del AND a."DueDate" > ADD_DAYS (a."DocDate",b."ExtraDays")); IF :cnt5 > 0 THEN error := 2301; error_message := 'Due date is not according to payment term days ...'; END IF; END IF;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
9 | |
9 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.