Using the BOI and trying to loop through all Sales Orders and, for each Sales Order, loop through all lines. Have it working however some orders are in a state such that, if opened from the Sage UI, a popup is shown with text like:
In the UI, I can click "OK" and proceed to view the record.
From BOI I can access the SO_SalesOrder_bus object (using nFind() call) however I then need to call nSetKey to access the order lines. When call: