system.kanoa.cmms.updateWorkOrderStatusField(workOrderStatusId, field, value, userId)
Updates the work order status field with the passed value for the workOrderStatusId
Parameters
workOrderStatusId Integer: Id of workOrderStatus to update
field String: Valid options are title, workOrderStatusName, sortOrder, enabled
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