system.kanoa.lot.getLotQty
Description
Returns lots and their respective quantitiesSyntax
getLotQty(paramsDict)- paramsDict (dict)
- - hasQty (bool)
- - assetId (int)
- - assetPath (string)
- - lotId (int)
- - lotName (string)
- - itemId (int)
- - itemPath (string)
- - itemSourceId (int)
- - itemSourceName (string)
- - enabled (bool)
- - lotStateId (int)
- - lotStateName (string)
- - lotStateReasonId (int)
- - lotStateReasonName (string)
- - lotOperationId (int)
- - lotOperationName (string)
- - startDate (datetime)
- - endDate (datetime)
- pyDataset - Lot dataset.
Code Examples
# Example usage
>paramsDict = {'lotId': 1, 'assetId': 1}
>lotData = system.kanoa.lot.getLotQty(paramsDict)
>print(lotData) # Print the retrieved lot quantity