EM - Month To Date Element Value#

The EM (Month to Date) value is the value of the element for the calendar month to date. This includes only closed pays in history, and does not include the current payrun value of the Element.

Statement: Let Pension Hours be equal to month-to-date hours worked then exit.

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

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

LineCMDOTOperand 1OPEROTOperand2OTOperand3If Goto Else GoTo
00010 LETVMONTH END EM $S PERIOD-START-DATE 00020
00020 LETVHOURS TO MONTH ENDELPLETREG HOURSVMONTH END 00030
00030 LETPC296ADDEMREG HOURSVHOURS TO MONTH END99999
99999 EXIT 99999