Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

A Day Attendance Batch Status is a batch job that runs every 5:30 in the morning to process the status calculation for Day Attendance records. After the process, it automatically reflected on the Summary Calculated field in the Day Attendance record.

When the batch for processing Day attendance records runs, for each Day Attendance record if the Summary Calculated is unticked then the Exception Status is either No Exceptions or Resolved and the Date is in the past.

If the record has the Attendance Status of Present and is Present/Unmarked on all the Session fields, the Day Attendance Summary Calculated is ticked.

image-20240902-080225.pngimage-20240902-080317.png

Suppose the record has the Attendance Status of Absent and is Absent/Unmarked on all the Session fields, and the Absence Schedule covers all of the student’s Session Students for the day. In that case, the Day Attendance Absence Reason is now equal to the Absence Submission’s Reason of the Absence Schedule, and the Summary Calculated is ticked.

If there is more than one Absence Schedule that covers all of the student’s Session Students for the day if one Absence Schedule is longer than other Absence Schedules then the Day Attendance Absence Reason is now equal to the longest Absence Schedule in Absence Submission’s Reason and the Summary Calculated is ticked.

Suppose the duration of each Absence Schedule is the same. In that case, the Summary Calculated is now checked, and the Absence Reason in the Day Attendance record equals the reason listed in the earliest Absence Schedule Absence Submission.

Day Attendance Status

When the batch for processing day attendance record runs, each Day Attendance record where Summary Calculated is False, the Exception Status is either No Exceptions or Resolved and the Date is in the past.

If the Day Attendance has at least one Session marked as Present and at least one Session marked as Partial/Absent, the Day Attendance Status is updated to Partial and the Summary Calculated set to TRUE.

If the Day Attendance has at least one Session marked as Present and has an Absence Schedule for that contact under the same date, then the Day Attendance Status is updated to Partial and the Summary Calculated set to TRUE.

  • No labels