manufacturingOrdersAdvance
Advances a manufacturing order to the next status.
Business Rules
- Draft allocates components; Allocated starts production; Completed closes.
- In Production moves to Completed only through Mark Complete.
- A Draft cannot be allocated without outputs, or while an output’s planned quantity is 0.
- The status last seen must match the current status.
- Both manufacturing and supply chain entitlements are required.
Error Scenarios
- “Manufacturing orders are not enabled for this company”
- “Use Mark Complete once every line is complete.”
- “Add a product to make before allocating.”
- “Set a planned quantity for every product before allocating.”
- “This manufacturing order is now In Production. Reload it and try again.”
- A message names the components short at the building.
- “The last undo of SKU did not finish. Undo it again to finish it.”
Permissions Required
manufacturing:change_order_status
manufacturingOrdersAdvance(
input: ManufacturingOrdersAdvanceInput!
): ManufacturingOrder!
Arguments
manufacturingOrdersAdvance.input ● ManufacturingOrdersAdvanceInput! non-null input common
Parameters for ManufacturingOrdersAdvance
Type
ManufacturingOrder object manufacturing
An order to make finished products at a building.