cancel
Showing results for 
Search instead for 
Did you mean: 

PCR Issue

Former Member
0 Kudos

Dear All,

At client side, they were having leave on Saturday, 03.10.2014. It was a public holiday with a Saturday. An employee has a present on that day. So, there is a wage type 3550, which is used for overtime payment in such cases. Time Type is 0901. Rule is as below:

3550

  ADDDB0901  Add to day balance

  ADDOT *    Add to table ZML

Now the rule attached shows the calculation of time type 0901.

If there is a public holiday with a saturday, this rule works perfectly fine when employee comes to work, i.e., wage type 3550 is generated. But if there is only a Saturday (which is a weekoff) without any public holiday on the same day, this rule does not work. Can you please help me to find the solution?

Regards,

Bhagyashree

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Any Suggestions?

Regards,

Bhagyashree

venkateshorusu
Active Contributor
0 Kudos

Looking at the attached document it is little difficult to understand what exactly the logic is written there why do not you send the screen shot of it we can understand it clearly.

As far i understand logic is written to check the Valuation class of PWS and DWS class condition is satisfied then they are checking the week day whether it 1 or 7 if it is not equal i.e week days 2,3,4,5,6 then fill the time type 0901.

I think there might be further some logic has been placed in another rule.

Regards

Venkatesh

Former Member
0 Kudos

Yes you are right Venkatesh.

I will provide the screen shots too in my next reply,

Regards,

Bhagyashree

Former Member
0 Kudos

Need help, as this is really very urgent.

Regards,

Bhagyashree

sikindar_a
Active Contributor
0 Kudos

Firstly

Test the below two scenarios :-

1. Public holiday on week day

2. Public holiday on Week off

and the PCR which you have shared is not the correct one i think , Check the entire logic and find out the pcr which Queries the abvoe given time type

venkateshorusu
Active Contributor
0 Kudos

As mentioned earlier there are other rules which are having connection to &W10 need to get those details as well here only thing is happening is check the Valuation class of PWS and DWS class condition is satisfied then they are checking the week day whether it 1 or 7 if it is not equal i.e week days 2,3,4,5,6 then fill the time type 0901.

Execute program in simulation mode and check what other conditions or rules are implemented.

Regards

Venkatesh

Former Member
0 Kudos

Thank you Sikindar (the great man on SDN I know) for the query. The issue is resolved.

Regards

Bhagyashree

Sanky
Active Contributor
0 Kudos

Hi Bhayashree,

Check in the PCR anything is like below.

*

  ****

       VARSTFREE?

             N

                LEAVE

             Y

                VARSTHOLCL

                    *

                       HRS=S

                       ADDDB0901

                       ADDZL 3550

                    1

                       HRS=S

                       ADDDB0901

                       ADDZL 3550

Check and tell me.

Regards,

Sankarsan

Answers (0)