Manufacturing Routings
Manufacturing routings define the sequence of steps required to manufacture a product.
Available fields
ManufacturingRoutingStep
| Field | Type | Description |
|---|---|---|
id | Int | Unique identifier. |
manufacturing_routing_id | Int | Parent routing ID. |
label | String | Step name. |
description | String | Optional description. |
scope | ManufacturingRoutingStepScope | Step scope (MO or BATCH). |
step_type | ManufacturingRoutingStepType | Step type. |
is_required | Boolean | Whether this step is required. |
weight | Int | Step order weight. |
Enums
ManufacturingRoutingStepScope
| Value | Description |
|---|---|
MO | Manufacturing order level. |
BATCH | Batch level. |
ManufacturingRoutingStepType
| Value | Description |
|---|---|
NORMAL | Standard step. |
PRODUCTION | Production step. |
SEND_COMPONENTS | Send components step. |
RECEIVE_BATCH | Receive batch step. |
ManufacturingRouting
Returns a single manufacturing routing by id.
query GetManufacturingRouting($id: ID!) {
ManufacturingRouting(id: $id) {
id
label
description
active
created_at
updated_at
steps {
id
label
description
scope
step_type
is_required
weight
}
}
}ManufacturingRoutings
Returns a paginated list of manufacturing routings with sorting and filters.
query ManufacturingRoutings(
$active: Boolean
$orderBy: [QueryManufacturingRoutingsOrderByOrderByClause!]
) {
ManufacturingRoutings(active: $active, orderBy: $orderBy) {
id
label
description
active
created_at
steps {
id
label
scope
step_type
}
}
}