!!PPE - Pay Period Date Check

This command performs a check that a specified date falls within the pay period. The date used may be a variable, database date field, or hard-coded date. 

It is necessary that any variable used be defined as a date field or be converted to a date using the DATE function

This command has a true path (If Goto) and a false path (Else Goto).

;Statement: If April 1st falls within the pay period let PC 200 equal 10, else exit the UserCalc.

||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto||Else GoTo
|00010|LET|V|APRIL 01|BY|$S|PERIOD-END_DATE|A|+3M|00020|	
|00020|PPE| | |BD|V|APRIL 01|  |   |00030|99999
|00030|LET|PC|200|EQ|N|10|  |  |99999|	
|99999|EXIT|  |  |  |  |  |  |  |99999|	


----
![Notes|Edit:Internal.PPE_COMMAND] 	
[{InsertPage page='Internal.PPE_COMMAND' default='Click to create a new notes page'}]