cancel
Showing results for 
Search instead for 
Did you mean: 

Absence Quota Generation

Former Member
0 Kudos

Hi,

i'm calculating the overtime in the time evaluation with clock times, i'm collecting these hours in the time type, and i want to use the hours in this time type to generate an absence quota with the following rule:

each eight hours (one working day) should add one day to the quota and the remainder stay as it is in the time type till it collects another eight hours

this quota will be (Time in Lieu), while i'm creating all other absence quotas using default values and the report RPTQTA00.

so the question is: doese anyone have direct steps for this?

Regards;

Evan

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Evan

1. Define a new Time Type e.g. Z999. Do not have it accumulating a period balance

2. Assuming your existing time type accumulating hours for the day is Z000. In an existing or new PCR running under function ACTIO

*

****

HRS=LZ000

HRS+DZ000

HRS?8

<

ADDDBZ000Z

*

HRS-8

ADDDBZ000Z

HRS=1

ADDDBZ999Z

This PCR should be after any PCR's accumulating your daily balances, but before QUOTA.

3. Assign Z999 to the Absence Quota generation rule.

Regards

Simon

Former Member
0 Kudos

Dear Simon,

my problem is not in the PCR, my PCR looks like the one you wrote (somehow) but the problem is that i don't know how to use generation of quota in time evaluation, and how to assign time type to quota to be generated, what special configurations should be done for quotas to be generated using time evaluation, and if i wrote the function TQTA, i think this should generate all quotas while i want to generate only one and the others will be generated using the report and the default values.

Regards;

Evan

Former Member
0 Kudos

Hi Evan,

Could you explain what are the configuration steps that you have followed?

Former Member
0 Kudos

Hi Evan

Most of the steps are the same as for a normal quota in terms of groupings, validity periods and deduction periods. The main additional steps are;

Table V_556A_B

Set the indicator on the relevant quota to 'Increase'

Table V_T559E

Go into the relevant quota and enter Z999 (from the PCR above) into the Day Balance field.

Table V_T559L

Go to the Selection Rules for the relevant quota, then into the 'Transfer time' tab. Select the Upon Accrual option to transfer the balance as soon as it's accrued.

Finally, in your Time Evaluation schema make sure you have a function calling your new PCR (probably function ACTIO), and that function QUOTA is being called at some point after it.

Regards

Simon