system.kanoa.cmms.updateMaintenanceSubType(maintenanceSubTypeInfo, userId)
Updates a maintenance sub type. All maintenanceSubTypeInfo keys are required.
Parameters
maintenanceSubTypeInfo Dictionary
| - enabled | Boolean | |
| - maintenanceSubTypeId | Integer | |
| - maintenanceSubTypeName | String | Name of sub type |
| - maintenanceTypeId | Integer |
userId Integer:Id of the user executing the function
Returns
# of records modified Integer
message String None if success
Example