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