Skip to main content

system.kanoa.schedule.addScheduleBlockException(scheduleBlockId, exceptionDate)

Adds a new scheduleBlock exception


Parameters

scheduleBlockId Integer
exceptionDate DateTime


Returns

scheduleBlockExceptionId Integer


Example

scheduleBlockId = 789
exceptionDate = system.date.parse("2025-11-05 00:00:00")
userId = 101
scheduleBlockExceptionId = system.kanoa.schedule.addScheduleBlockException(scheduleBlockId, exceptionDate, userId)