CSOF_CourseConnection_TDTM
Course Offering trigger handler/TDTM for waitlist
Table of Contents
Custom Permission | None |
Event | AfterInsert, AfterUpdate, AfterDelete |
Object | Course Connection |
Related RIO Education Settings | None |
Description
This class is used to automatically rollup the number of Course Connections to calculate the Booked Places (number of Course Connections with an Enrollment Status of either Enrolled or Completed) and Waitlisted Places (number of Course Connection with an Enrollment Status of Waitlisted) fields on the Course Offering object.
It updates these fields whenever student Course Connections are inserted or deleted, or whenever an existing Course Connection has its Enrollment Status field updated.
Please note that if the current running user is Student, an additional validation will be done to ensure that the student won't be able to enroll to course offering if the Course Offering is full.
See also: Course Enrollment Waitlist.