Set Variable is setting variable to first record in find
I have a script that creates a record of the order id called $orderID. The issue is, it randomly is setting the variable to the first orderID in the found set. Not the current record I am performing the script from.
Am I crazy?