Skip to main content

system.kanoa.lot.updateLotField(lotId, field, value, userId)

Updates the passed field value for the given lotId


Parameters

lotId Integer
field String: Name of column
value pyObject: Datatype of referenced field
userId Integer


Returns

# of records modified Integer
message String None if success


Example

lotId = 1
field = 'enabled'
value = True
userId = 5
retVal, msg = system.kanoa.lot.updateLotField(lotId, field, value, userId)
print retVal, msg