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

BK_PlanLine_TDTM

Booking plan line 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 AfterInsert, AfterUpdate
Object Plan Line
Related RIO Education Settings Faculty SC Date Recalculation Batch Size
Faculty SC Date Recalculation Job Mode
Respect Facility Availability For Alloc.
Student SC Date Recalculation Batch Size
Student SC Date Recalculation Job Mode


Description

Whenever a Plan Line record is updated, and if it was made from a Session‍ (Session Id field set), this class will check if the Plan Line's Double Booking Count has been updated to a non-zero value.

If it has, and if the related Session's Booking Status is not 'Draft', it updates the Booking Issue field to add a message with the Double Booking Count and updates the Booking Status to 'Booked with Issue'. It will also post a platform event to notify the Session Scheduler‍ about the status.


If the SKIPBOOKINGCREATION flag is false, then this class will also create new Bookings based on the Plan Line and relate them back to the Session.

If the 'Respect Facility Availability For Alloc.' custom setting is enabled, then the availability of the facility on the Session Time will be respected, meaning it will not be linked to the new Booking if it is not available.


If a new Plan Line is inserted, this class will follow the same process as update but will also update the related Session's 'Plan Line' field to link it to the Plan Line before doing the double booking update and booking creation.




Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • GCR_UpdateGrade_TDTM
  • PEDR_PEDCompletionEngine_TDTM
  • PREN_DefaultValues_TDTM
  • SFEE_StudentFees_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