system.kanoa.lot.getLotStateReasons
Description
Retrieves lot state reasons filtered by the provided parameters.Syntax
getLotStateReasons(paramsDict)- Dictionary paramsDict - Parameters for filtering lot state reasons. Valid keys include lotStateReasonId, lotStateReasonName, and enabled.
- pyDataset - Lot state reasons dataset
Code Examples
# Example usage
paramsDict = {'lotStateReasonId': 4, 'lotStateReasonName': 'Color', 'enabled': True}
lotStateReasons = system.kanoa.lot.getLotStateReasons(paramsDict)
print(lotStateReasons) # Print the retrieved lot state reasons