The Schedule Calendar Form enables you to create or amend existing SU.todat records which manage the run-date and mode for End of Day, End of Week and End of Period. This replaces the original functionality of using System Utilities controls.
To add/modify agent dates:
From the Autoline Master Menu, select the System utilities option and Company 00.
The SYSTEM UTILITIES Menu is displayed.
Select the Timed operations option.
The TIMED OPERATIONS Menu is displayed.
Select the Add/modify agent dates option.
The Schedule Calendar form is displayed.
Select required day on the Calendar grid.
Select one or more check-boxes for the desired End-of-day mode.
Click Save.
You are returned to the TIMED OPERATIONS Menu.
The Schedule Calendar Form is displayed when you click SYSTEM UTILITIES> TIMED OPERATIONS Menu Add/modify agent dates.
To edit a day in the calendar:
The current end-of-day modes are displayed in the left-hand bottom corner of the form
Calendar grid:
Displays all the days in month and year with a colour-coded key for end-of-day modes.
Day of week: The select bar runs across the top of the calendar grid and displays five weeks of M onday, Tuesday, Wednesday, Thursday, Friday, Saturday, and Sunday.
Example: Select all Mondays on the second week of column by selecting M. This copies one or more selected end-of-day modes to all Mondays in the column.
Mode select: The Select mode check-box column holds end of day modes with a colour-coded key. The modes and colours are as follows:
Mode
Colour
Description
No Operations
Creates a mode of S for skipped days, and no end-of-day chain is run.
Daily Operations
Uses the default mode of D for end of day - has no record created.
Weekly Operations
Creates a mode of W for end of week
Monthly Operations
Creates a mode of P for end of period
Yearly Operations
Creates a mode of Y for end of year.
Multiple Operations
Displayed on the calendar grid when three or more end-of-day modes exist for the same day.
Buttons:
Previous year: Displays the previous year. For example, if the current year is 2006, 2005 is displayed.
Next year: Displays the next year. For example, if the current year is 2006, 2007 is displayed.
Save: Creates or saves, any amended records and exits the program. Any records manually amended will be updated with the userid, date, and time.
Cancel: Exits the program without saving or creating any records.
The records created by the user in Add/modify agent dates are stored in the system file SU.todat, and contain the following fields:
Note: The Timed Operations Agent checks the SU.todat file periodically for an existing record using today's date. The default End-of-day mode is Daily, and requires no record to be created and is always run on its own or with additional modes Weekly, Period or Yearly. The exception to this rule is Skipped days, and no End-of-day chain is run.
On some occasions, users may wish to run multiple End of day modes on the same day - for example: End of week and End of period.
Possible End-of-day mode combinations:
End of Day + End of Week: One record created with mode W, executes all options inside and outside of main chain with frequency of D & W.
End of Day + End of Period: One record created with mode P, executes all options inside and outside of main chain with frequency of D & M.
End of Day + End of Year: One record created with mode Y, executes all options inside and outside of main chain with frequency of D & Y.
End of Day + End of Week + End of Period: Two records created with mode W & P, executes all options inside and outside of main chain with frequency of D, W, & M.
End of Day + End of Week + End of Year: Two records created with mode W & Y, executes all options inside and outside of main chain with frequency of D, W, & Y.
End of Day + End of Period + End of Year: Two records created with mode P & Y, executes all options inside and outside of main chain with frequency of D, M, & Y.
Skipped Day: One record created with mode S, and will NOT run End-of-day chain, but will still run options outside of main chain with frequency of D.
Note: No SU.todat records exist by default; these are created by the user. To help with this, the old System utilities controls of Skipped days, Day for end of week and Day for end of month, load default days into the calendar. This is done when user first enters the Add/modify agent dates option, and the program checks whether no SU.todat records exist for the current displayed year, and loads defaults if none are found. This then creates records when the user takes the Save option. Records can always be amended after they are created.