Skip to Content
author's profile photo Former Member
Former Member

Leave configuration for 240+15 leaves...

Hello Experts,

I have a query, I have a type of leave 'EARNED Leave' where in the total number of leaves accumulated by an employee can be 240 .... beyond 240 he can add UPTO 15 leaves to his balance .... however..

1) Those 'upto' 15 should not be added in the current balance of 240

2) If an employee applies for a leave of should first be deducted from the 15..and then 240 ....


So basic leave configuration is done ....and the leave is being displayed...... however, I would like to know .... if this scenario can be configured and how?!?!

Please revert with your views and inputs ...

Thank you!!!!

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    Posted on Dec 18, 2015 at 04:59 AM

    Create a new quota and name it Quota over 240. When EL is applied set deduction priority in the quotas such that the EL over 240 is deducted first and then the EL quota is reduced.

    Raghu

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 18, 2015 at 05:46 AM

    Hi,

    You could handle this issue through custom PCR. You have to follow below steps -

    1) Write a PCR to generate yearly Quota.

    2) Carry forward remaining Early Quota

    3) Compare carry forward total quota with 240. If C/F quota exceed 240 store it in another Quota type and allow to store upto 15. Then change deduction rule as priority basis.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 18, 2015 at 06:35 AM

    Hi,

    Your requirement is like below as per my understanding.

    You have earned leave quota type (Say 10) and it's maximum limit is 240. After that whatever quota value he will receive that will cumulate to another leave quota type (Say 11) and it's maximum value is 15. Am I correct?

    Now whenever quota deduction will take place then system should deduct quota from 11 first and then 10.

    I am taking that you are generating quota value 240 correctly in the system. You will sue the day time say 1010 for quota type 11 to update the quota amount .

    ZCHK

    *

    ****

    HRS=FR10C

    HRS?CZMAXQ

    *

    LEAVE

    >

    HRS=FR10C

    HRS-CZMAXQ

    ADDDB1020Z

    HRS=FR10C

    HRS-D1020

    ADDDB1000Z

    UPDTQA10

    PCY ZCHKA

    A

    ****

    HRS=FR11C

    HRS?CZMAXE

    =

    LEAVE

    <

    HRS=FR11C

    HRS+D1020

    ADDDB1030Z

    HRS=D1030

    HRS?CZMAXE

    <

    HRS=D1030

    ADDDB1010Z

    UPDTQA11

    *

    HRS=CZMAXE

    ADDDB1010Z

    UPDTQA11

    Here ZMAXQ and ZMAXE is the constant for 240 and 15 which is stored in constant table V_T511K.

    Check and let me know.

    Regards,Sankarsan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.