system.kanoa.cmms.deleteMaintenanceSubType(maintenanceSubTypeId, userId)
Deletes the maintenance sub type. SQL will prevent deletion if it has been used
Parameters
maintenanceSubTypeId 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