Skip to main content

system.kanoa.cmms.updateMaintenanceType(maintenanceTypeInfo, userId)

Updates a maintenance type. All maintenanceTypeInfo keys are required.


Parameters

maintenanceTypeInfo Dictionary

- enabledBoolean
- maintenanceTypeColorStringi.e '#FF000'
- maintenanceTypeIdIntegerId of the maintenance type to update
- maintenanceTypeNameStringName of sub type

userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example