Hi,
How do I put this block of code into a function?
Thanks!
IF PurchaseLine.FINDSET THEN REPEAT ReceivedNotInvoiced := ReceivedNotInvoiced + PurchaseLine."A. Rcd. Not Inv. Ex. VAT (LCY)"; UNTIL PurchaseLine.NEXT = 0; AmtRcdNotInv := ReceivedNotInvoiced;
*This post is locked for comments