system.kanoa.lot.updateLotEvent(lotEventInfo, userId)
Updates a lot event
Parameters
lotEventInfo Dictionary: All keys are required unless stated
| - assetId | Integer | |
| - assetTransportId | Integer | Not required | 
| - comment | String | Not required | 
| - itemSourceId | Integer | |
| - lotEventId | Integer | |
| - lotEventQty | Float | |
| - lotId | Integer | |
| - lotOperationEventId | Integer | |
| - lotStateId | Integer | |
| - lotStateReasonId | Integer | Not required | 
| - shiftId | Integer | Not required | 
| - tStamp | DateTime | |
| - workOrderId | Integer | Not required | 
userId Integer
Returns
# of records modified Integer
message String None if success
Example
lotEventInfo = {
                    'lotEventId': 76,
                    'lotId': 1,
                    'lotEventQty': 100,
                    'workOrderId': 56,
                    'assetId':1,
                    'itemSourceId': 2,
                    'lotStateId': 7,
                    'lotStateReasonId': 78,
                    'shiftId': 4,
                    'tStamp': system.date.now(),
                    'comment':None,
                    'lotOperationEventId': 67,
                    'assetTransportId': None,
                }
userId = 123
numRecordsModified, msg = system.kanoa.lot.updateLotEvent(lotEventInfo, userId)
print numRecordsModified, msg
>>> 1, None