ET - Transaction To Date Element Value #
On rare occasions, it may be necessary to know the value of a group of pay components for all the transactions in the pay period up to a given date. In this case, the ELPL (Element Pay Line Value) operator and the ET (Transaction to Date Element Value) operand type may be used to access this information. All transactions with an effective date greater than or equal to the period start, and less than or equal to the given date, will be returned.
ET can only be used with the ELPL Operator.Statement:If the total time worked by the 1st week of the biweekly pay period is greater than 30 hours for a part time employee, create a warning on the Exceptions Report.
Line | CMD | OT | Operand 1 | OPER | OT | Operand2 | OT | Operand3 | If Goto | Else GoTo |
---|---|---|---|---|---|---|---|---|---|---|
00010 | IF | DB | DGR.GROUP_CODE | EQ | A | PART-TIME | 00100 | 99999 | ||
00100 | LET | V | WK1 END DATE | EW | $S | PERIOD-START_DATE | 00110 | |||
00110 | LET | V | WK1 TIME WRKD | ELPL | ET | TIME WRKD | V | WK1 END DATE | 00120 | |
00120 | IF | V | WK1 TIME WRKD | GT | N | 30 | 00200 | 99999 | ||
00200 | MSG | A | PT EE >30 HRS WK1 | 99999 | ||||||
99999 | EXIT | 99999 |