Re-opens a work order. | Uses
your API Key to ReOpen a closed order specified by the WorkOrderId, only if the WorkOrder is closed.
Optionally, you can use mvInsertUpdateDeleteSourceApplication
A. ReOpen a fully closed Work Order with Id 21728.
Value: {
"WorkOrderId": 21728
}
Response: {
"mvWorkOrder": {
"WorkOrderId": 21728,
"WorkOrderTypeId": -8,
"WorkOrderFinishedGoodTypeId": -9,
"WorkOrderTypeAbbreviation": "PROD-O",
"WorkOrderTypeDescription": "Production Order",
"WorkOrderNo": "2",
"WorkOrderFinishedGoodSKU": "Cappuccino",
"WorkOrderStartDate": "/Date(1685307600000-0000)/",
"WorkOrderDueDate": "/Date(1690540391000-0000)/",
"WorkOrderPriority": "High",
"WorkOrderCurrencyCode": "EUR",
"WorkOrderInventoryLocationID": 1011,
"WorkOrderComments": "Need to get this done as soon and as efficiently as possible",
"WorkOrderTags": "",
"WorkOrderReferenceNo": "",
"WorkOrderReferenceApplication": "",
"TopLevelWorkOrderId": 0,
"WorkOrderOrderedQuantity": 1,
"WorkOrderReceivedQuantity": 1,
"WorkOrderTotalMaterialCost": 0,
"WorkOrderTotalLabourCost": 0,
"WorkOrderTotalOverheadCost": 0,
"WorkOrderFinishedGoodUnitCost": 0,
"WorkOrderDetails": [
{
"WorkOrderBOMRowProductSKU": "Milk",
"WorkOrderBOMRowProductDescription": "Coffee Ingredient",
"WorkOrderBOMRowProductVariant": "",
"WorkOrderBOMRowOrderedQuantity": 1,
"WorkOrderBOMRowTotalAllocatedQuantity": 0,
"WorkOrderBOMRowProductQuantityUnit": "",
"WorkOrderBOMRowRemarks": "",
"WorkOrderRowAllocatedDetails": [
{
"WorkOrderBOMRowAllocatedQuantity": 1,
"WorkOrderBOMRowAllocatedDateTime": "/Date(1685608778700-0000)/",
"WorkOrderBOMRowAllocatedDateTimeFormatted": ""
}
]
},
{
"WorkOrderBOMRowProductSKU": "Coffee",
"WorkOrderBOMRowProductDescription": "Coffee Ingredient",
"WorkOrderBOMRowProductVariant": "",
"WorkOrderBOMRowOrderedQuantity": 2,
"WorkOrderBOMRowTotalAllocatedQuantity": 0,
"WorkOrderBOMRowProductQuantityUnit": "",
"WorkOrderBOMRowRemarks": "",
"WorkOrderRowAllocatedDetails": [
{
"WorkOrderBOMRowAllocatedQuantity": 2,
"WorkOrderBOMRowAllocatedDateTime": "/Date(1685608778710-0000)/",
"WorkOrderBOMRowAllocatedDateTimeFormatted": ""
}
]
},
{
"WorkOrderBOMRowProductSKU": "Sugar",
"WorkOrderBOMRowProductDescription": "Coffee Ingredient",
"WorkOrderBOMRowProductVariant": "",
"WorkOrderBOMRowOrderedQuantity": 3,
"WorkOrderBOMRowTotalAllocatedQuantity": 0,
"WorkOrderBOMRowProductQuantityUnit": "",
"WorkOrderBOMRowRemarks": "",
"WorkOrderRowAllocatedDetails": [
{
"WorkOrderBOMRowAllocatedQuantity": 3,
"WorkOrderBOMRowAllocatedDateTime": "/Date(1685608778717-0000)/",
"WorkOrderBOMRowAllocatedDateTimeFormatted": ""
}
]
}
],
"WorkOrderStatus": "Completed",
"WorkOrderCreationDate": "/Date(1685358076743-0000)/",
"WorkOrderLastUpdatedDate": "/Date(1685609509836+0300)/"
},
"ResponseStatus": {
"ErrorCode": "0"
},
"entityID": 21728
}
|