system.kanoa.cmms.updateMaintenanceType(maintenanceTypeInfo, userId)
Updates a maintenance type. All maintenanceTypeInfo keys are required.
Parameters
maintenanceTypeInfo Dictionary
| - enabled | Boolean | |
| - maintenanceTypeColor | String | i.e '#FF000' |
| - maintenanceTypeId | Integer | Id of the maintenance type to update |
| - maintenanceTypeName | String | Name of sub type |
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
message String None if success
Example