
🏭 Manufacturing · Sequence
How production orders flow from ERP planning to the shop floor MES and how confirmations, goods movements and scrap flow back.
Drawing diagram…
MES-ERP integration sequence: ERP (SAP) releases a production order with BOM and routing, the integration layer sends it to the MES, the MES schedules it on a line, operators start it, the MES backflushes material consumption to ERP, reports operation confirmations, posts finished goods receipt and scrap quantities, and ERP updates stock and order costs and technically completes the order.
sequenceDiagram participant ERP as ERP (SAP) participant INT as Integration Layer participant MES as MES actor Op as Operator ERP->>INT: Release production order (BOM, routing) INT->>MES: Create work order MES->>MES: Schedule on Line 2 Op->>MES: Start order MES->>INT: Material consumption INT->>ERP: Goods issue Op->>MES: Confirm operations MES->>INT: Confirmations, 480 good, 20 scrap INT->>ERP: Operation confirmations INT->>ERP: Goods receipt 480, scrap 20 ERP->>ERP: Update stock and order cost ERP-->>MES: Order technically complete
The states a production order goes through on the shop floor, from release by planning to closure, including material shortages, rework and scrap.
An incoming and in-process quality inspection flow: sampling, measurement against the spec, and what happens to a batch that fails.
A connected factory: machines and sensors on the shop floor, an edge layer, MES and ERP, and cloud analytics for OEE and predictive maintenance.
How vibration and temperature data from machines becomes a maintenance work order before the machine fails.
How materials flow from suppliers to customers in a manufacturing business: purchasing, inbound quality, production, warehousing and distribution.
A schema for multi-level bills of materials: items, BOM headers and lines, routings and work centres.