Mark Roll Previous Periods
In the Mark Roll interface is a Previous periods section. The details in this section will vary slightly depending upon the period in which the current session is being held. For example, if the current session is in period 3 then it is likely that periods one and two will be displayed in this section.
...
This is determined by looking at the school's current timetable structure timetable periods list. In particular, it will look at the entries that have been ticked in the display Mark Roll periods column. These records will be ordered by the order value and then finally the list of Day attendance session values will be retrieved and used to identify the number of previous periods.
This data will then be used to retrieve the previous periods Session attendance status from the day attendance record.
...