42: if hr_api.call_leg_hooks then
43: l_legislation_code := PER_ABS_BUS.return_legislation_code(P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
44: );
45: if l_legislation_code = 'DK' then
46: hr_loc_absence.delete_absence
47: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
48: );
49: elsif l_legislation_code = 'FI' then
50: hr_loc_absence.delete_absence
46: hr_loc_absence.delete_absence
47: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
48: );
49: elsif l_legislation_code = 'FI' then
50: hr_loc_absence.delete_absence
51: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
52: );
53: elsif l_legislation_code = 'GB' then
54: PER_GB_ABSENCE_RULES.VALIDATE_ABS_DELETE
58: HR_NL_DAILY_SICK_AND_RECOVERY.DELETE_PERSON_ABSENCE_CHANGES
59: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
60: );
61: elsif l_legislation_code = 'NO' then
62: hr_loc_absence.delete_absence
63: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
64: );
65: elsif l_legislation_code = 'SE' then
66: hr_loc_absence.delete_absence
62: hr_loc_absence.delete_absence
63: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
64: );
65: elsif l_legislation_code = 'SE' then
66: hr_loc_absence.delete_absence
67: (P_ABSENCE_ATTENDANCE_ID => P_ABSENCE_ATTENDANCE_ID
68: );
69: end if;
70: end if;