system.kanoa.event.updateLot(lotInfo, userId)
Updates a lot
Parameters
lotInfo Dictionary
| - itemId | Integer | |
| - itemUnitId | Integer | |
| - lotId | Integer | |
| - lotName | String |
userId Integer
Returns
# of records modified Integer
message String None if success
Example
lotInfo = {'lotEventId': 1, 'lotName': 'Lot#2', 'itemId': 68}
userId = 123
retVal, msg = system.kanoa.lot.updateLot(lotInfo, userId)
print retVal, msg