Attendance double booking trigger handler/TDTM
|REDU - Admin, REDU - Faculty, REDU - Student
|AfterInsert, AfterUpdate, AfterDelete
|Related RIO Education Settings
This class validates any double booked Faculty Attendances.
Whenever an Attendance record with a checked Faculty field, related Booking and a checked Skip Double Booking Validation field is inserted or deleted, or has its Booking, Skip Double Booking Validation or Excused fields updated, this class checks if this Faculty Member has any other Attendances booked in the same date range as the triggering Attendance.
It then checks the Revalidate Faculty Allocation checkbox on any Sessions related to either the triggering Attendance or any of these other Attendances.
This will trigger a checking on a Faculty's allocation to find out whether a double booking for Session has occurred.