Skip to main content

system.kanoa.order.updateProductionOrderField(workOrderId, field, value, userId)

Update a production order field


Parameters

workOrderId Integer: Id of the order to update
field String: column name. Valid options are workOrderName, modeId, itemId, itemUnitId, assetId, workOrderSourceId, reqdQty, dueDate, workOrderStatusId, note
value pyObject: Value to update to
userId Integer


Returns

# of records modified Integer


Example

retVal = system.kanoa.order.updateProductionOrderField(1, 'reqdQty', 15000.0, 123)