Skip to main content

system.kanoa.lot.getLotEvents

This function is part of the kanoaOPS module

Description

Retrieves lot events filtered by the provided parameters. Input parameters are inclusive, e.g. an end date is 1/1 at 12:00PM will be included in the results.

Syntax

getLotEvents(paramsDict)
  • Parameters
      Dictionary paramsDict - Parameters for filtering lot events. Valid keys include lotEventId, lotId, lotName, assetId, lotStateId, lotStateName, lotStateReasonId, shiftId, itemId, counterId, counterTypeId, workOrderId, workOrderName, startDate, and endDate.
  • Returns
      pyDataset - Lot events dataset.
  • Code Examples

    # Example usage
    paramsDict = {'lotId': 1, 'assetId': 1}
    lotEvents = system.kanoa.lot.getLotEvents(paramsDict)
    print(lotEvents) # Print the retrieved lot events