CSOF_CancelOffering_TDTM
Course Offering trigger handler/TDTM to withdraw Course Connection
Custom Permission | REDU - Admin |
Event | AfterUpdate |
Object |
Course Offering |
Related RIO Education Settings | None |
Description
When a Course Offering's Course Offering Status (Override) field is set to ‘Cancelled’, this class will find any related Course Connections with an Enrollment Status of either 'Enrolled', ‘Enrollment Requested’ or 'Waitlisted' and set the Enrollment Status to 'Withdrawn'.
Use case
A Course Offering might be cancelled, if there are insufficient students, or the faculty is unable to conduct it.
However, some students might have already enrolled to the Course Offering, before it was cancelled.
This trigger resolves this issue by cancelling all the Course Connections related to the cancelled Course Offering.
See more here.