Skip to main content

system.kanoa.lot.getLotStateReasons

This function is part of the kanoaOPS module

Description

Retrieves lot state reasons filtered by the provided parameters.

Syntax

getLotStateReasons(paramsDict)
  • Parameters
      Dictionary paramsDict - Parameters for filtering lot state reasons. Valid keys include lotStateReasonId, lotStateReasonName, and enabled.
  • Returns
      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