Skip to main content

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

Updates a status. All statusInfo keys are required.


Parameters

statusInfo Dictionary

- enabledBoolean
- sortOrderBoolean
- workOrderStatusIdIntegerId of status
- workOrderStatusNameStringName of status

userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example