Using the standard prospect to cash, orders are created programatically into Sales, and trying to synchronize into ERP only the Order Headers make it over. The Order Products do not sync, resulting in Orders with no order lines.
The only way to get Order Products to sync is to go manually in each Order Product and change the Order Is Submitted flag to Yes. Setting it programatically when creatign the records in Sales resets it back to No.
This defeats the entire automation 🙂