ST_DeleteBookings_TDTM
Session Time trigger handler/TDTM for deleting bookings
Table of Contents
Custom Permission | None |
Event | BeforeDelete |
Object | Session Time |
Related RIO Education Settings | Prevent Session Time Deletion With Att |
Description
When a Session Time is deleted, this class deletes related Attendances, Bookings, and Session Connections, unless:
- the Prevent Session Time Deletion With Att custom setting is enabled,
- a Booking's Start field is before the current date,
- and either the Attendance's Faculty field is not checked,
- or the Faculty field is checked but the Excused field is not checked.