cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Auto Leave encashment .

Former Member
0 Kudos

Dear Experts .

My Client has auto leave Encashment requirement .

For Example, if any employee has 60 leave at the end of the year (31.12.2015). All leaves above 50 nos should get auto calculated and balance balance carry forward to next year . it is possible . Please share your thought . How it be done .

Regards

Sober .

Accepted Solutions (0)

Answers (2)

Answers (2)

Sanky
Active Contributor
0 Kudos

Hi Rao,

It's possible to make it auto if you are using time evalution.

You will calculate the Leave encashment on the last day of the calendar year. So excess leva quota will transfer from time managment to payroll and quota balnace will be updated with max cap value that is 50.

You can go through the below link and will give you an idea about the design the PCR.

Suppose excess quota carry wage type is 9999 and constant ZMAXM for EL is 50 and amaintained in T511K then PCR would be like below

ZTST

*

  ****

        VARSTCURMO

                **

                   LEAVE

                12

                    VARSTREDAY

                           **

                              LEAVE

                           31

                               HRS=FR01C

                              HRS?CZMAXM

                                   *

                                     LEAVE

                                   >

                                       HRS=FR01C

                                       HRS-CZMAXM

                                       ADDZL 9999

                                       HRS=R

                                       HRS*-1

                                       ADDMB1000Z

                                       UPDTQA01

Use this PCR after QUOTA function with ACTIO function and after this line add CUMBT function again. Here 1000 is the monthly time type which you are using for quota generation for quota type 01 in the base entitlement and 01 is quota type.(most of the case i am assuming that you are doing like this)

Check and tell me.

Regards,

Sankarsan

Former Member
0 Kudos

Hi Sankarsan ,

Thank you very much , I will update the status .

Regards

Rao

venkateshorusu
Active Contributor
0 Kudos

Write a PCR like below.

HRS=FRXXC

HRS?50

*

>

HRS-60

UPDTQAXX

HRS*-1

ADDZL XXXX

Refer XXXX wage type in Payroll and write a PCR according to the calculation formula.

Regards

Venkatesh