Leading provider of Account Software
Questions? We got answers!
Support Center > Knowledge base> Article: How to calculate leave balance?

How to calculate leave balance?

Article ID: 53018 Email Print
Question
How to calculate leave balance?

Answer

Refer to Task No.005576

- assume:
   joining date = 09/11/2008
   current year = 2010
   1st 2 years = 8 days. (AL entitlement)
   after 2 years below 5 years = 12 days. (AL entitlement)

- Entitlement column will show total Annual Leave for current year.
- when date 09/11/2010, the employee already serve for 2 years.
- so from 01/01/2010 to 09/11/2010. the employee entitled 8 days.
- start from 10/11/2010, the employee will entitled 12 days. because he already served more than 2 years.
- to calculate the whole entitlement for current year, this is what system do:

  month of service = 08/11/2010 - 01/01/2010 = 10.266666666667
  month of service * 8 days / 12 = 6.8.....

  month of service left = 31/12/2010 - 09/11/2010 = 1.733333333333333
  month of service left * 12 days / 12 = 1.7.....

  round up(6.8) = 7
  round up(1.7) = 2

 entitlement for year 2010 = 7 + 2 = 9 days.

*same like bonus calculation.


related articles

Article Details
Views: 1332 Created on: Aug 18, 2014
Date updated: Aug 18, 2014
Posted in: Delphi

Poor Outstanding