system.kanoa.lot.addLotAttribute(lotAttributeInfo, userId)
Adds a lot attribute
Parameters
lotAttributeInfo Dictionary
| - lotAttributeName | String | |
| - lotAttributeValue | String | |
| - lotId | Integer | 
userId Integer
Returns
lotAttributeId Integer
message String None if success
Example
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
lotAttributeInfo = {
                        'lotId': 45,
                        'lotAttributeName': 'testWeight',
                        'lotAttributeValue': 100
                    }
    
lotAttributeId, msg = system.kanoa.lot.addLotAttribute(lotAttributeInfo, userId)