Skip to main content

system.kanoa.lot.getLotStates

This function is part of the kanoaOPS module

Description

Retrieves lot states filtered by the provided parameters.

Syntax

getLotStates(paramsDict)
  • Parameters
      Dictionary paramsDict - Parameters for filtering lot states. Valid keys include lotStateId, lotStateName, and enabled.
  • Returns
      pyDataset - Lot states dataset
  • Code Examples

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