CSH_UniqueCourseID_TDTM
Course Header trigger handler/TDTM for preventing duplicate Course IDs
Table of Contents
| Custom Permission | None |
| Event | BeforeInsert, BeforeUpdate |
| Object | Course Header |
| Related RIO Education Settings | None (This trigger will run even if Course Versioning is disabled.) |
Description
This trigger prevents multiple Course Headers in the same Educational Institution from using the same Course ID (case insensitive).
When a Course Header is inserted or updated, if both the Course ID and Educational Institution fields are populated, this trigger will run.
If the Course Header is being updated, this trigger will only run if either the Course ID or Educational Institution is changed as part of the update.
If an existing Course Header with the same Educational Institution and Course ID as the Course Header being inserted/updated is found, an error will be encountered.
