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