I am building a database to track contract employee attendance as well as leave taken.
As contract employees, persons employment have a specific start and definite end date. In this regard a person may have a contract for three years starting on 15 August 2015 and is to end 14 August 2018.
Using the specific contract period to represent the general reality, during that contract period, the employee is entitled to 14 days sick leave per calendar year which if not utilized does not go over to another calendar year.
However, for vacation leave, the person earns either 15, 20 or 25 days per year which if not taken in the particular year rolls over into the ensuing year. So for instance, if an employee is entitled to 15 days in year but does not take any or takes part of the vacation leave, the unutilized leave is added to the eligibility for the next year. Note that for vacation leave, the year is determined by the anniversary date of engagement.
My challenge is who to structure the tables to satisfy the requirements as described, so that I can obtain for any employee, leave taken and the balance of leave available to the employee.
Thanks for your assitance.
As contract employees, persons employment have a specific start and definite end date. In this regard a person may have a contract for three years starting on 15 August 2015 and is to end 14 August 2018.
Using the specific contract period to represent the general reality, during that contract period, the employee is entitled to 14 days sick leave per calendar year which if not utilized does not go over to another calendar year.
However, for vacation leave, the person earns either 15, 20 or 25 days per year which if not taken in the particular year rolls over into the ensuing year. So for instance, if an employee is entitled to 15 days in year but does not take any or takes part of the vacation leave, the unutilized leave is added to the eligibility for the next year. Note that for vacation leave, the year is determined by the anniversary date of engagement.
My challenge is who to structure the tables to satisfy the requirements as described, so that I can obtain for any employee, leave taken and the balance of leave available to the employee.
Thanks for your assitance.