Session double booking trigger handler/TDTM
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
|Custom Permission||REDU - Admin
|Related RIO Education Settings||Faculty Double Booking Check Batch Size
Faculty Double Booking Job Mode
Whenever a Session with a checked Revalidate Faculty Allocation field is inserted, or whenever an existing Session has its Revalidate Faculty Allocation field checked, this class revalidates the Booking Issue field, unchecks the Revalidate Faculty Allocation field and then performs a double booking check for the Session.
For any related Faculty Session Connections with a Status value of Current and an End Date after or equal to the current date, it checks whether the related Contact has any Attendance records in the range of the Session Connection Start Date and End Date.
If there are any such records with a Faculty field checked and Excused field unchecked that have overlapping times, and the Contact does not have either an Approved Leave Request or a Tentative or Confirmed Contact Attendance covering this time, then this class will set the Booking Issue on the Session, set the Status to 'Booked with Issue' and uncheck the Revalidate Faculty Allocation if it is not already unchecked.
Whenever a Session with a checked Revalidate Facility Allocation field is inserted, or whenever an existing Session has its Revalidate Facility Allocation field checked, this class unchecks the Revalidate Facility Allocation field and then checks if there are any Bookings for the Session's related Plan Line with a Start field later or equal to the current time and sets the Booking Status field on each of these records to Revalidate.
For both faculty and facility allocation, if all Booking Issues are cleared as part of the initial revalidation, the Booking Status is reset to Booked instead of Booked with Issue.