--- title: "Manufacturing (WMS for Manufacturing)" type: module sources: - areas/manufacturing/index.md - areas/manufacturing/manufacturing_finished_goods/manufacturing_goods.md - areas/manufacturing/ERP.md - areas/manufacturing/parameters.md - areas/manufacturing/TransactionTypes.md related: - concepts/stock.md - concepts/order-inbound.md - concepts/product-item.md - concepts/erp-interface.md - concepts/reception.md last_compiled: "2026-04-26" --- # Manufacturing (WMS for Manufacturing) ## Overview The Manufacturing module integrates Easy WMS with production line management, providing supply chain traceability for manufacturing environments. It manages the supply of raw materials to production lines, tracks raw material consumption, and registers finished goods back into WMS stock. The module supports ERP communications for recipe and production order management, and optionally integrates with MES (Manufacturing Execution Systems). ## Key capabilities - Recipe management: ERP-driven creation/modification/deletion of production recipes (manufacturing and quartering types) - Manufacturing orders: ERP-driven creation and management of production orders - Raw material supply: tracking of stock consumed by production lines - Finished goods registration: counting and recording of produced items into WMS stock - Quartering recipes: one raw material → multiple finished goods items - Damaged goods handling: marking produced stock as damaged (raw material consumption still recorded) - Traceability: lot tracking for finished goods when multiple lots of raw materials are consumed - Automatic logistic attribute generation (lot, expiry date, shelf life) for finished goods via manufacturing profile - Label printing at finished goods registration (manual or automatic per order configuration) - MES integration: reports finished goods quantities via FGP message ## Architecture ### Key entities **Recipe**: defines the relationship between raw materials and finished goods. Two types: - **Manufacturing (RCP01/RCP02)**: one or more raw materials → one finished good - **Quartering (RCP02 only)**: one raw material → multiple finished goods (user selects which item to register during production) **Manufacturing order (MOR)**: a specific production run referencing a recipe, a production line, priority, and warehouse. **Production line (production station)**: a physical station in the warehouse where manufacturing takes place. Each production station is associated with: - **Supply buffer** (poumon d'approvisionnement): the zone where raw materials must be brought before production can start. Raw materials are supplied here via automatic supply tasks when the MO is released. - **Production buffer** (poumon de production): the zone where finished goods are created and placed after declaration. - Only **one manufacturing order can be active at a time** per production station. **Raw materials (MP)**: articles consumed at production start. Each recipe defines the MP required and quantities per finished goods unit. **Finished goods (PF)**: articles created by the manufacturing process. One recipe produces one finished good type (except quartering recipes which produce multiple). **Additives**: raw materials included in the recipe but whose provisioning is NOT managed at MO release time. They are consumed when finished goods are declared (automatic consumption mode only). Examples: water, salt. Their presence is tracked but not provisioned via supply tasks. **Finished goods**: container of produced items whose quantity is based on the item's container conversion (full container quantity). Any remainder goes into a partial container. ### ERP messages | Message | Direction | Description | |---------|-----------|-------------| | `RCP01` | ERP → WMS | Manage manufacturing recipes (create/update/delete) | | `RCP02` | ERP → WMS | Manage manufacturing and quartering recipes | | `MOR01` | ERP → WMS | Manage production orders (create/update/delete) | | `MOF` | WMS → ERP | Notify finished goods registration (or marking as damaged) | | `FGP` | WMS → MES | Report quantity of finished goods produced from an order | ### Transactions | Transaction | Trigger | |-------------|---------| | `STK.MAN.PRODUCTION` | Recorded for each stock line produced | | `MAN.FM.DAMAGE` | Recorded for each stock line marked as damaged | ## Configuration ### Prerequisites - Production stations configured in EasyS/EasyAssistant with supply buffer + production buffer zones - Routes from raw material storage to production stations - Manufacturing profiles configured on finished good items (for automatic lot/expiry generation) - Recipes (RCP) imported from ERP or created manually before releasing MOs ### Consumption mode (per production station) Each production station is configured with either **automatic** or **manual** consumption: | Mode | Behavior | |------|----------| | **Automatic** | Raw materials are consumed automatically each time finished goods are declared, based on recipe ratios. If supply buffer has insufficient stock, the system consumes what is available (no blocking). Additives are consumed in this mode. | | **Manual** | Operator declares each raw material consumed (article + quantity) on the TRF. Can declare a different quantity than the recipe (useful for actual vs. theoretical discrepancy). Additives cannot be declared manually. | Both modes can coexist in the same warehouse for different stations. **Automatic consumption - FEFO**: when multiple containers of the same raw material are on the supply buffer, the first to expire is consumed first. **Manual consumption TRF process**: 1. Go to `Consumption` sub-menu 2. Select or scan the MO 3. Scan each raw material article code + enter quantity consumed (or scan container code to consume all) 4. Exit menu - raw materials consumed; MO progress updated ### Manufacturing profile (on items) Items configured with a manufacturing profile can automatically generate logistic attributes at finished goods registration: - **Lot generation process**: defines the logic for auto-generating lot numbers on PF creation - **Days before expiry**: WMS calculates expiry date = production date + this number of days - **Days before DLUO** (best-before): WMS calculates DLUO = production date + this number of days ### Key parameter | Parameter | Description | |-----------|-------------| | `MANUFACTURING_MANAGE_DISCREPANCY_IN_STOCK_CONSUMPTION` | When True: if insufficient stock available at finished goods creation, system selects from all available stock and marks with `NegativeStock` user status (blocks picking/shipping). Status auto-created if not found. | ## Operations ### Manufacturing order lifecycle ``` ERP sends MOR01 (or manager creates manually) → MO status: Pending → Manager releases MO (manual action on SmartUI) → MO status: Released → WMS auto-generates supply tasks for all raw materials (to supply buffer) → Operator supplies raw materials to production station buffer → Operator declares PF production (TRF: Finished Goods sub-menu) → [Automatic consumption]: WMS auto-consumes MPs proportionally → [Manual consumption]: Operator declares each MP consumed (TRF: Consumption sub-menu) → Operator closes MO (TRF: MO Closing sub-menu, or SmartUI) → MOF sent to ERP ``` > **Warning**: No automatic MO creation on stock shortage. If PF stock is insufficient, someone must manually request an MO or the ERP must send one. ### Finished goods declaration (TRF - Manufacturing menu) 1. Access "Finished Goods" sub-menu on TRF 2. Select or scan the MO code (or select from list of Released/InProgress orders) 3. For quartering recipes: select which item is being produced 4. Enter quantity of PF per container 5. For each container: scan container code (pre-printed labels can be used) 6. System creates PF stock in production buffer; MO progress updated in real time 7. In automatic consumption mode: MPs consumed proportionally at this step 8. Optional: print container label (manually via "Label" button, or automatically if order configured) ### Damaged finished goods If PF declared as damaged: - PF articles are **not created** in WMS stock - MO produced quantity is still updated (counts toward total declared) - In automatic consumption mode: MPs are still consumed normally - Damage information is visible in SmartUI for reporting ### Rebuts (scrap) at MO closing During MO closing, the operator can declare that certain MPs were **rebuts** (defective/damaged): - Rebuts count as consumed (stock decremented) - MO closing tracks which MPs were actual consumption vs. rebuts - Visible in SmartUI post-closing for analysis ### MO closing (TRF) 1. Access "MO Closing" sub-menu 2. Scan or select the MO 3. Confirm actual quantities: MP consumed per line + actual PF quantity produced 4. If actual MP < declared: system restores excess MPs to supply buffer 5. If actual MP > declared or actual PF < declared: no automatic correction (visible in SmartUI) 6. Operator cannot declare more PF than already declared (must use PF declaration first) 7. MO closes → MOF sent to ERP ### Raw material consumption (manual mode only) 1. Go to `Consumption` sub-menu 2. Select or scan the MO 3. Scan each raw material code; enter consumed quantity 4. Or scan a container code to consume all stock in that container 5. Exit sub-menu - MPs consumed; MO progress updated ### Traceability When finished goods use raw materials from **multiple lots or containers**, EasyWMS records all potential source lots. In case of a quality issue on a raw material lot, all potentially affected PF can be identified. Traceability links MP lot → PF lot. ### Recipe management - New recipes created via RCP01/RCP02 are automatically enabled - Recipe changes and deletions only possible when no active manufacturing order references the recipe - Recipes can also be created manually in SmartUI (Masters → Manufacturing) ## Errors & troubleshooting | Issue | Cause | Resolution | |-------|-------|-----------| | `NegativeStock` status on finished goods | Insufficient raw material stock at time of production; `MANUFACTURING_MANAGE_DISCREPANCY_IN_STOCK_CONSUMPTION` = True | Verify raw material stock; the NegativeStock status blocks picking/shipping until resolved | | Cannot modify/delete recipe | Active manufacturing order references the recipe | Complete or cancel the manufacturing order first | | MOF message not sent | Communication error with ERP | Check ERP interface configuration; resend manually | ## Related - [[stock]] - Finished goods registration creates stock; raw material consumption decreases stock - [[product-item]] - Items with manufacturing profiles control automatic logistic attribute generation - [[order-inbound]] - Raw material receipts replenish production input stock - [[erp-interface]] - RCP, MOR, MOF, FGP messages are the ERP integration layer for manufacturing - [[reception]] - Raw materials typically enter via standard reception before being supplied to production lines