cancel
Showing results for 
Search instead for 
Did you mean: 

Help in Modifying TIME PCR

Former Member
0 Kudos

zua1.pngDear All,

Please modify the PCR for time.

Requirement:

If HRS= 8 THEN ADD TO DAY BAL. It was already there.

Please modify if Hrs =9 then also add to day balance.

Im new in Pcr writing. Kindly help.

Its very urgent.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member193210
Active Contributor
0 Kudos

Your pcr uses Operation HRS?8 to make a decision, and the 2 return values used are = (equal) and * (other), so if the return key is *, you need to make a second decision on the value of 9. This will also have 2 return values, = and *.

Former Member
0 Kudos

Can You plz share the PCR?

Answers (2)

Answers (2)

Former Member
0 Kudos

I made a PCR and it got resolvedzua1txt.png

former_member193210
Active Contributor
0 Kudos

In your pcr ZUA1, replace Operation COLOP * by Operation HRS?9, create the possible return values, and select the appropriate Operations for each return value. Test it with an employee for whom the Daily value of Time Type Z001 will be smaller than 8, greater than 8, equal to 8, and then equal to 9, and see if the results are compatible with your requirements.

If you have problems, post your pcr and explain what does not work according to plan.

Former Member
0 Kudos

Dear Sir,

Issue has been resolved.

Thanks a ton.

former_member193210
Active Contributor
0 Kudos

For the benefit of others that may look at this, could you post a copy of your pcr to show how you resolved it?