Skip to main content

system.kanoa.cmms.updateWorkOrderEventStatus(statusInfo, userId)

Updates a status. All statusInfo keys are required.


Parameters

statusInfo Dictionary

- enabledBoolean
- isActiveBoolean
- reservedBySystemBoolean
- sortOrderBoolean
- workOrderEventStatusCategoryIdInteger
- workOrderEventStatusColorString
- workOrderEventStatusIdStringId of status
- workOrderEventStatusNameStringName of status

userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example