Skip to main content

manufacturingOrdersStepBack

Reverts a manufacturing order to its previous status.

Business Rules​

  • Reverting to Draft releases the component hold.
  • Undo completion reverses a completed order.
  • An In Production order with a completed line cannot revert until the line is undone.
  • Both manufacturing and supply chain entitlements are required.

Error Scenarios​

  • “Manufacturing orders are not enabled for this company”
  • “Use Undo completion to reverse what completion moved.”
  • “Undo the completed lines before reverting this manufacturing order.”
  • “This manufacturing order is now In Production. Reload it and try again.”
  • “The last undo of SKU did not finish. Undo it again to finish it.”

Permissions Required​

  • manufacturing:change_order_status
manufacturingOrdersStepBack(
input: ManufacturingOrdersStepBackInput!
): ManufacturingOrder!

Arguments​

manufacturingOrdersStepBack.input ● ManufacturingOrdersStepBackInput! non-null input common​

Parameters for ManufacturingOrdersStepBack

Type​

ManufacturingOrder object manufacturing​

An order to make finished products at a building.