cancel
Showing results for 
Search instead for 
Did you mean: 

Notification required for SAP B1 HANA's Production module

former_member576093
Participant
0 Kudos
824

Hello World..!!

I require a Transaction Notification for SAP B1 HANA for following scenario -

System should not allow posting of Receipt from Production without the posting of Issue for Production first if the production order has an item set to Manual issue method.

Thanks much!

Accepted Solutions (1)

Accepted Solutions (1)

Abdul
Active Contributor
0 Kudos

Try the below code after addding your customize conditions

IF @transaction_type IN ('A', 'U') AND (@OBJECT_TYPE = '59') BEGIN IF EXISTS ( SELECT t0.docentry FROM OIGN T0 INNER JOIN IGN1 T1 ON T0.DocEntry = T1.DocEntry LEFT JOIN OWOR T2 ON t2.docentry = T1.[BaseEntry] INNER JOIN WOR1 T3 ON T2.DocEntry = T3.DocEntry WHERE T3.[IssuedQty] = 0 AND T0.DocEntry = @list_of_cols_val_tab_del ) BEGIN SET @error = 10 SET @error_message = 'Please Issue Components First' END END

former_member576093
Participant
0 Kudos

Thanks Sir!

Answers (0)