cancel
Showing results for 
Search instead for 
Did you mean: 

PL Quota Accrual for every 12 days

Former Member
0 Kudos

For PL Quota, requirement is it should be Accrued after every 12 days with 1 day.

In Selection Rules, there is Monthly and Daily Accrual possible but how to do for every 12 worked days.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member184702
Active Contributor
0 Kudos

Hi Saureb ,

As per your requirement , need to write PCR.

PCR-1 : It is accuring the till 12 days

*

****

HRS = MTimetype-1

HRS?12

*

Colop *

=

HRS =1

ADDDBtimetype-2

HRS=0

ADDDBtimetype-1Z

PCR -2 :checking the employee's DWS

*

****

VARSTDPRCL

*

  VARSTHOLCL

   *

     VARSTP2001

       N

        HRS=1

        ADDDBTIMETYPE-1

       Y

       COLOP*

   1

    COLOP*

0

COLOP*

please try this and let me know if you are facing any issues,

Thanks

Siva Prasad

Former Member
0 Kudos

Hi ,

This can be done through time evaluation (TQTA), you got to write a rule to generate 1 day for every 12 days. previous day ZES table needs to be checked whether it has 11 days + current day otherwise keep adding a day to accumulate (previous day + 1), once it reaches 12, initialize and start over again .

Regards

Whiteraystech.com

Former Member
0 Kudos

This means by std config i wont be able to do it, i need to write a PCR for this.

Please guide me how to do it.

Former Member
0 Kudos

Yes you could achieve only through pcr, please let me know the 12 days are calendar days or work days, if they are going to be work days then are they going to be based on work schedule or clock-in and clock-out?

Regards

Whtieraystech.com

Former Member
0 Kudos

Its 12 calendar days.

Former Member
0 Kudos

Hi Saureb,

you have to write write a PCR for this requirement. It is not possible by standard config.

you can use the below PCR.

ZPCR

*

  ****

   HRS=LABCD     "Get Time type from Previous day

   HRS+1              "Add 1

   HRS?12             " Check if it is 12

   *

   =

    HRS=2             

    UPDTQAAQ       " Update Quota type AQ

    HRS=0

    ADDDBABCDZ

Pradeep.