For each loop condition for Invoice to Invoice Line is not working
Summary:
I have added one for each condition in invoice created Agent so that it will perform some operation in each line of the invoice.
Added for each saved condition query:
SELECT INVOICE_GID FROM INVOICE_LINEITEM WHERE INVOICE_GID=$GID
FOR EACH event:
CALL_INVOICE_LINE_OB_GOLD
Let suppose, when one invoice is created with 3 invoice lines then this for each action performs then it goes to the related agent from the custom event, but the related agent is running only once not 3 times even though the saved condition returns 3 rows with the invoice_gid.
Can someone please help me on this why the related agent is not running 3 times because the invoice is having 3 lines also the saved condition returns 3 rows?
0