PECC_DualQualification_TDTM
Course Connection
Custom Permission | REDU - Admin |
Event | BeforeInsert |
Object | Course Connection |
Related RIO Education Settings | None |
Description
Whenever a new Course Connection is inserted, this class checks whether the Dual Qualification field on the parent Program Enrollment is true and, if it is, sets the Dual Qualification Reporting field on the Course Connection to the value of the Reporting Program field on the related Plan Requirement.
Program Enrollment
Custom Permission | REDU - Admin |
Event | BeforeInsert, AfterInsert, AfterUpdate |
Object | Program Enrollment |
Related RIO Education Settings | PE Reporting |
Description
Whenever a new Program Enrollment is inserted, this class sets its Dual Qualification, Primary Program and Secondary Program fields to the same values as the corresponding fields on the related Program Plan.
If the Program Enrollment's Program Status is an in progress value, it also creates a PE Reporting record for the Program Enrollment. If the Program Enrollment's Dual Qualification field is checked, it creates one PE Reporting record for the Primary Program and one for the Secondary Program.
If an existing Program Enrollment's Program Status field is updated from a draft value to an in progress value, then this class will create new PE Reporting record(s) following the same process as insert. If the Program Status field is changed from an in progress value to a draft value, then any related PE Reporting records are deleted.
If the Dual Qualification, Primary Program, or Secondary Program fields are updated, then this class will delete the old PE Reporting record(s) and create new ones to replace them. If the Parchment No, Qualification Issue Date or End Date fields are updated, then this class will update the corresponding fields on any related PE Recording records accordingly.
Program Plan
Custom Permission | REDU - Admin |
Event | AfterInsert, AfterUpdate |
Object | Program Plan |
Related RIO Education Settings | Course Plan Requirement RT Id Group Plan Requirement RT Id |
Description
Whenever a new Program Plan with a checked Dual Qualification field, and both the Primary Program and Secondary Program fields set, or whenever an existing Program Plan's Dual Qualification field is checked or its Primary Program or Secondary Program fields updated, this class will create the Dual Qualification Plan Requirement records (both Courses and Groups).
Furthermore, whenever the Dual Qualification field is changed, this class will delete any Plan Requirements that are now obsolete.
Use Case
For an example, see: Dual Qualifications.