system.kanoa.order.updateProductionOrder
Description
Updates a work order.Syntax
updateProductionOrder(woInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
workOrderId | int | ||
workOrderName | string | ||
modeId | int | ||
itemId | int | ||
itemUnitId | int | ||
assetId | int | ||
workOrderSourceId | int | ||
reqdQty | float | ||
dueDate | datetime | ||
workOrderStatusId | int | ||
note | string | ||
updateClients | bool | If true or missing, client screen will not be notified. |
Code Examples
recordsModified = system.kanoa.order.updateProductionOrder({'workOrderId': 1, 'workOrderName': 'WO-0001', ...}, 123)