ATTD_HoursAttended_TDTM
Attendance hours trigger handler/TDTM
Custom Permission | REDU - Admin, REDU - Faculty, REDU - Student |
Event | BeforeInsert, BeforeUpdate |
Object |
Attendance |
Related RIO Education Settings | None |
Description
For any new attendances that are inserted, this class will calculate its Hours Attended and Minutes Attended fields, assuming the Session Id, Check In and Check Out fields are all set.
If an attendance is updated and the 'Recalculate Hours Attended' field is set, and/or one or both of the 'Check In' or 'Check Out' fields are changed, this class will recalculate the hours and minutes attended to ensure they are up to date.