Skip to main content

system.kanoa.lot.getLotStates

Description

Retrieves lot states filtered by the provided parameters.

Syntax

getLotStates(paramsDict)

Parameters:
  • paramsDict (dict)

  • Returns:
  • pyDataset - Lot states dataset
  • Dictionary

    ParameterTypeRequiredNotes
    lotStateIdint
    lotStateNamestring
    enabledbool

    Code Examples

    # Example usage
    paramsDict = {'lotStateId': 4, 'enabled': True}
    lotStates = system.kanoa.lot.getLotStates(paramsDict)
    print(lotStates) # Print the retrieved lot states