SDS:Rollover admin.php: Difference between revisions

From SMUSwiki
Jump to navigation Jump to search
(New page: This page allows the administrator to rollover certain portions of the SDS database to the next school year for ease of data setup. Presently, this page allows for the rollover of mark co...)
 
No edit summary
Line 3: Line 3:
Presently, this page allows for the rollover of mark collection periods (MCPs) and subjects.
Presently, this page allows for the rollover of mark collection periods (MCPs) and subjects.


The page first tests to see what month it is, so that it can decide which school year it should work with. If the month is between August and December, the page operates on the current school year. If the month is between Januarya nd JUly, the page operates on the following school year.
The page first tests to see what month it is, so that it can decide which school year it should work with. If the month is between August and December, the page operates on the current school year. If the month is between January and July, the page operates on the following school year.


Next, the page checks to see if any mark collection periods or subjects already exist for the relevant year. If there are any, then the rollover is assumed to have taken place already and is not allowed to repeat. If there are no values for the relevant year, then a link shows which may be clicked, performing the relevant rollover update.
Next, the page checks to see if any mark collection periods or subjects already exist for the relevant year. If there are any, then the rollover is assumed to have taken place already and is not allowed to repeat. If there are no values for the relevant year, then a link shows which may be clicked, performing the relevant rollover update.


In future, it will be expanded to also handle rollover of other yearly SDS data like period.
In future, it will be expanded to also handle rollover of other yearly SDS data, like period.


Student rollover is now handled on a per person basis in edit_person.
Student rollover is now handled on a per person basis in edit_person.

Revision as of 21:25, 2 September 2008

This page allows the administrator to rollover certain portions of the SDS database to the next school year for ease of data setup.

Presently, this page allows for the rollover of mark collection periods (MCPs) and subjects.

The page first tests to see what month it is, so that it can decide which school year it should work with. If the month is between August and December, the page operates on the current school year. If the month is between January and July, the page operates on the following school year.

Next, the page checks to see if any mark collection periods or subjects already exist for the relevant year. If there are any, then the rollover is assumed to have taken place already and is not allowed to repeat. If there are no values for the relevant year, then a link shows which may be clicked, performing the relevant rollover update.

In future, it will be expanded to also handle rollover of other yearly SDS data, like period.

Student rollover is now handled on a per person basis in edit_person.