DBA Data[Home] [Help]

APPS.HR_RO_PERSON_API dependencies on HR_UTILITY

Line 6: g_debug boolean := hr_utility.debug_enabled;

2: /* $Header: peropapi.pkb 120.0.12020000.4 2013/04/17 06:56:12 ssanjays noship $ */
3:
4: -- Package Variables
5: g_package VARCHAR2(33) := 'hr_ro_person_api.';
6: g_debug boolean := hr_utility.debug_enabled;
7:
8: procedure update_ro_person
9: (p_validate in boolean default false
10: ,p_effective_date in date

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

141: --
142: begin
143:
144: if g_debug then
145: hr_utility.set_location('Entering:'|| l_proc, 5);
146: end if;
147: --
148: -- Initialise local variables
149: --

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

156: open check_legislation(p_person_id, l_effective_date);
157: fetch check_legislation into l_legislation_code;
158: if check_legislation%notfound then
159: close check_legislation;
160: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: end if;
163: close check_legislation;
164: if g_debug then

Line 161: hr_utility.raise_error;

157: fetch check_legislation into l_legislation_code;
158: if check_legislation%notfound then
159: close check_legislation;
160: hr_utility.set_message(801,'HR_7220_INVALID_PRIMARY_KEY');
161: hr_utility.raise_error;
162: end if;
163: close check_legislation;
164: if g_debug then
165: hr_utility.set_location(l_proc, 20);

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

161: hr_utility.raise_error;
162: end if;
163: close check_legislation;
164: if g_debug then
165: hr_utility.set_location(l_proc, 20);
166: end if;
167: --
168: -- Check that the legislation of the specified business group is 'RO'.
169: --

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

167: --
168: -- Check that the legislation of the specified business group is 'RO'.
169: --
170: if l_legislation_code <> 'RO' then
171: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
172: hr_utility.set_message_token('LEG_CODE','RO');
173: hr_utility.raise_error;
174: end if;
175: if g_debug then

Line 172: hr_utility.set_message_token('LEG_CODE','RO');

168: -- Check that the legislation of the specified business group is 'RO'.
169: --
170: if l_legislation_code <> 'RO' then
171: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
172: hr_utility.set_message_token('LEG_CODE','RO');
173: hr_utility.raise_error;
174: end if;
175: if g_debug then
176: hr_utility.set_location(l_proc, 30);

Line 173: hr_utility.raise_error;

169: --
170: if l_legislation_code <> 'RO' then
171: hr_utility.set_message(801, 'HR_7961_PER_BUS_GRP_INVALID');
172: hr_utility.set_message_token('LEG_CODE','RO');
173: hr_utility.raise_error;
174: end if;
175: if g_debug then
176: hr_utility.set_location(l_proc, 30);
177: end if;

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

172: hr_utility.set_message_token('LEG_CODE','RO');
173: hr_utility.raise_error;
174: end if;
175: if g_debug then
176: hr_utility.set_location(l_proc, 30);
177: end if;
178: --
179: -- Update the person record using the update_person
180: --

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

291: ,p_orig_hire_warning => p_orig_hire_warning
292: );
293: --
294: if g_debug then
295: hr_utility.set_location(' Leaving:'||l_proc, 7);
296: end if;
297: --
298: end update_ro_person;
299: end hr_ro_person_api;