Skip to main content

system.kanoa.cmms.deleteWorkOrderPriority(workOrderPriorityId, userId)

Deletes the priority. SQL will prevent deletion if it has been used


Parameters

workOrderPriorityId Integer: Id of the priority to delete
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
msg String None if success


Example