Manage work centers and material planning
The Manufacturing hub requires view:manufacturing. With no BOM it offers the first-BOM workflow; otherwise counters link to BOMs, work centers and orders. Counters are navigation indicators, not capacity or stock guarantees. The link labelled new production order opens the order list first. Module entitlement and each destination’s permission still apply.
Work centers
The work-center screen needs manage:work_centers and its reads use view:manufacturing. Search the returned list, up to 100 rows without further page controls. Create/Edit opens code (required, max 100), name (required, max 500), description, positive capacity (UI step 0.1), nonnegative hourly cost and active switch.
The code must be unique. Changes, including active, are drafts until Save; Cancel dismisses them. Reopen to check. Capacity is a stored input, not proof of finite-capacity scheduling or a booking. Hourly rate influences operation costing. Delete asks confirmation and is refused while planned/confirmed/in-progress orders use the center. There is no restore control.
Requirements tab
Planning requires view:mrp_planning. Enter horizon 1–365 days and press Apply; changing the number alone does not apply it. Refresh reads again. The default is 30 days. Review product, unit, remaining required quantity, available stock, shortfall, needed date and linked production order; the table paginates the returned rows, initially 20.
This view uses planned/confirmed/in-progress production orders due within the horizon or without a planned end. Each requirement compares that order’s remaining material quantity with the same total stock across warehouses. Stock is not progressively allocated across competing rows and reserved/inbound quantities are not netted here. Two rows each shown sufficient do not prove both can consume simultaneously. It does not create purchases or reserve stock. Use the plan tab for a different, persisted net calculation.
Generate a plan
On Plan, choose its separate horizon 1–365 (default 30), then Generate. This is an immediate write requiring create:production_orders; it persists a new latest plan, not just a table refresh. Review the actual horizon and make/buy/firmed counters. Demand comes from open sales orders due by the horizon or without due date, excluding draft/cancelled/completed/deleted. Manufactured output with a default BOM can add exploded leaf needs. Netting considers on-hand plus open production remaining minus reserved stock. Open purchase-order inbound and multi-level make planning are not included.
Only positive net needs appear. For make with a suggested BOM, Firm immediately creates and links a planned order; then open that link. This is not confirmation, starting or completing production. The current firm path creates an order directly and does not populate the normal create flow’s materials. Verify the linked order’s materials and quantity with the production manager before progressing; do not assume a runnable order. Buy lines show a manual-purchase hint and do not create purchase orders.
Generate can leave a persisted partial plan if processing fails after creation. Firm can create an order before linking it to the plan fails; inspect the order list for its MRP reference before retrying, rather than treating every failed response as no write. A linked item is reused on a later firm call, but concurrent/partially failed requests are not a universal no-duplicate guarantee. The latest-plan view does not expose history selection, edit/delete, undo or automatic demand acceptance. Switching tabs unmounts their controls; recheck unsaved settings. Retry read errors separately from writes.