DBA Data[Home] [Help]

APPS.PER_PL_CREATE_PERSON dependencies on HR_UTILITY

Line 51: IF NOT hr_utility.chk_product_install('Oracle Human Resources', 'PL') THEN

47: BEGIN
48: g_package := 'PER_PL_CREATE_PERSON.';
49: l_proc := g_package||'CREATE_PL_PERSON';
50: /* Added for GSI Bug 5472781 */
51: IF NOT hr_utility.chk_product_install('Oracle Human Resources', 'PL') THEN
52: hr_utility.set_location('Leaving : '||l_proc,10);
53: return;
54: END IF;
55: l_person_type_key := 'CONTACT';

Line 52: hr_utility.set_location('Leaving : '||l_proc,10);

48: g_package := 'PER_PL_CREATE_PERSON.';
49: l_proc := g_package||'CREATE_PL_PERSON';
50: /* Added for GSI Bug 5472781 */
51: IF NOT hr_utility.chk_product_install('Oracle Human Resources', 'PL') THEN
52: hr_utility.set_location('Leaving : '||l_proc,10);
53: return;
54: END IF;
55: l_person_type_key := 'CONTACT';
56: l_system_type := 'OTHER';

Line 81: hr_utility.set_message(800,'HR_375873_FIRST_NAME_REQD');

77:
78: --Insured by is yes or Inheritor is yes.Citizenship and First Name are required.
79: -- Bug 4567534 : Replaced hr_api.mandatory_arg_error with an error message.
80: if p_first_name is NULL then
81: hr_utility.set_message(800,'HR_375873_FIRST_NAME_REQD');
82: hr_utility.raise_error;
83: end if;
84:
85: hr_api.mandatory_arg_error

Line 82: hr_utility.raise_error;

78: --Insured by is yes or Inheritor is yes.Citizenship and First Name are required.
79: -- Bug 4567534 : Replaced hr_api.mandatory_arg_error with an error message.
80: if p_first_name is NULL then
81: hr_utility.set_message(800,'HR_375873_FIRST_NAME_REQD');
82: hr_utility.raise_error;
83: end if;
84:
85: hr_api.mandatory_arg_error
86: (p_api_name => l_proc,

Line 99: hr_utility.set_message(800,'HR_375874_NIP_REQD');

95: If p_per_information3='Y' and p_per_information8='PL' and p_nationality='PQH_PL' then
96:
97: -- Bug 4567534 : Replaced hr_api.mandatory_arg_error with an error message
98: if p_per_information1 is NULL then
99: hr_utility.set_message(800,'HR_375874_NIP_REQD');
100: hr_utility.raise_error;
101: end if;
102:
103: End if; -- End if of Inherited by employee in 'Yes' and nationality and citizenship are Polish

Line 100: hr_utility.raise_error;

96:
97: -- Bug 4567534 : Replaced hr_api.mandatory_arg_error with an error message
98: if p_per_information1 is NULL then
99: hr_utility.set_message(800,'HR_375874_NIP_REQD');
100: hr_utility.raise_error;
101: end if;
102:
103: End if; -- End if of Inherited by employee in 'Yes' and nationality and citizenship are Polish
104: */

Line 116: hr_utility.set_message(800,'HR_375878_NIP_OR_PESEL');

112: --If Insured by is yes and nationality and citizenship are both polish ,
113: --either of NIP or PESEL needs to be entered.
114:
115: IF p_nationality = 'PQH_PL' and p_per_information8='PL' and p_per_information1||p_national_identifier is null then
116: hr_utility.set_message(800,'HR_375878_NIP_OR_PESEL');
117: hr_utility.raise_error;
118: END IF; -- End if of Nationality in Polish,Insured by is Yes,nationality and citizenship are POLISH
119:
120: END IF; -- End if of Insured by Employee in 'Yes'

Line 117: hr_utility.raise_error;

113: --either of NIP or PESEL needs to be entered.
114:
115: IF p_nationality = 'PQH_PL' and p_per_information8='PL' and p_per_information1||p_national_identifier is null then
116: hr_utility.set_message(800,'HR_375878_NIP_OR_PESEL');
117: hr_utility.raise_error;
118: END IF; -- End if of Nationality in Polish,Insured by is Yes,nationality and citizenship are POLISH
119:
120: END IF; -- End if of Insured by Employee in 'Yes'
121: END IF;--per_information2 or per_information3 is yes?