Skip to main content

system.kanoa.cmms.updateWorkOrderEventStatusField(workOrderEventStatusId, field, value, userId)

Updates the work order event status field with the passed value for the workOrderEventStatusId


Parameters

workOrderEventStatusId Integer: Id of workOrderEventStatusId to update
field String: Valid options are workOrderEventStatusName, workOrderEventStatusCategoryId, enabled, sortOrder, isActive
value String: Value to update to
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example