12:
13: --hr_standard.event('BEFORE REPORT');
14:
15: c_business_group_name :=
16: hr_reports.get_business_group(p_business_group_id);
17:
18: IF p_person_id is null AND p_organization_id is null THEN
19: p_organization_id := p_business_group_id;
20: END IF;
18: IF p_person_id is null AND p_organization_id is null THEN
19: p_organization_id := p_business_group_id;
20: END IF;
21:
22: hr_reports.get_organization(p_organization_id,v_organization_name,v_organization_type);
23: c_organization_name := v_organization_name;
24:
25:
26:
24:
25:
26:
27: IF p_person_id is not null THEN
28: c_person_name := hr_reports.get_person_name(p_session_date,p_person_id);
29: END IF;
30:
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
27: IF p_person_id is not null THEN
28: c_person_name := hr_reports.get_person_name(p_session_date,p_person_id);
29: END IF;
30:
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
28: c_person_name := hr_reports.get_person_name(p_session_date,p_person_id);
29: END IF;
30:
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
29: END IF;
30:
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
30:
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
31: c_abs_type_name1 := hr_reports.get_abs_type(p_abs_type1);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
32: c_abs_type_name2 := hr_reports.get_abs_type(p_abs_type2);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
40: c_abs_type_name10 := hr_reports.get_abs_type(p_abs_type10);
33: c_abs_type_name3 := hr_reports.get_abs_type(p_abs_type3);
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
40: c_abs_type_name10 := hr_reports.get_abs_type(p_abs_type10);
41:
34: c_abs_type_name4 := hr_reports.get_abs_type(p_abs_type4);
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
40: c_abs_type_name10 := hr_reports.get_abs_type(p_abs_type10);
41:
42: c_display_abtypes := NULL;
35: c_abs_type_name5 := hr_reports.get_abs_type(p_abs_type5);
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
40: c_abs_type_name10 := hr_reports.get_abs_type(p_abs_type10);
41:
42: c_display_abtypes := NULL;
43: c_absence_types := NULL;
36: c_abs_type_name6 := hr_reports.get_abs_type(p_abs_type6);
37: c_abs_type_name7 := hr_reports.get_abs_type(p_abs_type7);
38: c_abs_type_name8 := hr_reports.get_abs_type(p_abs_type8);
39: c_abs_type_name9 := hr_reports.get_abs_type(p_abs_type9);
40: c_abs_type_name10 := hr_reports.get_abs_type(p_abs_type10);
41:
42: c_display_abtypes := NULL;
43: c_absence_types := NULL;
44: c_abtypes_entered := 'N';