Skip to main content

system.kanoa.lot.getLotStateReasons

Description

Retrieves lot state reasons filtered by the provided parameters.

Syntax

getLotStateReasons(paramsDict)

Parameters:
  • paramsDict (dict)

  • Returns:
  • pyDataset - Lot state reasons dataset
  • Dictionary

    ParameterTypeRequiredNotes
    lotStateReasonIdint
    lotStateReasonNamestring
    enabledbool

    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