Skip to main content

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

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


Parameters

maintenanceSubTypeInfo Dictionary

- enabledBoolean
- maintenanceSubTypeIdInteger
- maintenanceSubTypeNameStringName of sub type
- maintenanceTypeIdInteger

userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example