system.kanoa.cmms.deleteMaintenanceType(maintenanceTypeId, userId)
Deletes the maintenance type. SQL will prevent deletion if it has been used
Parameters
maintenanceTypeId Integer: Id of the maintenance sub type to delete
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
msg String None if success
Example