OperationOrderSaveInput
Input for creating and updating operation orders. When the operation is a product or subassembly, child operation orders are created as dependencies complete (waterfall pattern).
input OperationOrderSaveInput {
externalOrderId: String
operationId: ID!
orderIndex: Int
selectOptionalOperationIds: [ID!]
reservedSerialNumber: String
secondaryExternalOrderId: String
stationIds: [ID!]
stationLineIds: [ID!]
}
Fields
OperationOrderSaveInput.externalOrderId ● String scalar
External order identifier. Used for idempotent order creation and lookup.
OperationOrderSaveInput.operationId ● ID! non-null scalar
Operation identifier. May be a process or workflow (product/subassembly) ID.
OperationOrderSaveInput.orderIndex ● Int scalar
Order index. Used for ordering multiple instances of a single operation with the same order ID.
OperationOrderSaveInput.selectOptionalOperationIds ● [ID!] list scalar
Optional list of operation IDs to select from optional operations.
OperationOrderSaveInput.reservedSerialNumber ● String scalar
Optional serial number reservation. Stored on the resulting work order and scannable like externalOrderId and secondaryExternalOrderId. No validation is enforced. Does NOT participate in the uniqueness check (operationId, externalOrderId, orderIndex). Echoed back on OperationOrderComplete.
OperationOrderSaveInput.secondaryExternalOrderId ● String scalar
Optional secondary external identifier. Stored alongside externalOrderId, scannable, and echoed back on OperationOrderComplete.
OperationOrderSaveInput.stationIds ● [ID!] list scalar
Optional list of station IDs where this order may be built. Combined with stationLineIds as an OR match. When both stationIds and stationLineIds are empty or omitted, the order is buildable at any station running the operation. IDs are validated for existence at save.
OperationOrderSaveInput.stationLineIds ● [ID!] list scalar
Optional list of station line IDs. The order may be built at any station assigned to a listed line; assignments follow the current visual factory configuration and take effect immediately. Combined with stationIds as an OR match. IDs are validated for existence at save.
Member Of
operationOrderSave mutation