system.kanoa.lot.updateLotAttribute(lotAttributeInfo, userId)
Updates a lot attribute
Parameters
lotAttributeInfo Dictionary
| - lotAttributeId | Integer | |
| - lotAttributeName | String | |
| - lotAttributeValue | String | |
| - lotId | Integer |
userId Integer
Returns
# of records modified Integer
message String None if success
Example
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
lotAttributeInfo = {
'lotAttributeId': 1,
'lotId': 241,
'lotAttributeName': 'testWeight',
'lotAttributeValue': 102
}
retVal, msg = system.kanoa.lot.updateLotAttribute(lotAttributeInfo, userId)