system.kanoa.lot.getLotsForLotOperationEvent(paramsDict)
Returns lots along with their lotOperationEvents filtered by the given parameters
Parameters
paramsDict Dictionary
| - assetId | Integer | |
| - assetPath | String | |
| - enabled | Boolean | |
| - endDate | DateTime | End date of the lotEvent |
| - itemId | Integer | |
| - itemPath | String | |
| - itemSourceId | Integer | |
| - itemSourceName | String | |
| - lotId | Integer | |
| - lotName | String | |
| - lotOperationEventId | Integer | |
| - lotOperationId | Integer | |
| - lotOperationName | String | |
| - startDate | DateTime | Start date of the lotEvent |
Returns
lotOperationEvent pyDataset
Example
paramsDict = {'lotOperationName': 'Scrap', 'assetId': 1}
lotOperationEvents = system.kanoa.lot.getLotsForLotOperationEvent(paramsDict)