Manufacturing
Use these flows when you produce goods rather than only resell them. A work order issues raw materials from Inventory, reports output and receives finished goods into stock — then Order-to-Cash can ship them.
Apps: Manufacturing · Inventory · Quality · Procurement · Sales · Accounting
Setup: Manufacturing setup guide · Approval templates: Workflow templates (Work Order Approval, Engineering Change Approval)
Every switch lives under Settings → ERP features → Manufacturing and is OFF by default. Turn them on in order: account mapping → role-based warehouses → multi_level_bom → partial_execution → finite_scheduling / mrp → subcontracting → shop-floor layer (routings → bom_revisions → eco…) → production_costing last. XBuddy is a light MES: all shop-floor figures come from documents people record — no automatic machine data capture.
Common preparation
| Item | Details |
|---|---|
| Account mapping (step 0) | Keys manufacturing.material / .labor / .overhead / .labor_accrual / .wip / .finished_goods / .variance. TT200/TT99: 621 / 622 / 627 / 335 / 154 / 155 / 632. TT133: material, labor and overhead post straight to 154. A missing key marks the document as failed to post — it never silently falls back to 632. |
| Role-based warehouses | raw_material, wip, finished_goods, scrap, transit (subcontractor warehouse). Warehouse choice order: work order → work center → BOM → default by item type. |
| Suggested roles | manufacturing_operator (issue, report), production_planner (MPS/MRP, draft orders, scheduling), manufacturing_manager (administration, over-consumption approval), cost_accountant (period costing — does not hold execute permission). |
1. Make-to-stock (MTS)
The base flow: BOM → Work Order → material issue → output report → finished-goods receipt.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Build BOM, roll up standard cost | Manufacturing engineer | BOM | Manufacturing | — | — |
| Create order | Production planner | Work Order (draft) | Manufacturing | — | — |
| Release order | Manufacturing manager | Work Order (released) | Manufacturing | Work Order Approval (optional) | — |
| Issue materials (multiple batches) | Storekeeper / operator | Goods Issue | Inventory | Over-consumption ⇒ issue awaits approval | Dr 154 (via 621 under TT200/TT99) / Cr 152 |
| Report output | Operator | Production report | Manufacturing | Operation QC | — |
| Receive finished goods | Storekeeper | Finished-goods receipt | Inventory | — | Dr 155 / Cr 154 |
| Defect / scrap | QC | NCR, rework order | Quality | — | — |
Switches: multi_level_bom, partial_execution (multi-batch issue, material returns, output reports, semi-finished child orders). Optional: finite_scheduling, shop_floor, genealogy.
See also: BOM · Work orders and material consumption · Work order lifecycle & release approval · Operation quality checks
2. Make-to-order (MTO)
Orders are created from Sales Order lines; the system only allows the remaining quantity of a line and reserves the output for that order.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Confirm order | Sales | Sales Order | Sales | Per SO approval flow | — |
| Create order from SO line | Production planner | Work Order | Manufacturing | Work Order Approval (optional) | — |
| Produce | Operator / storekeeper | Goods Issue, report, FG receipt | Manufacturing · Inventory | — | 154 → 155 as in MTS |
| Ship and invoice | Warehouse / Accounting | Delivery Order, Invoice | Sales | — | COGS, revenue |
Switch: partial_execution.
3. MRP → draft work orders and requisitions
MRP never creates documents on its own. The planner picks suggestions to convert into a draft Work Order or draft Purchase Requisition, or skips them.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Set stock policy, lead time, lot size | Production planner | Item | Inventory · Manufacturing | — | — |
| Build MPS, run MRP | Production planner | Production plan | Manufacturing | — | — |
| Convert suggestions | Production planner | Draft WO / draft PR | Manufacturing · Procurement | PR approval per purchasing flow | — |
Switch: mrp (multi-level explosion when multi_level_bom is on). See also: Material shortages · Production schedule · Procure-to-Pay
4. Subcontracting
A routing operation can be outsourced: a service PO linked to the work order, materials transferred to the partner’s transit warehouse, and a subcontract receipt that consumes materials at the partner and receives the output in one step.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Order subcontracting | Purchasing | Service PO | Procurement | PO approval | — |
| Send materials | Storekeeper | Transfer to transit | Inventory | — | — (location change only) |
| Receive subcontracted goods | Storekeeper | Subcontract receipt | Manufacturing | — | Consume materials at partner, receive output |
| Record processing bill | Accounting | Vendor bill | Accounting | Per AP flow | Dr 154 of the order |
Switch: subcontracting (requires partial_execution); the routing needs a subcontract operation, a vendor, a purchasable service and a transit warehouse.
5. Engineering change (ECO)
Released routings and BOM/routing revisions are immutable. Changes go through an approved ECO before a new revision is released.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Propose change | Manufacturing engineer | ECO | Manufacturing | — | — |
| Review and approve | Engineer → Manufacturing manager (→ Operations head if open orders are affected) | ECO | Manufacturing · Approvals | Engineering Change Approval (engineering_change) | — |
| Apply | Manufacturing manager | BOM/routing revision | Manufacturing | — | — |
Switches: routings → bom_revisions → eco. With ECO on, every ECO must be approved: an active workflow or a holder of the engineering permission is required.
6. Period costing and the ledger (154/155)
Monthly cost per order: materials from the stock ledger, labor (reported hours or the closed payroll period), overhead from the ledger of the factory cost center, ending WIP, transfer out of 154 and adjustment of the finished-goods receipt cost.
| Step | Role | Document | App | Approval gate | Journal |
|---|---|---|---|---|---|
| Collect period costs | Cost accountant | Costing period | Manufacturing | — | Transfer 621/622/627 → 154 (TT200/TT99) |
| Compute WIP, adjust FG cost | Cost accountant | Costing period | Manufacturing | — | Adjust 155 / 154; variance to 632 |
| Close / reopen period | Cost accountant | Costing period | Manufacturing | Reopening needs manufacturing:costing | — |
Switch: production_costing — enable last, once the account keys are complete and at least one period of manufacturing documents is posted. Off ⇒ no Costing page; the 154 balance of a completed order is settled to variance.
See also: Costing & production reports · Work centers
Cross-app hand-offs
| From | To | When |
|---|---|---|
| Sales Order (MTO) | Work Order | Order created from SO line |
| MRP | Draft Work Order / draft PR | Planner converts a suggestion |
| Material issue | Inventory + 154 entry | Consumption |
| Output report | FG stock + 155 entry | Output received |
| Defective output / QC fail | NCR | Scrap or rejection |
| Subcontract operation | Service PO, transfer to transit | Outsourced work |
