1: PACKAGE BODY hr_ni_chk_pkg AS
2: /* $Header: penichk.pkb 120.4 2011/06/14 10:20:59 npershad ship $ */
3: --
4: -- Package Variables
5: --
2: /* $Header: penichk.pkb 120.4 2011/06/14 10:20:59 npershad ship $ */
3: --
4: -- Package Variables
5: --
6: g_package varchar2(33) := ' hr_ni_chk_pkg.';
7:
8: /*
9: Name : hr_ni_chk_pkg (BODY)
10: */
5: --
6: g_package varchar2(33) := ' hr_ni_chk_pkg.';
7:
8: /*
9: Name : hr_ni_chk_pkg (BODY)
10: */
11: --
12: -- ------------------- validate_national_identifier --------------------
13: --
88: hr_utility.set_location(l_proc, 6);
89: --
90: --
91: -- Now call NI validation routine...
92: l_return_value := hr_ni_chk_pkg.validate_national_identifier(
93: p_national_identifier => p_national_identifier,
94: p_birth_date => p_birth_date,
95: p_gender => p_gender,
96: p_person_id => l_person_id,
131: l_nationality varchar2(30);
132: l_return_value varchar2(240);
133: begin
134:
135: l_return_value :=hr_ni_chk_pkg.validate_national_identifier(
136: p_national_identifier => p_national_identifier,
137: p_birth_date => p_birth_date,
138: p_gender => p_gender,
139: p_person_id => p_person_id,
616: hr_utility.raise_error;
617: when local_warning then
618: hr_utility.set_warning;
619: end check_ni_unique;
620: end hr_ni_chk_pkg;
621: