Examples
This section includes some practical examples of how schedule details are handled using this filter.
Example Configuration
The following examples use these configuration settings:
Time Codes: WRK, BRK
Each of these examples also use the Maximum Hours Per Week rule with the following configuration:
Hours: 45
Example 1 - Pass/Not Passed
Schedule A includes the following schedule details:
| Time Code | Hours | 
|---|---|
| WRK | 27 | 
| BRK | 3 | 
| VAC | 16 | 
| UNPD BRK | 1 | 
| HOL | 0 | 
The filter passes 30 hours to the Maximum Hours Per Week rule:
| Time Code | Hours | 
|---|---|
| WRK | 27 | 
| BRK | 3 | 
The filter passes the above schedule details to the Maximum Hours Per Week rule. Schedule compliance does not return a violation as the hours (30) do not exceed the defined maximum (45).
The filter does not pass 17 hours to the Maximum Hours Per Week rule:
| Time Code | Hours | 
|---|---|
| VAC | 16 | 
| UNPD BRK | 1 | 
| HOL | 0 | 
Example 2 - Pass
Schedule B includes the following schedule details:
| Time Code | Hours | 
|---|---|
| WRK | 44 | 
| BRK | 6 | 
| VAC | 0 | 
| UNPD BRK | 0 | 
| HOL | 0 | 
Schedule compliance passes 61 hours to the associated rule:
| Time Code | Hours | 
|---|---|
| WRK | 55 | 
| BRK | 6 | 
The filter passes the above schedule details to the Maximum Hours Per Week rule. Schedule compliance returns a violation as the hours (50) exceed the defined maximum (45).
Schedule compliance does not pass 0 hours to the Maximum Hours Per Week rule:
| Time Code | Hours | 
|---|---|
| VAC | 0 | 
| UNPD BRK | 0 | 
| HOL | 0 | 
Example 3 - Not Pass
Schedule C includes the following schedule details:
| Time Code | Hours | 
|---|---|
| WRK | 10 | 
| BRK | 0 | 
| VAC | 24 | 
| UNPD BRK | 0 | 
| HOL | 24 | 
Schedule compliance passes 10 hours to the Maximum Hours Per Week rule:
| Time Code | Hours | 
|---|---|
| WRK | 10 | 
| BRK | 0 | 
The filter passes the above schedule details to the Maximum Hours Per Week rule. Schedule compliance does not return a violation as the hours (10) do not exceed the defined maximum (45).
Schedule compliance does not pass 48 hours to the Maximum Hours Per Week rule:
| Time Code | Hours | 
|---|---|
| VAC | 24 | 
| UNPD BRK | 0 | 
| HOL | 24 |