# system.kanoa.lot.updateLotStateReasonField(lotStateReasonId, field, value, userId)

Updates the passed field value for the given lotStateReasonId. If the field is enabled, we will update the assetLink Table

---
### Parameters
**lotStateReasonId** `Integer`<br />
**field** `String`: Name of column<br />
**value** `pyObject`: Datatype of referenced field<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
lotStateReasonId = 1
field = 'enabled'
value = True
userId = 5
retVal, msg = system.kanoa.lot.updateLotStateReasonField(lotStateReasonId, field, value, userId)
print retVal, msg
```
