GPS_COCurrentGradingPeriod_TDTM
Grading Period Setting trigger handler/TDTM
Custom Permission | REDU - Admin |
Event | BeforeInsert, BeforeUpdate, AfterInsert, AfterUpdate |
Object | Grading Period Setting |
Related RIO Education Settings | None |
Description
Whenever a new Grading Period Setting with its 'Current' field checked and Course Offering field set, or,
whenever an existing Grading Period Setting either has its 'Current' field checked or has its Course Offering or Grading Period Type fields changed while the 'Current' field is checked,
this class will uncheck the 'Current' field for any other Grading Period Settings related to the same Course Offering and copy the Grading Period Type field from the Grading Period Setting to the Grading Period Type field on the Course Offering.
If multiple Grading Period Settings for the same Course Offering have their 'Current' fields checked in the same transaction (either Insert or Update), then all except the first one will have their 'Current' fields unchecked.
See also: Grading Period Type and Setting