system.kanoa.order.addProductionOrderMetaData
Description
Adds a production order meta data value (kanoaOPS).Syntax
addProductionOrderMetaData(workOrderMetaInfo, userId)- workOrderMetaInfo: string - i.e., {'workOrderId': 45, 'metaDataName' : 'apiBody', 'metaDataValue': some value}
- userId: int
- workOrderMetaDataId - int
Code Example
# Example Usage:
workOrderMetaInfo = {'workOrderId': 45, 'metaDataName' : 'apiBody', 'metaDataValue': 'some value'}
userId = 123
workOrderMetaDataId = system.kanoa.order.addProductionOrderMetaData(workOrderMetaInfo, userId)