Skip to content
ERP HelpLyncs Help

Production Events — Print View

Single-Page Printable Workflow
Optimized for print or offline store reference
Back to Interactive Hub

1. Create Draft & Explode Recipe BOM

Draft

Production Supervisor / Chef • Production Event View, Production Event Create, Production Event Draft, Production Ingredient Management

Stock Effect: Explodes published output item recipes (requiring positive standard_yield_qty & yield UOM). Editing recipe ingredient actuals requires Production Ingredient Management. Up to 20 image attachments & team attribution.
SAP B1: None in Draft.

2. Submit & Cost Variance Guard (25% / 50%)

Submitted

Production Supervisor / Chef • Production Event Submit, Production Event Reopen, Production Event Cancel, Production Event Cost View

Stock Effect: Checks estimated cost vs reference location cost. Variance > 25% shows warning banner; variance > 50% blocks Submit until User checks acknowledgement and enters >= 3-char comment.
SAP B1: None until Post.

3. Post Event to Stock Ledger

Posted

Production Supervisor / Chef • Production Event Post, Production Event Export

Stock Effect: Writes immutable PRODUCTION_OUT for consumed ingredients (FEFO allocation where lot-tracked) and PRODUCTION_IN for manufactured finished goods.
SAP B1: Auto-queues or enables manual ERP sync per output line when configured.

4. Pack Output Into Lots / Batches (Optional)

Posted

Production Supervisor / Chef • Create Batch, Production Event Create, Production Event Submit

Stock Effect: Available when productionLotsEnabled is active (/production/events/:id/create-lot). Packs boxes via item packages or dynamic weights into tracked Lots; unpacked remainder stays bulk kitchen stock.
SAP B1: Preserves lot-level genealogy links cleanly.

5. Reverse & Repost Posted Event

Submitted

Production Supervisor / Chef • Production Event Reopen, Production Event Post

Stock Effect: Reverses active PRODUCTION_IN & PRODUCTION_OUT ledger entries and returns event to Submitted for editing & reposting. Blocked if any live Batch still allocates from this event (must soft-delete allocating batches first).
SAP B1: Requires accounting reconciliation before/after reversal if already posted externally.

6. SAP 5-Step Production Order Sync & Hold

Posted

Accounting Admin • Production Accounting Sync, Production Accounting Sync Ignore

Stock Effect: Read-only on Lyncs balances (syncs Lyncs production quantities to ERP).
SAP B1: Creates 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.

Stage 1 Details

1. Create Draft & Explode Recipe BOM

Production Event BOM Explosion, Repeat Event, and Cost Variance Check
1. Cost Variance & Missing-Cost Checks: Warns above 25%, requires confirmation + note above 50%, and blocks posting if any ingredient has zero cost.

Navigate to Production → Events (/production/events) and click New Production Event (Production Event Create, Production Event Draft), or click Repeat Event on a previous batch to copy its recipes into a fresh Draft for today’s shift.

When Restrict to one item (productionRestrictToOneItem) is turned on in /production/settings, each event accepts only one output SKU.

Operational actions

  1. Select the Central Kitchen / Production location, operational date, shift or team attribution metadata, and any prepared output SKUs.
  2. When you add an output item, Lyncs automatically loads its published recipe BOM (the recipe must specify a positive standard_yield_qty and valid yield UOM).
  3. Ingredient Editing Guardrail:
    • Standard production operators can enter produced output quantities while keeping recipe ingredient ratios locked.
    • Modifying actual ingredient weights, swapping inputs, or tuning loss lines requires the Production Ingredient Management permission.
  4. Attach up to 20 image files for batch QC, temperature checks, or tray appearance verification.
  5. Save as Draft — ingredient and finished-good balances remain unchanged until the event is posted.

Common block or edge cases

  • If an output SKU fails to explode its recipe, open Inventory → Repository → Recipes and confirm the recipe status is Published with standard_yield_qty > 0.

Stage 2 Details

2. Submit Event & 25% / 50% Cost Variance Guard

