# system.kanoa.lot.updateLotAttribute(lotAttributeInfo, userId)

Updates a lot attribute

---
### Parameters
**lotAttributeInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - lotAttributeId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - lotAttributeName</td><td>String</td><td></td></tr>	
 	<tr><td> - lotAttributeValue</td><td>String</td><td></td></tr>	
 	<tr><td> - lotId</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
userId = system.kanoa.security.getIDPUserId({'userName': 'SYSTEM'})
lotAttributeInfo = {
	'lotAttributeId': 1,
	'lotId': 241,
	'lotAttributeName': 'testWeight',
	'lotAttributeValue': 102
}
retVal, msg = system.kanoa.lot.updateLotAttribute(lotAttributeInfo, userId)
```
