I am attempting to loop through the PurchaseOrderLine table and find all lines that belong to a certain Purchase Order. My intention is in a loop to grab the ID then lookup the item and QTY, then load the results into a Sales OrderLine table. I have confirmed with a Retrieve Value from Table that there is a result, as I have it return to me the ID in a message. When I throw the same message into the loop after the start of the loop, nothing happens. It appears to not yield any results, or not actually succeed in setting the action result for the line(s) found while running the loop. This is what the action list looks like as it pertains to this issue.:
Get Purchase Order ID from Shared result (confirmed successful)
Start Loop through PurchaseOrderLine table based on PurchaseOrderRecordID = one grabbed from Shared Result, assign action result
Send message to user that ID X has been grabbed for current result in loop (fails, no message appears)
Retrieve Item & Quantity from PurchaseOrderLine table using action result in start loop.
Insert Record into SalesOrderLine Table using the above values and previously stored RecordID
End Loop through Table
___
What I THINK is happening is that I am not getting any results from the start of the loop. In fact, the action result it creates that should be the ID isn't available in the drop down list for the message, I had to manually plug it in.
Your assistance will be greatly appreciated.