Skip to Content
1
Former Member
Nov 10, 2010 at 10:14 AM

Problem in carry forward PCR

29 Views

Hello ,

I have written a below PCR to carry forward maximum 10 leaves to the next year .

ZO02 Personnel Calculation Rule ZO02

*

****

VARSTCURMO Current period

**

03

VARSTREDAY Rel. day of period

**

31

HRS=FR05C Set

ADDDB9001 Add to day balance

04

VARSTREDAY Rel. day of period

**

30

HRS=9001 Set

HRS?10 Decision op. HRS

*

ADDDB9001 Add to day balance

UPDTQA05 Abs. Quota Accrual

>

HRS=10 Set

ADDDB9001 Add to day balance

UPDTQA05 Abs. Quota Accrual

Problem i am facing in this is value for remaining leaves is correctly coming in time type. but it is not updating in quota .

for example : when i am generating quota in 30 th April 2011 then quota entilment should be 2 + 10 carry forward from previous record if the remaining balance is more the 10 . In this scenario in my time type value is coming correct as 10 . but in Aprill 2011 month it is generating only 2 . it is not updating time types value .

My quota configuration is as follows :

Validity & deduction start & end date is 01042010 - 31032011 24 quota per annum , monthly 2 leaves , monthly accrual period.

Please help in solving this issue .

Thanks & Regards