US English (US)
ES Spanish

Contact Us

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.

Please fill out the contact form below and we will reply as soon as possible.

  • Log in
English (US)
US English (US)
ES Spanish
  • Home
  • Help & Support
  • Support
  • Deep Dive
  • Technical Guides
  • Trigger Handlers

SE_DoubleBooking_TDTM

Session double booking trigger handler/TDTM

Contact Us

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.

Please fill out the contact form below and we will reply as soon as possible.

  • RIO Certification
    RIO Certification Program RIO Academy RIO Challenge RIO Recipe Training
  • Releases
    Release Notes
  • Help & Support
    Install RIO Education RIO Insights RIO Recipe Support
  • About Us
    Who is RIO Education? Start Your RIO Journey Housekeeping
  • Experience RIO in action
+ More

Custom Permission REDU - Admin
Event BeforeUpdate
Object Session
Related RIO Education Settings Faculty Double Booking Check Batch Size
Faculty Double Booking Job Mode


Description

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.




Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • PEDR_PrimaryCourse_TDTM
  • CSOF_ClearClonedFields_TDTM
  • APP_ConvertLead_TDTM
  • CSEN_ReassignPEDRs_TDTM
RIO Education

RIO Education, a WDCi Company. This information is proprietary, confidential and protected by copyright ©2024.

CONTACT

Get in touch

  • Privacy
  • Terms of service

Knowledge Base Software powered by Helpjuice

Definition by Author

0
0
Expand