EY_ELEMENT

EY - Year To Date Element Value#

The EY (Year to Date Element Value) may be used when it is necessary to use the Year-to-Date value of a number of Pay Components grouped together.

This only includes closed pays in history, and does not include the current payrun value of the element.
Statement
Let Pension hours be equal to year-to-date hours worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LETPC296EQEYREG HOURS 99999
99999 EXIT 99999
Statement
Let Pension hours be equal to total year-to-date hours (year-to-date plus current pay period) worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LETVYEAR END EY$SPERIOD-START-DATE 00020
00020 LETVHOURS TO YEAR ENDELPLETREG HOURSVYEAR END00030
00030LETPC296ADDEYREG HOURSVHOURS TO YEAR END99999
99999EXIT 99999


Notes #

Click to create a new notes page