Plan Line Course Offering trigger handler/TDTM
If you still have questions or prefer to get help directly from an agent, please submit a request.
We’ll get back to you as soon as possible.
|Custom Permission||REDU - Admin|
|Event||AfterInsert, AfterUpdate, AfterDelete|
|Related RIO Education Settings||Resource Type Plan RT Id|
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.