Skip to main content

system.kanoa.shift.addShiftBlockException(shiftBlockId, exceptionDate, userId)

Adds a shift block exception


Parameters

shiftBlockId Integer: Id of the shift block to add the exception to
exceptionDate DateTime: Date that the exception is for
userId Integer


Returns

shiftBlockExceptionId Integer


Example

shiftBlockExceptionId = system.kanoa.shift.addShiftBlockException(1, system.date.parse("2025-11-05 00:00:00"), 123)