How could be distributed the first/last lessons for all teachers in equality?

English Slovenčina Deutsch España Polish Russian Greek Lithuania Bulgarian

You can do this in menu Specification/Card relatioships/Advanced.

Example for first lesson:
You have to set for all teachers constraint "Max number of first period lessons" as advanced card relationship, see picture:

Same way you can input "Max number of last period lessons".