PREQ_UniqueCourseHeader_TDTM
Plan Requirement trigger handler/TDTM for preventing multiple versions of the same Course Header on a Program Plan
Table of Contents
| Custom Permission | None |
| Event | BeforeInsert, BeforeUpdate |
| Object | Plan Requirement |
| Related RIO Education Settings | Enable Course Versioning |
Description
When a Plan Requirement is inserted or updated, this trigger checks for duplicate Course Headers within the same Program Plan.
This process will only continue if both Course and Program Plan are populated. If this is an update, either the Course or Program Plan must have changed for this process to continue.
If another Plan Requirement on the same Program Plan has a Course with the same Course Header as the Course of the Plan Requirement being created/updated, the save will be blocked by an error.