Skip to main content

system.kanoa.event.updateLot(lotInfo, userId)

Updates a lot


Parameters

lotInfo Dictionary

- itemIdInteger
- itemUnitIdInteger
- lotIdInteger
- lotNameString

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