DBA Data[Home] [Help]

APPS.HR_MX_PERSON_API dependencies on HR_UTILITY

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

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

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

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

Line 173: hr_utility.raise_error;

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

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

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

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

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

Line 184: hr_utility.set_message_token('LEG_CODE','MX');

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

Line 185: hr_utility.raise_error;

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

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

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

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

309: ,p_orig_hire_warning => p_orig_hire_warning
310: );
311: --
312: if g_debug then
313: hr_utility.set_location(' Leaving:'||l_proc, 7);
314: end if;
315: --
316: end update_mx_person;
317:

Line 320: g_debug := hr_utility.debug_enabled;

316: end update_mx_person;
317:
318: begin
319: g_package := 'hr_mx_person_api.';
320: g_debug := hr_utility.debug_enabled;
321: end hr_mx_person_api;