EF - Fiscal To Date Element Value#

EF (Fiscal to Date Element Value) refers to the element value for the fiscal period to date. This is commonly used if fiscal periods do not match calendar months, and the fiscal value is required for a calculation.

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 the fiscal hours worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LET PC 296 EQ EF REG HOURS 99999
99999 EXIT 99999

Statement: Let Pension hours be equal to total fiscal hours (fiscal-to-date plus current pay period) worked then exit.

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LETVFISCAL ENDEY$S PERIOD-START-DATE A +3M 00020
00020 LETVHOURS TO FISCAL ENDELPL ETREG HOURSV FISCAL END00030
00030 LETPC296ADDEFREG HOURSVHOURS TO FISCAL END99999
99999 EXIT 99999