!!ELPL - Element Pay Line Values

On occasions, it may be necessary to know the value of a group of pay components for all the transactions (Pay Lines) for a given date range.  In this case, the ELPL orperator will determine the value of an [element|ELEMENTS] for a date range.

There are two ways taht this operator may be used:
* To determine the value from the beginning of the Pay Period to a date passed as Operand 3.
* To determine the value between any two dates, which requires additional set up
** You must define a variable with the name (exactly) as ELPL_BEGIN_DATE, date format, which contains the start date for your inquiry
** Also define a variable with the name (exactly) as ELPL_END_DATE, date format, which contains the end date for your inquiry
** The use of ELPL only looks at Operand 2 for the name of the element.

 All transactions with an effective date greater than or equal to the period start (or ELPL_BEGIN_DATE), and less than or equal to the given date in Operand 3 (or ELPL_END_DATE), will be returned. 

%%information The ELPL operator can only be used with the Operand Type of ET.%%

;Statement:If a part time employee worked more than 30 hours in the 1st week of the biweekly pay period, 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	



[{If var='loginstatus' contains 'authenticated'

----
![Discussion|Edit:Internal.ELPL_OPERATOR] 	
[{InsertPage page='Internal.ELPL_OPERATOR' default='Click to create a new discussion page'}] 	

}]