system.kanoa.cmms.updateWorkOrderEventStatus(statusInfo, userId)
Updates a status. All statusInfo keys are required.
Parameters
statusInfo Dictionary
| - enabled | Boolean | |
| - isActive | Boolean | |
| - reservedBySystem | Boolean | |
| - sortOrder | Boolean | |
| - workOrderEventStatusCategoryId | Integer | |
| - workOrderEventStatusColor | String | |
| - workOrderEventStatusId | String | Id of status |
| - workOrderEventStatusName | String | Name of status |
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
message String None if success
Example