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