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.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If 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.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | LET | V | MONTH END | EM | $S | PERIOD-START-DATE | 00020 | |||
00020 | LET | V | HOURS TO MONTH END | ELPL | ET | REG HOURS | V | MONTH END | 00030 | |
00030 LET | PC | 296 | ADD | EM | REG HOURS | V | HOURS TO MONTH END | 99999 | ||
99999 | EXIT | 99999 |