system.kanoa.lot.updateLotOperationEvent
Description
Adds a new lot event.Syntax
updateLotOperationEvent(lotOperationEventInfo, userId)- lotOperationEventInfo (dict)
- - lotOperationEventId (int)
- - lotOperationId (int)
- - assetId (int)
- - tStamp (datetime)
- - enabled (bool)
- int userId - User ID
- retVal (int): # of records modified
- msg (string): None if successful
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)