Hi All,
I am at a loss. I have created a VA01 order creation script which handles multiple line orders magnificently. I am running into an issue with it running single line orders. The business needs to have a single script which can handle both scenarios. I have tried using IF statements to ignore the multi-line loop if no D exists (both inside and outside of the loop) but that didn't work. I have tried the "skip if not found" and that did not work. I have tried using IF first & not first transaction scenarios, again, no change.
Has anyone successfully worked through this?
I have attached the script in case it helps. What am I missing?
Thank you!
------------------------------
Vanessa Kutasi | Application Analyst II
IDEXX | NE WUG Leader
------------------------------