system.kanoa.order.addProductionOrder
Description
Adds a work order (kanoaOPS).Syntax
addProductionOrder(woInfo, userId)- woInfo (Dictionary) - Work order information (e.g., {'workOrderName': 'WO-0001', 'modeId': 1, ...}).
- userId (Integer) - User ID.
- Work Order ID (Integer).
Code Example
# Example Usage:
workOrderId = system.kanoa.order.addProductionOrder({'workOrderName': 'WO-0001', 'modeId': 1, 'itemId': 47, ...}, 123)