Skip to main content

system.kanoa.shift.updateShiftField

Description

Updates the passed field value for the given shiftId (kanoaOps).

Syntax

updateShiftField(shiftId, field, value, userId)
  • Parameters
      shiftId (Integer) - Shift ID.
      field (String) - Name of the column.
      value (Object) - New value.
      userId (Integer) - User ID.
  • Returns
      # of records modified.
  • Code Examples

    # Example Usage:
    modifiedRecords = system.kanoa.shift.updateShiftField(1, 'shiftNameId', 3, 123)