Skip to Content
avatar image
Former Member

Help in Modifying TIME PCR

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

zua1.png (9.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 28, 2016 at 01:04 PM
    -1

    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 *.

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 30, 2016 at 01:04 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Dec 02, 2016 at 04:55 AM

    I made a PCR and it got resolvedzua1txt.png

    Add comment
    10|10000 characters needed characters exceeded