!!ANN – Anniversary Check

ANN is provided to allow a simple way to check if the anniversary of a chosen date falls in the current pay period. 
This command has a true path (If Goto) and a false path (Else Goto).

;Statement:If this pay period includes the employee’s birthday, give the employee a $10.00 birthday bonus (stored in PC 150), else Exit.

||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto||Else GoTo
|00010|	ANN|   |          |BD	 |DB |EID.BIRTH_DATE| | |00100|	99999
|00100|	LET|PC|150|EQ|N|10|  |  |99999|	
|99999|	EXIT|  |  |  |  |  |  |  |99999|	

;Statement:If the pay period includes the employee’s anniversary date, give 1% of the employee’s annualized salary as a pension contribution (stored in PC 6000).

||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto||Else GoTo
|00010|ANN|  |  |BD|DB|EEM.HIRE_DATE|  |  |00100|99999
|00100|LET|V|ANNUALIZED SALARY|WAGE|WB|YR|  |  |00110|  	
|00110|LET|PC|6000|PRC|V|ANNUALIZED SALARY|N|1.00|00120|  	
|00120|LET|PC|6000|RDN|PC|6000|N|.01|99999|  	
|99999|EXIT|  |  |  |  |  |  |  |99999|  	


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