DR_CreateDRsFromPRGroup_TDTM
Trigger handler/TDTM to create Discipline Requirements from linked Plan Requirement (Group)
Table of Contents
Custom Permission | None |
Event | AfterInsert, AfterUpdate |
Object | Discipline Requirement |
Related RIO Education Settings | None |
Description
Introduced in v3.14, this class helps to simplify the creation of Discipline Requirements.
When a Discipline Requirement (Group) is:
- created with a lookup to a Plan Requirement (Group), or,
- updated to have that lookup populated,
this class will automatically create a Discipline Requirement (Course) for each Plan Requirement (Course).
If the existing value on the lookup field is updated to a different Plan Requirement (Group), this class will:
- delete the existing Discipline Requirement (Course), and
- create new Discipline Requirement (Course)
in order to match the new Plan Requirement that is being looked up now.
Use case
A Plan Requirement (Group) contains multiple Plan Requirement (Course), which are the courses that a student needs to take, in order to complete the program.
A Major or Minor under that program will also require some courses that the student needs to complete.
This is represented by a Discipline Requirement (Group), which contains Discipline Requirement (Course).
Rather than manually re-creating Discipline Requirement (Course) for each Plan Requirement (Course), the user can now directly create a Discipline Requirement (Group) to lookup to a Plan Requirement (Group).
See also: