system.kanoa.cmms.deleteWorkOrderEventStatusCategory(workOrderEventStatusCategoryId, userId)
Deletes the status category. SQL will prevent deletion of this status category if it has been used
Parameters
workOrderEventStatusCategoryId Integer: Id of the status category to delete
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
msg String None if success
Example