cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Generate Comp Off on Holiday and

0 Kudos
373

Hello HCM Experts

I have an requierment where i have to write PCR to generate Comp Off on Public holiday and week off. as am new in this can any one help me to resolve this issue ASAP. i will be thankful.

Regards

Anurag

Accepted Solutions (1)

Accepted Solutions (1)

sikindar_a
Active Contributor
0 Kudos

I have Taken the Below piece of Code from the old thread please check and alter it as per your requirement

VARSTDAYTY DAY TYPE

*

1

IF DAY TYPE IS 1 THEN

HRS=1

ADDDB XXXX YOUR TIME TYPE

IF *

VARSTPRSNT EMPLOYEE AT WORK

Y

HRS=1

ADDDB XXXX (your compff) Add this number to your Quota

N

COLOP*

Answers (2)

Answers (2)

0 Kudos

No Sikindar not for Payroll here i want create one more quota for comp off, below i have mentioned requierment of client.

If employee worked on Holiday calendar then its should give one comp Off Leave Quota,

do you have any predefined PCR for same please share with me.

Regards

Anurag Singh

0 Kudos

Thanks Sikindar you are best

sikindar_a
Active Contributor
0 Kudos

You can define the holidays based on Day type right, Write PCR and pass the comp off-hours to Payroll