Skip to main content

system.kanoa.shift.addShiftBlockException

Description

Adds a shift block exception (kanoaOps).

Syntax

addShiftBlockException(shiftBlockId, exceptionDate, userId)
  • Parameters
      shiftBlockId (Integer) - Shift Block ID.
      exceptionDate (Datetime) - Exception date.
      userId (Integer) - User ID.
  • Returns
      Shift Block Exception ID (Integer).
  • Code Examples

    # Example Usage:
    shiftBlockExceptionId = system.kanoa.shift.addShiftBlockException(1, someDate, 123)