Skip to main content

system.kanoa.lot.getLotsForLotOperationEvent

This function is part of the kanoaOPS module

Description

Returns lots along with their lotOperationEvents filtered by the given parameters

Syntax

getLotsForLotOperationEvent(paramsDict)
  • Parameters
      paramsDict (dict)
      - lotOperationEventId (int)
      - lotId (int)
      - lotName (string)
      - itemId (int)
      - itemPath (string)
      - enabled (int)
      - lotOperationId (int)
      - lotOperationName (string)
      - assetId (int)
      - assetPath (string)
      - itemSourceId (int)
      - itemSourceName (string)
      - startDate (datetime)
      - endDate (datetime)
  • Returns
      pyDataset - Lot Operation events dataset.
  • Code Examples

    # Example usage
    >paramsDict = {'lotId': 1, 'assetId': 1}
    >lotOperationEvents = system.kanoa.lot.getLotsForLotOperationEvent(paramsDict)
    >print(lotOperationEvents)