system.kanoa.event.updateModeEvent(field, value, modeSourceId, userId)
Updates any of the mode event table fields such as modeCode, workOrderId, or itemId fields
Parameters
field String: i.e. 'modeCode', 'workOrderId', 'itemId', 'tStamp', 'comment'
value pyObject: datatype of the field (column)
modeSourceId Integer
userId Integer
Returns
# of records modified Integer
message String None if success
Example
modeSourceId = 1
userId = 5
modeEventId = 123
recordsModified, msg = system.kanoa.event.updateModeEvent('modeCode', 4, modeSourceId, userId, modeEventId)