!!! ANNALS WK BASE
!!Time Rule Overview
This time rule will create the base annals week record on the last day of the week, or on the annals end date, with the calculated weekly base hours and the defined time code.  Base hours are calculated as the difference between the standard hours per week and the hours determined by the Target Time Code Set.

* This time rule's results may be affected by the ANNALS END DATE, ANNALS CNS DY, ANNALS 1 WK STANDARD and the ANNALS 52 WK STANDARD time rules.

* The calculated base hours CANNOT be negative
* This rule should be executed after the ANNALS CNS DY rule

!!Requirements / Features
*Time Rule Type Code: ANNALS END DATE

!!Additional Info 
* Frequency predefined as Never

!!How it Works
* Base hours are calculated as the difference between standard hours per week and hours determined by the Target Time Code Set.
* Standard hours per week should be defined in the Value field.  If not defined, the system will use the Assignment standard hours per week. 
* Since the annual can end in the middle of the week, the first/last annual week is defined by the ANNALS_1_WK_STD and ANNALS_52_WK_STD rules.  If these rules are not defined, the system will use the work time projector.
* If annals end in a middle of the week, this rule will create two records; 
** one for the current annals on the annals end date, and 
** one for the next annals year on the last day of the week
** The standard hours per week will not be reduced, if in the week a consecutive day indicator record exists, such as ANNALS CNS DY.

!!Implementation
The time rule should be set up in [IDWR] as shown below. 


!!Implementation
||[Cycle|CYCLE_NUMBER]||[Frequency|FREQUENCY]||[Seq|SEQUENCE]||[Time Rule Type|TIME_RULE_TYPE_TEXT]||[Band|QUALIFYING_BAND]||[From|FROM_CLOCK_TIME]||[To|TO_CLOCK_TIME]||[Value|VALUE]||[Day|DAY_OF_WEEK]||[Time Code|TIME_CODE_VALUE]||[Premium|PREMIUM_CODE]||[Target Time Code Set|TARGET_TIME_CODE_SET]|| [Apply Time Code Set|APPLY_TIME_CODE_SET]||[Action|TIME_RULE_ACTION]
| |Weekly|1620| |No|No|No|Standard hours per week[1] No|Required|No|Required [2]|No|Add


[1] If this field is not defined, the system will use the Assignment standard hours per week. \\
[2] The Target Time Code Set field should include the time codes that will reduce standard hours per week.
----
![Notes|Edit:Internal.TR_ANNALS_END_DATE] 	
[{InsertPage page='Internal.TR_ANNALS_END_DATE' default='Click to create a new notes page'}]