system.kanoa.order.updateProductionOrderMetaData
Description
Update a production order meta data (kanoaOPS).Syntax
updateProductionOrderMetaData(workOrderMetaInfo, userId)- workOrderMetaInfo: string - i.e., {'workorderMetaDataId': 34, 'workOrderId': 45, 'metaDataName' : 'apiBody', 'metaDataValue': some value}
- userId: int
- # of records modified - int
Code Example
# Example Usage:
workOrderMetaInfo = {'workorderMetaDataId': 34, 'workOrderId': 45, 'metaDataName' : 'apiBody', 'metaDataValue': 'some value'}
userId = 123
num_records = system.kanoa.order.updateProductionOrderMetaData(workOrderMetaInfo, userId)