SE_SessionConnection_TDTM
Session Connection trigger handler/TDTM
Custom Permission | None |
Event | AfterInsert, AfterUpdate, AfterDelete |
Object |
Session Connection |
Related RIO Education Settings | None |
Description
This class updates fields on a Session by rolling up the number of child Session Connections of various types. Student Session Connections with Status fields of Current or Completed are rolled up to the Booked Places field. If the Status is Waitlisted, it is rolled up to the Waitlisted Places field.
The number of confirmed and rejected Faculty Session Connections is also rolled up. These values are not stored in fields but used to determine the value of the Faculty Status field.
If the Session's 'Use Session Groups' field is checked, this class will also roll up the number of Student Connections to the Booked Places and Waitlisted Places field on each Session Group record.
Use case
For more details on Session waitlist, see here.
For more details on Session Groups, see here.