Hi,
I have a scenario where I have to check through the lines of an AR Invoice when the user clicks Add on the AR Invoice System Form( Form 133) and I have to check the following before the Invoice is added.
1) Parse through each line on the AR Invoice form and check if any line has Discount % NOT Equal to Zero.
2) If criteria above is met, then add additional lines need to be added to the Invoice before it is saved.
I understand how to capture the Add button on A/R Invoice is clicked when BeforeAction = true.
I would like some help on how to
1) Parse through Item Lines to check if Discount % is not Zero
2) How to add additional lines before Invoice is Saved.
Any source code you provide would be helpful.
Thanks,
Krishnan