Mutation
mutation CreateProductionOrder($request: CreateProductionOrderCommandRequestInput!) {
CreateProductionOrder(request: $request) {
id
}
}Variables
{
"request": {
"input": {
"productionItemId": "id",
"billOfMaterialsId": "id",
"lotCount": 1,
"lotSize": "value",
"targetTotalQuantity": "value"
}
}
}Response
{
"data": {
"CreateProductionOrder": {
"id": "id"
}
}
}Mutations
CreateProductionOrder
Creates a new production order.
MUTATION
CreateProductionOrder(request: CreateProductionOrderCommandRequestInput!): CreateProductionOrderCommandResponse!Arguments
request
id
ID!
The ID of the newly created production order.
Mutation
mutation CreateProductionOrder($request: CreateProductionOrderCommandRequestInput!) {
CreateProductionOrder(request: $request) {
id
}
}Variables
{
"request": {
"input": {
"productionItemId": "id",
"billOfMaterialsId": "id",
"lotCount": 1,
"lotSize": "value",
"targetTotalQuantity": "value"
}
}
}Response
{
"data": {
"CreateProductionOrder": {
"id": "id"
}
}
}Was this page helpful?