system.kanoa.lot.getLotQty
Description
Retrieves the total quantity of a lot filtered by the provided parameters.Syntax
getLotQty(paramsDict)- Dictionary paramsDict - Parameters for filtering lot quantity. Valid keys include lotEventId, lotId, lotName, assetId, lotStateId, lotStateName, shiftId, itemId, workOrderId, and workOrderName.
- pyDataset - Total quantity of the lot.
Code Examples
# Example usage
paramsDict = {'lotId': 1, 'assetId': 1}
lotQty = system.kanoa.lot.getLotQty(paramsDict)
print(lotQty) # Print the retrieved lot quantity