Setting Up Validation Schedules
In this article
To set up a validation schedule
A validation schedule specifies whether the entity it is assigned to (like a hierarchy) is valid or not for a given date and time.
As an example, you can set up a schedule that is valid.
- on Mondays, Tuesdays, Wednesdays, and Thursdays between 4 pm and 6 pm.
- only on Fridays between 12 pm and 2 pm and again after 8 pm, excluding holidays.
- on weekends and on certain dates that are holidays (and do not fall on the weekends).
- on one specific day.
You use a validation schedule for Hierarchy Dates in your store or restaurant.
Is the date and time valid?
When it is checking the validity of a date and time, the program checks the validation schedule lines in the order of priority (from high to low). The first line to have a valid Date Schedule is picked. If it has a valid Time Schedule, the answer is YES. If it does not have a valid Time Schedule or is marked Exclude, the answer is NO.
If no line has a valid Date Schedule, the answer is NO.
If the Validation Schedule has no lines, the answer is YES.
If the Validation Schedule has only lines marked Exclude, the answer is always NO. Therefore, the validation schedule needs to have at least one line that is not marked Exclude.
Note:
- For each line, the Date Schedule ID must be filled in.
- The Time Schedule ID is only filled in if there are time restrictions for this line.
- A line can only be marked Exclude if the Time Schedule ID is blank.
- You need to include at least one line that is not marked Exclude.
Tip: To make the setup easier and clearer, think of the date schedules specifying weekday specifications and periods such as Christmas, Easter, holidays. Time schedules are set up for valid time periods (one or more per day), not time periods that are not valid.
Example: A weekday lunch menu that is valid during lunch on weekdays only (not holidays) has a validation schedule LUNCH-WEEKDAYS. The validation lines are like this:
- Date Schedule: Weekdays (Monday through Friday)
- Priority 0
- Time Schedule: 11 am-02 pm
- Date Schedule: Christmas (24-26 of Dec. every year)
- Priority 100
- Exclude
- Date Schedule: July 4th (4th of July every year)
- Priority 100
- Exclude
- .... more holiday dates excluded...
To set up a validation schedule
- Click the icon, enter Validation Schedule, and select the relevant link.
- Create a new validation schedule with an ID and description.
- On the Date and Time Schedule FastTab, insert lines with date and time schedules to set when the schedule is valid or not valid.
- If more than one line is valid at the same time, enter a higher Priority for the line that should be picked.
See the tooltips for the Validation Schedule pages for more information.