DBA Data[Home] [Help]

APPS.HR_AE_PERSON_API dependencies on HR_UTILITY

Line 6: g_debug boolean := hr_utility.debug_enabled;

2: /* $Header: peperaei.pkb 120.2.12000000.1 2007/01/22 01:09:02 appldev noship $ */
3:
4: -- Package Variables
5: g_package VARCHAR2(33) := 'hr_ae_person_api.';
6: g_debug boolean := hr_utility.debug_enabled;
7:
8: procedure update_ae_person
9: (p_validate in boolean default false
10: ,p_effective_date in date

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

154: --
155: begin
156:
157: if g_debug then
158: hr_utility.set_location('Entering:'|| l_proc, 5);
159: end if;
160: --
161: -- Initialise local variables
162: --

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

169: open check_legislation(p_person_id, l_effective_date);
170: fetch check_legislation into l_legislation_code;
171: if check_legislation%notfound then
172: close check_legislation;
173: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
174: hr_utility.raise_error;
175: end if;
176: close check_legislation;
177: if g_debug then

Line 174: hr_utility.raise_error;

170: fetch check_legislation into l_legislation_code;
171: if check_legislation%notfound then
172: close check_legislation;
173: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
174: hr_utility.raise_error;
175: end if;
176: close check_legislation;
177: if g_debug then
178: hr_utility.set_location(l_proc, 20);

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

174: hr_utility.raise_error;
175: end if;
176: close check_legislation;
177: if g_debug then
178: hr_utility.set_location(l_proc, 20);
179: end if;
180: --
181: -- Check that the legislation of the specified business group is 'AE'.
182: --

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

180: --
181: -- Check that the legislation of the specified business group is 'AE'.
182: --
183: if l_legislation_code <> 'AE' then
184: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
185: hr_utility.set_message_token('LEG_CODE','AE');
186: hr_utility.raise_error;
187: end if;
188: if g_debug then

Line 185: hr_utility.set_message_token('LEG_CODE','AE');

181: -- Check that the legislation of the specified business group is 'AE'.
182: --
183: if l_legislation_code <> 'AE' then
184: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
185: hr_utility.set_message_token('LEG_CODE','AE');
186: hr_utility.raise_error;
187: end if;
188: if g_debug then
189: hr_utility.set_location(l_proc, 30);

Line 186: hr_utility.raise_error;

182: --
183: if l_legislation_code <> 'AE' then
184: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
185: hr_utility.set_message_token('LEG_CODE','AE');
186: hr_utility.raise_error;
187: end if;
188: if g_debug then
189: hr_utility.set_location(l_proc, 30);
190: end if;

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

185: hr_utility.set_message_token('LEG_CODE','AE');
186: hr_utility.raise_error;
187: end if;
188: if g_debug then
189: hr_utility.set_location(l_proc, 30);
190: end if;
191: --
192: -- Update the person record using the update_person
193: --

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

317: ,p_orig_hire_warning => p_orig_hire_warning
318: );
319: --
320: if g_debug then
321: hr_utility.set_location(' Leaving:'||l_proc, 7);
322: end if;
323: --
324: end update_ae_person;
325: end hr_ae_person_api;