Hi Sir/Ma'am,
I'am trying to create a simple query for my Approval Procedure in SAP B1
,i want to execute approval procedure if OCRD.creditline is less than OCRD.Balance , my problem is everytime i create a sales order it will asking me for approval even creditline is greater than balance, i am sorry i am new of creating script/s, please see my script below for your assistance:
SELECT distinct 'true' FROM OCRD T0 INNER JOIN ORDR T1 ON T0.CardCode = T1.CardCode WHERE T0.[CreditLine] < T0.[Balance]
Regards,
silentknight