system.kanoa.order.getProductionOrders
Description
Returns production orders linked to assets for given parameters (kanoaCore).Syntax
getProductionOrders(paramsDict)- paramsDict (dict) - Parameters to filter production orders.
- - assetPath (string)
- - assetId (int)
- - assetIdList (list[int])
- - itemSourceId (int)
- - itemName (string)
- - itemPath (string)
- - itemIdList (list[int])
- - itemClassName (string)
- - itemClassId (int)
- - itemClassIdList (list[int])
- - workOrderName (string)
- - workOrderId (int)
- - workOrderStatusList (list[string]): i.e. ['Released']
- - workOrderStatusName (string): i.e.'In Progress'
- - startDate (datetime)
- - endDate (datetime)
- - ignoreActualQty (bool): When false, all production against an order will be checked to add an 'actualQty' produced against an order. This is slower.
- Basic Dataset.
Code Example
# Example Usage:
> productionOrders = system.kanoa.order.getProductionOrders({'workOrderName': 'WO-0001'})