Skip to main content

system.kanoa.cmms.updateWorkOrderPriorityField(workOrderPriorityId, field, value, userId)

Updates the work order priority field with the passed value for the workOrderStatusId


Parameters

workOrderPriorityId Integer: Id of workOrderPriority to update
field String: Valid options are title, workOrderPriorityName, sortOrder, enabled
value String: Value to update to
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example