Skip to content
ERP HelpLyncs Help

Step 6: SAP 5-Step Production Order Sync & Hold

Role / PersonaAccounting Admin
LocationCompany Finance
Status Transition
Posted→Posted
Stock EffectRead-only on Lyncs balances (syncs Lyncs production quantities to ERP).
SAP B1Creates ONE SAP Production Order per output item (BOM from SAP ProductTrees, BaseType 202): 1. Create PO -> 2. Release -> 3. Issue for Production -> 4. Receipt from Production -> 5. Close PO. (QuickBooks creates one Inventory Adjustment). Accounting Admin can Hold/Ignore with >=3 char reason if not synced/in-flight.
Required Lyncs permissions & location scope (for Admins)2 permissions
Operational Role: Accounting Admin
Location Scope: Company-wide / Accounting scope
Lyncs Role Template Permissions (Users → Role Templates):
Production Accounting SyncProduction Accounting Sync Ignore

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):

  1. CREATE_PRODUCTION_ORDER — creates the header Production Order in Planned state.
  2. RELEASE_PRODUCTION_ORDER — releases the SAP Production Order for material execution.
  3. CREATE_ISSUE_FOR_PRODUCTION — posts raw ingredient consumption (PRODUCTION_OUT) against the SAP Order.
  4. CREATE_RECEIPT_FROM_PRODUCTION — posts finished-good receipt (PRODUCTION_IN) against the SAP Order.
  5. CLOSE_PRODUCTION_ORDER — closes the completed Production Order in SAP cleanly.

QuickBooks Online / Desktop tenants: Each posted output syncs as a single CREATE_INVENTORY_ADJUSTMENT entry 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 (>= 3 characters). Holding is blocked once a sync job is already in-flight or completed in ERP.