...
PosiEd supports two types of Joint Sessions:
Vertical - Two or more cohorts are combined into a single classroom. A single roll covers all students.
Composite - Two or more classes are conducted in two or more classrooms. Students are included in the rolls for each so that they can be marked present regardless of which they are in.
To further complicate the data model PosiEd must support both Timetable Managed Externally (Daily) and Internally (Edval) situations.
Vertical Classes
Each class has a single Session record.
Separate Cohort Session records connect each Cohort/Cohort Schedule with the Session.
Generate Attendance locates all Cohort Members from each of the associated Cohorts and creates Session Student Event records for each. Ie. if there are two cohorts with a total of 40 students combined in a single session, these will be 1 Session and 40 Event records created.
...
Composite Classes
Each class has a multiple Session records.
Separate Cohort Session records connect each Cohort/Cohort Schedule with each of the multiple Sessions.
...
Generate Attendance locates all Cohort Members from each of the associated Cohorts and creates Session Student Event records for each student/Session combination. Ie. if there are two cohorts with a total of 40 students split across two concurrent sessions, these will be 2 Session and a total of 80 Event records created.
...