system.kanoa.lot.getLotEvents
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)- 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.
- 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