This page (revision-23) was last changed on 26-Nov-2021 10:22 by mmcfarland

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
23 26-Nov-2021 10:22 3 KB mmcfarland to previous
22 26-Nov-2021 10:22 3 KB mmcfarland to previous | to last
21 26-Nov-2021 10:22 3 KB mmcfarland to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 20 lines
WK START OFF DAY
Time Rule Overview
This is a helper time rule which is used to determine the beginning of the work week depending on the minimum number of days off before the first day of work.
Additional Info
Band
one band is supported
Target Time Code is a collection of time codes that help identify the work week
It is to be used in conjunction with the following time rules:
OT NTH WRK DAY
OT NTH CNS DAY
OT WORKWEEK
The work week starts on the first day of work following the number of absence days defined in the band or 7 days after the start of the previous work week.
The system will look back up to 30 days until it finds the minimum days off defined in the band.
When the minimum number of days off are found the work week first day is the first work day. If the "Value" has a value defined, this will be an indicator that the week should start with the day off.
If the process date is not in this week the system will add 7 days until the process date belongs to the calculated week.
If the system cannot find the minimum number of days off defined in the band, the start of the week will be Sunday.
Implementation
The time rule should be set up in IDWR as shown below. See Chapter 3 - Time Rule Improvements for additional information regarding IDWR.
Band From To Value Day Time Code Premium Action Target Time Code Set Apply Time Code Set
Minimum # of days off before week start No No Include off days (**) No No No Replace Required (*) No
!!!WK START OFF DAY
!!Time Rule Overview
This is a helper time rule to determine the beginning of the work week, depending on the minimum number of days off before the first day of work.
At line 22 changed 6 lines
(*) Collection of time codes that help to identify the work week. We can see leave time codes included also in the target time code set but everything depends on the business needs of the client and what they consider a work week and what is the real meaning of the day off.
(**) If there is nothing in the Value the week will start on the first work day, otherwise the week will start with the first day off
Examples: "Band" = 2
Value" is not defined, the week will start in the first work day after minimum off days off is reached or 7 days after previous work week.
1 2 3 4 5 6 7 1
Off Off WRK WRK WRK WRK WRK WRK WRK WRK
This time rule should be used in conjunction with the following time rules:
*[OT NTH WRK DAY | TR_OT_NTH_WRK_DAY]
*[OT NTH CNS DAY| TR_OT_NTH_CNS_DAY]
*[OT WORKWEEK | TR_OT_WORKWEEK]
At line 29 changed 4 lines
Value" is something other then 0 then the week will start in the first off day after the minimum number of days off is reached or 7 days after previous work week.
1 2 3 4 5 6 7 1 2 3
Off Off WRK WRK WRK WRK WRK WRK WRK WRK
!!Additional Info
* [Band |QUALIFYING_BAND]: only one band is supported
* Frequency predefined as Never
[Targeted Time Code Set|DTCS_ID_TARGET]
* This is a collection of time codes that help identify the work week. Any time considered "Work Time" should be included in the Target Time Code Set. If a time code is entered that is not found in this time code set, the system will treat the time code as a "Day Off".
*Leave time codes can be included in the Target Time Code Set field. This will prevent unscheduled days off, such as Vacation or Sick time, from recalculating the start of the work week. Example: If the time rule Value is defined as '3' but the "Sick" time code was not included in the Target Time Code Set field, if an employee was sick for 3 days mid period, the time rule will recalculate the beginning of the work week to the incorrect day.
* The work week starts on the first day of work following the number of absence days defined in the Band, or 7 days after the start of the previous work week.
* The system will look back up to 30 days until it finds the minimum number of days off, defined in the Band.
* When the minimum number of days off are found, the work week's first day is the first work day. When the Value is defined, the work week will begin on the day off.
* If the process date is not within this week, the system will add 7 days until the process date belongs to the calculated week.
* If the system cannot find the minimum number of days off, defined in the Band, the start of the week will be Sunday.
!!Implementation
The time rule should be set up in [IDWR] as shown below.
||[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]
| |Never| | |Minimum # of days off before week start|No|No|Include off days [1]|No|No|No|Required [2]|No|Replace
[1] If the Value field is blank, the week will start on the first work day, otherwise the week will start on the first day off.
[2] Collection of time codes that help to identify the work week. Leave time codes can also be defined in the Target Time Code Set but the set up depends on your organization's definition of a work week what is considered a day off.
Examples: Band = 2
1. When the Value is not defined, the week will start on the first work day, after the minimum days off is reached, or 7 days after the previous work week.
| | | 1| 2| 3| 4| 5| 6| 7| 1
|Off| Off|__WRK__|WRK|WRK|WRK|WRK|WRK|WRK|__WRK__
2. When the Value is greater than 0, the week will start on the first off day, after the minimum number of days off is reached, or 7 days after previous work week.
|1|2|3|4|5|6|7|1|2|3
|__Off__|Off|WRK|WRK|WRK|WRK|WRK|__WRK__|WRK|WRK
----
![Notes|Edit:Internal.TR_WK_START_OFF_DAY]
[{InsertPage page='Internal.TR_WK_START_OFF_DAY' default='Click to create a new notes page'}]