system.kanoa.lot.getLotQty
Description
Returns lots and their respective quantitiesSyntax
getLotQty(paramsDict)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
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 |
Code Examples
# Example usage
>paramsDict = {'lotId': 1, 'assetId': 1}
>lotData = system.kanoa.lot.getLotQty(paramsDict)
>print(lotData) # Print the retrieved lot quantity