cancel
Showing results for 
Search instead for 
Did you mean: 

Need to write PCR for particular employee subgroup

Former Member
0 Kudos

How to write a PCR for particular employee subgroup in time management?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member193210
Active Contributor
0 Kudos

try using operation OUTWPPERSB.

The return values should be all the Employee Sub-Group you want to process, and a double star for those you don't want to process (or the reverse, depending on what list is greatest).

Former Member
0 Kudos

<p>I need to generate absence quota for a particular employee sub group grouping as per the above mention logic.</p>

<p>So please help me and let me know where to update the grouping so that when I run time evaluation it PCR could read only those employee sub group and generate quota.</p>

Former Member
0 Kudos

you can create a new PCR  P102.

IF P102

Actio ZVAL

ENDIF

write PCR P102 for setting true for your choice of ESG.

*

****

OUTWPPERSB

** SCOND=F IF

EE SCOND=T IF

Hope you got it.

Regards

Aj

Former Member
0 Kudos

I forget to see this as you are looking to generate quota for particular employee sub group grouping --> then create generation rule for that particular sub group grouping. it will create the quota

For rest the time type will not make sense and would not do anything.

This is simplest way, else i have told you how to write condition based on employee subgroup...

Regards

Aj

Former Member
0 Kudos

Hi Ajay,

I have already created the generation rule and written the PCR logic for quota creation,but in time evaluation I am getting error as my PCR is reading data for all employee subgroup grouping as this particular quota type is not created for rest other ESG.

Any idea how can I control the same. In PCR instead of * if I have maintained my ESG grouping I am able to run TE for other ESG employee but when I am executing the TE for my required ESG the PCR is not getting processed in TE.

Please help its urgent.

BR,

Anil

former_member193210
Active Contributor
0 Kudos

As your first operation in the PCR, use OUTWPPERSB.


For return value XX (the Employee Sub-Group you need), proceed with the other operations you already have, but for return value ** (meaning any other ESG) use no operations.

sikindar_a
Active Contributor
0 Kudos

I think there is problem in understanding the requirement

If your requirement is to generate particular Quota based on Employee sub
Group ( The operation will be as suggested

  1. OUTWPPERSB - This will help us to Query Sub Group )

But , the problem comes it should get generate only on one day when employee
changes the Sub Group Time Evaluation log will run for every day.please confirm whether my understanding is correct or wrong.

former_member182377
Active Contributor
0 Kudos

Hi Anil.

First write the PCR as per our experts said.. and let us know is it working or not by sharing the screenshot.

Thanks

Sriram

Former Member
0 Kudos

Hi Anil

use operation OUTWPPERSB . It will give you employee subgroup in return. Write your logic for your choice of employee subgroup. Hope you will do it now.

Regards

Aj

Former Member
0 Kudos

Thanks Ajay for your prompt reply. The above PCR is applicable for one particular subgroup, so where maintain the same. or Can you help me sample or logic structure looking at above screenshot to write PCR. Br, Anil

Sanky
Active Contributor
0 Kudos

Hi Anil,

Suppose your employee subgroup is EG.

Then your PCR would like below,

ZVAL

*

  ****

         OUTWPPERSB

                 **

                    LEAVE

                 EG

                      HRS=YDSMZ4

                      HRS?0

                         *

                            HRS=0.0

                            ADDDB3019Z
                        =

                            HRS=YDRMZ5

                            HRS*-1

                            ADDDB3019Z

Or you can design it through QUOMO feature if it's related to Quota Generation.

Regards,

Sankarsan

Sanky
Active Contributor
0 Kudos

Hi,

If your query is answered then close the thread with correct answer marking.

Regards,

Sankarsan

Former Member
0 Kudos

Hi

I would like to use this rule for particular employee subgroup in time management.

Any idea how to achieve it?