Skip to main content

system.kanoa.schedule.updateScheduleBlockExceptions

This function requires KanoaOPS module

Description

Updates schedule block exceptions when an event block's startDate gets updated. This function is private and only gets called by updateScheduledEventTime and updateScheduleBlock.

Syntax

updateScheduleBlockExceptions(scheduleBlockId, newStartDate, userId)
  • Parameters
      scheduleBlockId (int) - ID of the schedule block.
      newStartDate (datetime) - New start date for the schedule block.
      userId (int) - User ID.
  • Returns
      No return value.
  • Code Example

    # Example Usage:
    schedule_block_id = 123
    new_start_date = ...
    user_id = 456
    system.kanoa.schedule.updateScheduleBlockExceptions(schedule_block_id, new_start_date, user_id)