Skip to Content
avatar image
Former Member

Modification in PCR

Hi Expats,

My client's requirement is to Generate 30 PL quota for the year. If employee not using whole number of PL quota then remaining PL quota should carry forward for the next financial year and Employee's can only entitle maximum 60 quotas more then 60 quotas gonna be encash.

All configuration has done upto encashment but the problem is

eg. 2013 - 2014 PL Quota generate 30 (Employee not use any quota)

     2014 - 2015 PL Quota is 60 (Employee not use any Quota)

     2015 - 2016 PL Quota is 60 and 30 quota will be encash

But in 2016 - 2017 Quota is 60 and 30 quota should encash but it encash 60 quota.

How I deduct previous encash quota from current encash quota. I'm using PCR to generate and encash quota

PCR to set maximum entitlement and encash PL quota

Please help me to short out the problem

Thanks

Untitled.png (15.8 kB)
Untitled.png (13.0 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 08, 2015 at 06:00 PM

    Create 3 Quotas: Current Year, Cumulated Balance, Overflow to Cash-In

    On the last day of the Cumulation Period, transfer the balance of the Current Year's Quota and of the Cumulated Balance Quota into Information Time Types.

    On the first day of the Cumulation Period, generate the new allowance for the Current Year Quota, total the sum of the cumulated balances from yesterday and compare it to 30 in order to identify what will be the starting allowance for the Cumulated Balance Quota, and if the number is greater than 30 the extra would be the starting allowance of the Overflow to Cash-In Quota.

    Note that you could then set the automatic payment of the Overflow to Cash-In Quota.

    P.S. : Note that there are already many discussion threads on how to carry forward quota balances.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 02, 2015 at 07:03 AM

    Hi Rabi,

    For the excess quota amount you are using ZCLC time type if i am correct.After passing the value to ZL WT9001 make it zero.

    Redesign your 2nd pcr like below.

    ZPL1

    *

      ****

            HRS=MZCLCZ

            HRS*-1

            ADDZLS9001

            HRS=0

            ADDMBZCLCZ

    Check and tell me.

    Regards,

    Sankarsan

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Rabi,

      You are transfering excess quota to day balance time type ZPL2 and this is linked with 02 quota type.

      Now you are checking that Quota Type 02 has increased more than 60 or not. If more than 60 then excesss quota should be encashed.

      After HRS-CZCAPV add ADDDB9001Z  (Time type 9001 only click on day balance as 1)

      After this pcr write another pcr like below

      ZQEN

      *

      ****

            HRS=D9001

            ADDZL 9001

      Check and tell me.

      Connect with me in gmail which is in my profile.

      Regards,

      Sankarsan