Skip to Content
0
Former Member
Mar 26, 2009 at 11:41 AM

Help required in Time mangement Rule writing

28 Views

Hi All,

The requirement is as follows:

The company is going to offer a new type of leave entitlement u2013 Employee Sick Leave. This new leave entitlement should be given to the active employees in the following Personnel Areas:

1030 - only Personnel Sub-Area

1040 - all Personnel Sub-Areas

1050 - all Personnel Sub-Areas

1051 - all Personnel Sub-Areas

1070 - all Personnel Sub-Areas

This leave is to be given to each employee at the beginning of the calendar year. Each employee is to receive 5 days of this entitlement. At the end of the year, what has not been used will be lost. There is no cash-out for this upon termination.

For employees hired after January 1, the schedule for loading their initial balance is:

Month of Hire days to be accrued

Jan 5

Feb 5

March 4

April 4

May 3

June 3

July 3

August 2

Sept 2

Oct 1

Nov 1

Dec 0

Please note we are using Negative time mangement.

WE created arule which is attched but the problem is that with this rule the hired employee is accruing 5 days every day.

The rule we created is as follows

1234 Personnel Calculation Rule 1234

|-" *

|-" ****

|---HRS=YSSA Set

|-" HRS?1 Decision op. HRS

|-" *

| |---HRS=M1234 Set

| |-" VARSTCURMO Current period

| |-" **

| | |---LEAVE Stop with PC Rule

| |-" 01

| | |---HRS=40 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234 Add to day balance

| |-" 02

| | |---HRS=5 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234 Add to day balance

| |-" 03

| | |---HRS=4 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234 Add to day balance

| |-" 04

| | |---HRS=4 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 05

| | |---HRS=3 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 06

| | |---HRS=3 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 07

| | |---HRS=3 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 08

| | |---HRS=2 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 09

| | |---HRS=2 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 10

| | |---HRS=1 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 11

| | |---HRS=1 Set

| | |---ADDDBABCDZ Set day balance = 0

| | |---HRS=1 Set

| | |---ADDDB1234Z Set day balance = 0

| |-" 12

| |---HRS=0 Set

| |---ADDDBABCDZ Set day balance = 0

| |---HRS=1 Set

| |---ADDDB1234Z Set day balance = 0

|-" <

|---LEAVE Stop with PC Rule

ealy help is greatly appreciated

Cheers Rajeev