system.kanoa.order.updateProductionOrder
Description
Updates a work order.Syntax
updateProductionOrder(woInfo, userId)- woInfo (dict)
- - 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.
- # of records modified (int)
Code Examples
recordsModified = system.kanoa.order.updateProductionOrder({'workOrderId': 1, 'workOrderName': 'WO-0001', ...}, 123)