DBA Data[Home] [Help]

APPS.HR_NO_PERSON_API dependencies on HR_UTILITY

Line 6: g_debug boolean := hr_utility.debug_enabled;

2: /* $Header: pepernoi.pkb 120.0 2005/05/31 13:55:17 appldev noship $ */
3:
4: -- Package Variables
5: g_package VARCHAR2(33) := 'hr_no_person_api.';
6: g_debug boolean := hr_utility.debug_enabled;
7:
8:
9: procedure update_no_person
10: (p_validate in boolean default false

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

146: --
147: begin
148:
149: if g_debug then
150: hr_utility.set_location('Entering:'|| l_proc, 5);
151: end if;
152: --
153: -- Initialise local variables
154: --

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

161: open check_legislation(p_person_id, l_effective_date);
162: fetch check_legislation into l_legislation_code;
163: if check_legislation%notfound then
164: close check_legislation;
165: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
166: hr_utility.raise_error;
167: end if;
168: close check_legislation;
169: if g_debug then

Line 166: hr_utility.raise_error;

162: fetch check_legislation into l_legislation_code;
163: if check_legislation%notfound then
164: close check_legislation;
165: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
166: hr_utility.raise_error;
167: end if;
168: close check_legislation;
169: if g_debug then
170: hr_utility.set_location(l_proc, 20);

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

166: hr_utility.raise_error;
167: end if;
168: close check_legislation;
169: if g_debug then
170: hr_utility.set_location(l_proc, 20);
171: end if;
172: --
173: -- Check that the legislation of the specified business group is 'NO'.
174: --

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

172: --
173: -- Check that the legislation of the specified business group is 'NO'.
174: --
175: if l_legislation_code <> 'NO' then
176: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
177: hr_utility.set_message_token('LEG_CODE','NO');
178: hr_utility.raise_error;
179: end if;
180: if g_debug then

Line 177: hr_utility.set_message_token('LEG_CODE','NO');

173: -- Check that the legislation of the specified business group is 'NO'.
174: --
175: if l_legislation_code <> 'NO' then
176: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
177: hr_utility.set_message_token('LEG_CODE','NO');
178: hr_utility.raise_error;
179: end if;
180: if g_debug then
181: hr_utility.set_location(l_proc, 30);

Line 178: hr_utility.raise_error;

174: --
175: if l_legislation_code <> 'NO' then
176: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
177: hr_utility.set_message_token('LEG_CODE','NO');
178: hr_utility.raise_error;
179: end if;
180: if g_debug then
181: hr_utility.set_location(l_proc, 30);
182: end if;

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

177: hr_utility.set_message_token('LEG_CODE','NO');
178: hr_utility.raise_error;
179: end if;
180: if g_debug then
181: hr_utility.set_location(l_proc, 30);
182: end if;
183: --
184: -- Update the person record using the update_person
185: --

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

300: ,p_orig_hire_warning => p_orig_hire_warning
301: );
302: --
303: if g_debug then
304: hr_utility.set_location(' Leaving:'||l_proc, 7);
305: end if;
306: --
307: end update_no_person;
308: