cancel
Showing results for 
Search instead for 
Did you mean: 

Absence Quota Carry over

jimso101
Active Contributor
0 Kudos
93

Dear Experts,

I have created a PCR for Quota Carry over.But still after running PT60,in IT 2006 the Quota is not getting added up.Instead it is showing the QUota separately for each year.

Please help.

Regards

MJ

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

A while ago I wrote an article on how to implement Carry Over Vacation...

Here is the article that you can use...: http://www.soniconsulting.com/2010/carry-over-leave-quota-through-time-evaluation/

Try modifying as needed and this should help.

- Harshal

jimso101
Active Contributor
0 Kudos

Hi Experts,

Thanks for your response.

Now PCR is working fine as expected,except one error.

Every year PL Leave 21 days will be accrued.Next year again 21 days ,but in carry over leave 15 days should get lapsed and the rest should get add to this year.

ZAPL is holding previous period leave balance.

ZQPL is holding present year Leave.

HRS=MZAPL Set

HRS?CZPM30 Decision op. HRS

*

>

HRS=CZPM30 Set

ADDDBZAPL- Subtract day balance

HRS=MZAPL Set

ADDDBZQPL Add to day balance

ZPM30 is a constant having value 15

Now its keep on adding 21 days without reducing 15 days .

So can i have a help here in completing this PCR.

Thanks & Regards

MJ

Former Member
0 Kudos

Hi,

You should follow simple logic.

If you should store last year Quota balance in Day balance at the last day of leave year.And again in current year first day only you should call as HRS=Lxxxx (XXXX is time type of stored Quota day balance).

In case of Month balance HRS=Oxxxx..Better store in day balance instead of month balance. Quota transfer Issues will reduce if use day balance.

jimso101
Active Contributor
0 Kudos

Hi,

Since we are using Financial year as Accrual Period(April to March),i have changed accordingly.

HRS=LZAPL Set

HRS?15 Decision op. HRS

*

>

HRS=LZAPL Set

HRS-15 Subtraction

ADDDBZQPL Add to day balance

But it is always adding 6 days to present year leave days.

So i think its bringing in 21 days always as ZAPL.

So how to change it?

Thanks & Regards

MJ

Former Member
0 Kudos

Hi,

HRS=LZAPL Set ( Here in ZAPL 21 days right ??)

HRS?15 Decision op. HRS

*

colop* (required)

>

HRS=LZAPL Set (Here in ZAPL 21 days right ??)

HRS-15 Subtraction (from 21 days your reducing 15 days here means in zapl only 6days right) (Don't deduct 15 days remove this)

ADDDBZQPL Add to day balance ( here its adding 6days in ZQPL)

So, system responding correct........

jimso101
Active Contributor
0 Kudos

Hi ,

Yes first time it is correct.Next Year 21+6=27 days will be balance.So ZAPL will be 27.

So it should reduce 15 days.Rest should be 12 days.Then adding with 21 days(Present Year).So it should come 33 days.Then 42 days etc.......

But its not coming........

Thanks & Regards

MJ

jimso101
Active Contributor
0 Kudos

Hi Dear,

Yes you are correct its working fine.Sorry for creating confusion.Thanks a lot.Issue is resolved.

Thanks & Regards

MJ

Answers (2)

Answers (2)

Former Member
0 Kudos

Thats ok. But provide your PCR here. So that, experts will check it and let you know where you went wrong. Unless and otherwise without checking your PCR it is hard to find the fault.

Regards,

Jagadeesh

Former Member
0 Kudos

Provide PCR and business logic also then experts will respond where it went wrong.

Details like for which country and Leave Quota type and conditions..

jimso101
Active Contributor
0 Kudos

Hi Experts,

The requirement is to carry over the quota to next period.

The leave type is Sick leave and Privilege Leave.

Sick Leave -7 days per year(Accrual Period 01.04.20XX to 31.03.20XX).Sick leave will carry over till Max 21 days.

Privilege Leave - 21 days .15 days will lapse everyyear.6 will carry over.

So how should be my Validity and Deduction intervals.

4 time types created.One each for storing entitlement.One each for balance quotas.

Thanks

MJ