Once output yields and ingredient actuals are recorded, click Submit (Production Event Submit) to lock draft edits and validate production costs.

Cost Variance Check rules

When submitting, Lyncs compares the batch’s calculated cost per output unit against the location’s reference item cost (productionEventService.ts):

  • Variance <= 25%: Submits immediately with no warning.
  • Variance > 25% and <= 50%: Displays an amber warning banner highlighting the percentage variance so the supervisor can double-check yields or ingredient weights before continuing.
  • Variance > 50%: Blocks submission until you explicitly check the Acknowledge high cost variance checkbox and enter an explanation note of at least 3 characters.

Cost column masking: Estimated ingredient costs, unit output costs, and variance monetary amounts render only when the user holds Production Event Cost View. Supervisors without this permission can still submit quantities and ack high-variance alerts as authorized.

Reopen or Cancel before Post

  • Reopen to Draft (Production Event Reopen): Moves Submitted -> Draft so ingredient lines or output quantities can be adjusted.
  • Cancel (Production Event Cancel): Moves Draft or Submitted to Cancelled cleanly without creating ledger movements.

Stage 3 Details

3. Post Event to Stock Ledger

Click Post (Production Event Post) on a Submitted Production Event to commit inventory consumption and production output into the location ledger.

Recommended Post Preview workflow

  1. Click Post Preview to verify ingredient stock availability, earliest-expiry batch order, and final output quantities before committing.
  2. Confirm no zero-cost ingredients or negative-stock blockers remain; if any ingredient has zero cost, set its branch/recipe pricing first (Confirm & Post stays disabled until resolved).
  3. Click Confirm Post:
    • Lyncs writes atomic PRODUCTION_OUT deductions for every consumed ingredient (allocating oldest-expiring tracked lots first via FEFO where lot tracing is active).
    • Lyncs writes atomic PRODUCTION_IN additions for every finished or semi-finished output item.
    • If ERP sync is enabled, one sync job per finished output line is queued automatically.
  4. Authorized auditors or managers can export the event sheet using Production Event Export.

Stage 4 Details

4. Pack Output Into Lots / Batches (Optional)

When brand setting productionLotsEnabled is enabled, a Create Lot button appears on Posted Production Events (/production/events/:eventId/create-lot).

How Lot Packing works

  1. Open the posted Production Event and click Pack Lots / Create Batch (Create Batch).
  2. For each produced output item, allocate bulk produced quantity into:
    • Pre-defined Item Packages (standardized box/tray weights), or
    • Dynamic-weight boxes/containers with auto-calculated expiry dates.
  3. Save and print barcode/QR lot labels for cold-room storage and downstream FEFO picking during Orders to Fulfill dispatches.
  4. Partial packing rule: You do not need to pack 100% of the event’s output. Any unpacked quantity stays available in bulk kitchen stock and does not affect the event’s Posted status.

Once a live Lot/Batch allocates quantity from a Production Event, that event cannot be reversed until all linked live batches are soft-deleted first.

Stage 5 Details

5. Reverse & Repost a Posted Event

If an incorrect yield, wrong operational date, or missed ingredient adjustment is discovered after posting, authorized supervisors can reverse the event instead of creating manual adjustments.

Reversal preconditions & effect

  1. Check Linked Lots / Batches: Lyncs strictly blocks reversal if any live Lot/Batch allocates stock from the posted event. Navigate to Lots / Batches and soft-delete those dependent batches before continuing.
  2. Coordinate ERP state: If the event’s output lines already finished syncing into SAP, alert Accounting first (Production Accounting Sync) so SAP Production Orders remain reconciled.
  3. Click Reverse Event (Production Event Reopen):
    • Generates offsetting reversal movements canceling the event’s PRODUCTION_IN and PRODUCTION_OUT ledger impact.
    • Returns the Production Event status from Posted -> Submitted (and then Reopen -> Draft if lines must be edited).
  4. Correct the quantities or ingredients, submit again (passing the 25% / 50% cost variance checks), and Post (Production Event Post).

Stage 6 Details

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.