system.kanoa.order.updateProductionOrderField
Description
Updates a work order field (kanoaOPS).Syntax
updateProductionOrderField(workOrderId, field, value, userId)- workOrderId (Integer) - Work order ID.
- field (String) - Column name.
- value (pyObject) - New value.
- userId (Integer) - User ID.
- Number of records modified (Integer).
Code Example
# Example Usage:
recordsModified = system.kanoa.order.updateProductionOrderField(1, 'reqdQty', 15000.0, 123)