DBA Data[Home] [Help]

APPS.HR_RU_PERSON_API dependencies on HR_UTILITY

Line 160: g_debug := hr_utility.debug_enabled;

156: and c_effective_date
157: between per.effective_start_date and per.effective_end_date;
158: --
159: begin
160: g_debug := hr_utility.debug_enabled;
161: if g_debug then
162: hr_utility.set_location('Entering:'|| l_proc, 5);
163: end if;
164: --

Line 162: hr_utility.set_location('Entering:'|| l_proc, 5);

158: --
159: begin
160: g_debug := hr_utility.debug_enabled;
161: if g_debug then
162: hr_utility.set_location('Entering:'|| l_proc, 5);
163: end if;
164: --
165: -- Initialise local variables
166: --

Line 177: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');

173: open check_legislation(p_person_id, l_effective_date);
174: fetch check_legislation into l_legislation_code;
175: if check_legislation%notfound then
176: close check_legislation;
177: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: end if;
180: close check_legislation;
181: if g_debug then

Line 178: hr_utility.raise_error;

174: fetch check_legislation into l_legislation_code;
175: if check_legislation%notfound then
176: close check_legislation;
177: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
178: hr_utility.raise_error;
179: end if;
180: close check_legislation;
181: if g_debug then
182: hr_utility.set_location(l_proc, 20);

Line 182: hr_utility.set_location(l_proc, 20);

178: hr_utility.raise_error;
179: end if;
180: close check_legislation;
181: if g_debug then
182: hr_utility.set_location(l_proc, 20);
183: end if;
184: --
185: -- Check that the legislation of the specified business group is 'RU'.
186: --

Line 188: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');

184: --
185: -- Check that the legislation of the specified business group is 'RU'.
186: --
187: if l_legislation_code <> 'RU' then
188: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
189: hr_utility.set_message_token('LEG_CODE','RU');
190: hr_utility.raise_error;
191: end if;
192: if g_debug then

Line 189: hr_utility.set_message_token('LEG_CODE','RU');

185: -- Check that the legislation of the specified business group is 'RU'.
186: --
187: if l_legislation_code <> 'RU' then
188: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
189: hr_utility.set_message_token('LEG_CODE','RU');
190: hr_utility.raise_error;
191: end if;
192: if g_debug then
193: hr_utility.set_location(l_proc, 30);

Line 190: hr_utility.raise_error;

186: --
187: if l_legislation_code <> 'RU' then
188: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
189: hr_utility.set_message_token('LEG_CODE','RU');
190: hr_utility.raise_error;
191: end if;
192: if g_debug then
193: hr_utility.set_location(l_proc, 30);
194: end if;

Line 193: hr_utility.set_location(l_proc, 30);

189: hr_utility.set_message_token('LEG_CODE','RU');
190: hr_utility.raise_error;
191: end if;
192: if g_debug then
193: hr_utility.set_location(l_proc, 30);
194: end if;
195: --
196: -- Update the person record using the update_person
197: --

Line 330: hr_utility.set_location(' Leaving:'||l_proc, 7);

326: ,p_orig_hire_warning => p_orig_hire_warning
327: );
328: --
329: if g_debug then
330: hr_utility.set_location(' Leaving:'||l_proc, 7);
331: end if;
332: --
333: end update_ru_person;
334: end hr_ru_person_api;