Step 6: SAP 5-Step Production Order Sync & Hold
6. SAP 5-Step Production Order Sync & Hold
Lyncs Accounting Sync translates each Posted Production Event into ERP manufacturing transactions automatically per output SKU (productionAccountingContract.ts).
SAP Business One — 5-Step Sequence per Output Item
For tenants integrated with SAP, one SAP Production Order is created per output item line referencing the corresponding SAP ProductTrees BOM (BaseType = 202):
CREATE_PRODUCTION_ORDER— creates the header Production Order in Planned state.RELEASE_PRODUCTION_ORDER— releases the SAP Production Order for material execution.CREATE_ISSUE_FOR_PRODUCTION— posts raw ingredient consumption (PRODUCTION_OUT) against the SAP Order.CREATE_RECEIPT_FROM_PRODUCTION— posts finished-good receipt (PRODUCTION_IN) against the SAP Order.CLOSE_PRODUCTION_ORDER— closes the completed Production Order in SAP cleanly.
QuickBooks Online / Desktop tenants: Each posted output syncs as a single
CREATE_INVENTORY_ADJUSTMENTentry instead of a 5-step Production Order.
Manual Retry & Hold / Ignore rules
- Retry Sync (Production Accounting Sync): Replays failed or pending sync steps cleanly from the checkpoint step.
- Hold / Ignore Sync (Production Accounting Sync Ignore): Allows an Accounting Admin to place an unsynced output line on permanent Hold after entering a mandatory reason (
>= 3characters). Holding is blocked once a sync job is already in-flight or completed in ERP.