Field help (CNG2PRI) 

Rights taken based on the chosen date = value of the payroll total including the number of days taken N-1 (example: 2009) and N (example: 2010 at the selected pay date. These total codes are set up in the Annual leave periods.

The total of leaves taken is searched at the date identical to the pay date found for the total of rights.