# system.kanoa.quality.event.updateChkShtEventFields(chkShtEventId, updates, userId)

Updates one or more fields in a check sheet event.

---
### Parameters
**chkShtEventId** `Integer`: Id of check sheet event to update<br />
**updates** `Dictionary`: In form of `{'fieldName': value}`. Valid fieldName options: chkShtId, assetId, shiftNameId, itemId, chkShtTriggerId, chkShtStateId, comment, takenDate, scheduledDate, submittedDate, approvedDate, scheduledBy, submittedBy, approvedBy<br />
**userId** `Integer`:Id of the user executing the function<br />

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

---
### Example
```python
chkShtEventId = 123			
updates = {'chkShtStateId': 5, 'takenDate': system.date.now()}		
userId = 4
retVal, msg = system.kanoa.quality.event.updateChkShtEventFields(chkShtEventId, updates, userId)
```
