This page (revision-25) 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
25 26-Nov-2021 10:22 5 KB mmcfarland to previous
24 26-Nov-2021 10:22 5 KB mmcfarland to previous | to last
23 26-Nov-2021 10:22 5 KB mmcfarland to previous | to last
22 26-Nov-2021 10:22 5 KB mmcfarland to previous | to last
21 26-Nov-2021 10:22 5 KB mmcfarland to previous | to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 3 changed one line
This time rule will apply overtime on days with Leaves. It will apply the Leave OT time code for leave time or the Regular OT time code for regular time, depending on the type of time that should be replaced.
This time rule will apply overtime on days with leaves. It will apply the Leave OT time code for leave time or, the Regular OT time code for regular time, depending on the type of time that should be replaced.
At line 5 changed one line
In order for this time rule to work properly, there must be at least two instances of this time rule defined in [IDWR]. Each instance will have different Apply Time Code Sets defined; one to apply the rule to the overtime time codes, and the second to apply the overtime to the regular time codes. See example below.
In order for this time rule to work properly, there must be at least two instances of this time rule defined in [IDWR]. Each instance will have different Apply Time Code Set; one to apply the rule to the overtime time codes, and the second to apply the overtime to the regular time codes. See example below.
At line 26 changed 2 lines
The [Apply Time Code Set|DTCS_ID_APPLY] field is mandatory in this example. The sequence is important.
The abbreviations:
The [Apply Time Code Set|DTCS_ID_APPLY] is mandatory in this example. The sequence is important.
Abbreviations:
At line 42 changed one line
(Hours To Be Applied = 4 starting from 13:00):
(HoursToBeApplied = 4 starting form 13:00):
At line 45 changed 5 lines
|1.|Regular at the end\\ \\0500 1100 Lv \\1100 1700 Reg\\ \\The last record does not qualify\\ (not defined in Apply TCS)\\Hours To Be Applied = 4- 6 = -2\\(so nothing to apply)\\ \\Results after apply:\\0500 1100 Lv\\1100 1700 Reg|Regular at the end\\0500 1100 Lv\\1100 1700 Reg\\ \\The last record qualifies Hours To Be Applied = 4\\ \\Results after apply:\\0500 1100 Lv\\1100 1300 Reg\\1300 1700 OT
|2.|Leave at the end\\0500 1100 Reg\\1100 1700 Lv\\ \\The last record qualifies\\Hours To Be Applied = 4\\ \\Results after apply:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\Regular and Leave qualify\\0500 0900 Reg\\0900 1500 Lv\\1500 1700 Reg\\ \\The last record does not qualify (not defined in Apply TCS)\\Hours To Be Applied = 4- 2 = 2\\ \\Results after applying:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 Reg|Leave at the end\\0500 1100 Reg\\1100 1700 Lv \\ \\Results after applying Sequence #1:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\Hours To Be Applied = 4\\Last record does not qualify\\ Hours To Be Applied = 4 - 2 = 2\\ \\Next record does not qualify\\Hours To Be Applied = 2 - 2 = 0\\ \\Results after apply Sequence #2:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\Regular and Leave qualify\\0500 0900 Reg\\0900 1500 Lv\\1500 1700 Reg\\ \\The last record does not qualify (not defined in Apply TCS)\\Hours To Be Applied=4- 2=2\\ \\Results after applying Sequence #1:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 Reg\\ \\Hours To Be Applied = 4\\Last record qualifies\\Hours To Be Applied = 4 - 2 = 2\\Next record does not qualify Hours To Be Applied = 2 - 2 =0\\ \\Results after applying Sequence #2:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 OT
| |Regular and Meal qualify similar to sequence #1 but Meal will not be replaced|
| |Leave and meal qualify similar to sequence #2 but Meal will not be replaced|
| |Leave, regular and meal qualify similar to sequence # 3 but the meal will not be replaced.|
|1.|Regular at the end\\ \\0500 1100 Lv \\1100 1700 Reg\\ \\The last record does not qualify\\ (is not in Apply TCS )\\HoursToBeApplied = 4- 6 = -2\\(so nothing to apply)\\ \\Results after apply:\\0500 1100 Lv\\1100 1700 Reg|Regular at the end\\0500 1100 Lv\\1100 1700 Reg\\ \\The last record qualifies HoursToBeApplied = 4\\ \\Results after apply:\\0500 1100 Lv\\1100 1300 Reg\\1300 1700 OT
|2.|Leave at the end\\0500 1100 Reg\\1100 1700 Lv\\ \\The last record qualifies\\HoursToBeApplied = 4\\ \\Results after apply:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\Regular and Leave qualify\\0500 0900 Reg\\0900 1500 Lv\\1500 1700 Reg\\ \\The last record does not qualify (is not in Apply TCS )\\HoursToBeApplied = 4- 2 = 2\\ \\Results after applying:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 Reg|Leave at the end\\0500 1100 Reg\\1100 1700 Lv \\ \\Results after applying Sequence #1:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\HoursToBeApplied = 4\\Last record does not qualify HoursToBeApplied = 4 - 2 = 2\\ \\Next record does not qualify\\HoursToBeApplied = 2 - 2 = 0\\ \\Results after apply Sequence #2:\\0500 1100 Reg\\1100 1300 Lv\\1300 1700 Lv OT\\ \\Regular and Leave qualify\\0500 0900 Reg\\0900 1500 Lv\\1500 1700 Reg\\ \\The last record does not qualify (is not in Apply TCS)\\HoursToBeApplied=4- 2=2\\ \\Results after applying Sequence #1:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 Reg\\ \\HoursToBeApplied = 4\\Last record qualifies\\HoursToBeApplied = 4 - 2 = 2\\Next record does not qualify HoursToBeApplied = 2 - 2 =0\\ \\Results after applying Sequence #2:\\0500 0900 Reg\\0900 1300 Lv\\1300 1500 Lv OT\\1500- 1700 OT
| |Regular and Meal qualify Similar #1 but Meal will not be replaced|
| |Leave and meal qualify Similar #2 but Meal will not be replaced|
| |Leave, regular and meal qualify Similar to sequence # 3 but the meal will not be replaced.|