I have an application that tracks attendance for about 400 employees. And if they have a certain # of tardies, missed days, in a last 12 month period then there are certain levels of disciplinary action that are enforced. So I have a query that goes back 365 days. Everythings great. Until someone has a Leave of Absence, for any reason, (medical, personal, military), and some may be gone 6 mos. and someone may miss a day here and there at random.
This Leave of Absence time is not supposed to count against the employees 12 mo history. My question is how do I not count those days? when I have 100+ employees that took LOA time over the last year and none were at the exact same time for the same amount of days. I need to go back 365 days for each individaul and not count the days that are coded to LOA time.
Any clue as how to handle this problem?
This Leave of Absence time is not supposed to count against the employees 12 mo history. My question is how do I not count those days? when I have 100+ employees that took LOA time over the last year and none were at the exact same time for the same amount of days. I need to go back 365 days for each individaul and not count the days that are coded to LOA time.
Any clue as how to handle this problem?