Skip to Content
0
Former Member
Jun 15, 2016 at 10:00 AM

How can we include & exclude public holiday while applying absences for a single WSR

71 Views

Hi Friends,

This is very urgent as I am running out of time to find out a solution to meet below requirement.

"There are two absence types 1000 & 2001 both are not linked to quota. When employee will book absence for 1000 on a public holiday, the day should be excluded to count as an absence day whereas for absence type 2001, public holiday should be included & considered to be an absence day".

Note: For public holiday, the holiday class is 1.

My Approach to meet this requirement

  1. Created two counting rules 001 & 002
  2. For counting rule 001 (to consider public holiday as an absence day), I have checked the check box for 'Not a public holiday & holiday class 1'.
  3. For counting rule 002 (to exlude public holiday as an absence day), I have checked the check box for 'Not a public holiday & others field are unchecked.
  4. Counting rule 001 is linked to absence type 2001 & 002 is linked to abs type 1000.

However, it is not working as expected.

Could you please let me know if I am missing something. Appreciate all your quick response on this.

Regards,

Prakash