Skip to Content
0

PCR payroll set time pair

Dec 29, 2016 at 01:42 PM

32

avatar image

Hello, I need an advice about setting a payroll PCR (YNGO). I have to change a wage type time pair based on a condition. In my case I should create a new wage (M526) type based on existing wage type (M546), but if ending time of existing wage type is greater of 24, I should cut new ending time to 24. I have done something like this, but I can not cut the ending time.

YNGO 
    *
      ****
        OUTZL WGT  Wage type
          *
            ADDZL *    Add to table ZL
          ****
            ADDZL *    Add to table ZL
          M546
            ADDZL *    Add to table ZL
            HRS=EEND   Set
            HRS-24     Subtraction
            HRS?0      Decision op.     HRS
              *
              >
                HRS=24     Set
                HRS-EBEG   Subtraction
                ADDZLSM526 Add to ZL, IFTYP S

Can someone help me how to cut ending time of wage type M546?

Regrads,

Igor

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers