PL_CourseOffering_TDTM
Plan Line Course Offering trigger handler/TDTM
Custom Permission | REDU - Admin |
Event | AfterInsert, AfterUpdate, AfterDelete |
Object | Course Offering |
Related RIO Education Settings | Resource Type Plan RT Id |
Description
Whenever a new Course Offering is inserted, or whenever the Course Offering ID, Start Date, or End Date fields of a Course Offering are updated, this class will create a new Resource Type Plan and link it to the Course Offering.
It will set the Plan Name, Start Date, and End Date fields on the new plan using the values of the Course Offering ID, Start Date (Calculated), and End Date (Calculated) fields on the Course Offering.
If the Course Offering already has a related Plan record, then this class will just update the fields on the existing Plan instead of creating a new one.
When a Course Offering is deleted, this class will delete any related Plans, Plan Lines or Bookings.
See also: Plan and Plan Line.