Skip to main content

system.kanoa.lot.getLotOperationEvent

This function is part of the kanoaOPS module

Description

Returns lot operation events filtered by the given parameters

Syntax

getLotOperationEvent(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)
      - lotStateId (int): of the lotEvent
      - lotStateName (string): of the lotEvent
      - lotStateReasonId (int): of the lotEvent
      - lotStateReasonName (string): of the lotEvent
      - startDate (datetime)
      - endDate (datetime)
  • Returns
      pyDataset - Lot Operation events dataset.
  • Code Examples

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