Skip to main content

system.kanoa.cmms.addMaintenanceSubType(maintenanceSubTypeInfo, userId)

Adds a maintenance sub type. All maintenanceSubTypeInfo keys are required.


Parameters

maintenanceSubTypeInfo Dictionary

- enabledBoolean
- maintenanceSubTypeNameStringName of sub type
- maintenanceTypeIdInteger

userId Integer:Id of the user executing the function


Returns

maintenanceSubTypeId Integer
message String None if success


Example