# system.kanoa.quality.event.updateChkShtStatus(chkShtEventId, status, userId)

Updates a check sheet event status

---
### Parameters
**chkShtEventId** `Integer`: Id of check sheet event to update<br />
**status** `String`: Valid options are 'Coming Due', 'Due', 'Overdue', 'In Progress', 'Submitted', 'Approved', 'Missed', 'Canceled', 'Disabled', 'Rejected'<br />
**userId** `Integer`:Id of the user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />

---
### Example
```python
chkShtEventId = 123
chkShtStates = system.kanoa.utilities.convertDatasetToDict(system.kanoa.quality.sheet.getStates({'enabled': True}), 'chkShtStateName', 'chkShtStateId')
chkShtStateId = chkShtStates['Approved']
userId = 456
retVal = system.kanoa.quality.event.updateChkShtStatus(chkShtEventId, chkShtStateId, userId)
```
