Skip to main content

system.kanoa.cmms.updateWorkOrderPriority(priorityInfo, userId)

Updates a priority. All priorityInfo keys are required.


Parameters

priorityInfo Dictionary

- enabledBoolean
- sortOrderBoolean
- workOrderPriorityIdIntegerId of priority
- workOrderPriorityNameStringName of priority

userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example