system.kanoa.lot.updateLotOperationEvent
Description
Adds a new lot event.Syntax
updateLotOperationEvent(lotOperationEventInfo, userId)Parameters:
Returns:
Dictionary
Parameter | Type | Required | Notes |
---|---|---|---|
lotOperationEventId | int | ||
lotOperationId | int | ||
assetId | int | ||
tStamp | datetime | ||
enabled | bool |
Code Examples
# Example usage
>lotOperationEventInfo = {'lotOperationEventId;: 6, 'lotOperationId': 1, 'assetId': 18, tStamp': system.date.now(), enabled': True}
>userId = 5
>retVal, msg = system.kanoa.lot.updateLotOperationEvent(lotOperationEventInfo, userId)
>print(retVal)