DBA Data[Home] [Help]

APPS.HR_KW_PERSON_API dependencies on HR_UTILITY

Line 6: g_debug boolean := hr_utility.debug_enabled;

2: /* $Header: peperkwi.pkb 120.1 2005/06/22 04:40:28 adevanat noship $ */
3:
4: -- Package Variables
5: g_package VARCHAR2(33) := 'hr_kw_person_api.';
6: g_debug boolean := hr_utility.debug_enabled;
7:
8: procedure update_kw_person
9: (p_validate in boolean default false
10: ,p_effective_date in date

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

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

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

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

Line 168: hr_utility.raise_error;

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

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

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

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

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

Line 179: hr_utility.set_message_token('LEG_CODE','KW');

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

Line 180: hr_utility.raise_error;

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

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

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

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

305: ,p_orig_hire_warning => p_orig_hire_warning
306: );
307: --
308: if g_debug then
309: hr_utility.set_location(' Leaving:'||l_proc, 7);
310: end if;
311: --
312: end update_kw_person;
313: end hr_kw_person_api;