229: IF NOT irc_rse_shd.api_updating
230: (p_recruiting_site_id => p_rec.recruiting_site_id
231: ,p_object_version_number => p_rec.object_version_number
232: ) THEN
233: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
234: fnd_message.set_token('PROCEDURE ', l_proc);
235: fnd_message.set_token('STEP ', '5');
236: fnd_message.raise_error;
237: END IF;
230: (p_recruiting_site_id => p_rec.recruiting_site_id
231: ,p_object_version_number => p_rec.object_version_number
232: ) THEN
233: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
234: fnd_message.set_token('PROCEDURE ', l_proc);
235: fnd_message.set_token('STEP ', '5');
236: fnd_message.raise_error;
237: END IF;
238: --
231: ,p_object_version_number => p_rec.object_version_number
232: ) THEN
233: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
234: fnd_message.set_token('PROCEDURE ', l_proc);
235: fnd_message.set_token('STEP ', '5');
236: fnd_message.raise_error;
237: END IF;
238: --
239: End chk_non_updateable_args;
232: ) THEN
233: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
234: fnd_message.set_token('PROCEDURE ', l_proc);
235: fnd_message.set_token('STEP ', '5');
236: fnd_message.raise_error;
237: END IF;
238: --
239: End chk_non_updateable_args;
240: --
287: -- Check that internal has a valid value of either 'Y' or 'N'
288: hr_utility.set_location(l_proc,30);
289: if not p_internal in ('Y','N') then
290: hr_utility.set_location(l_proc,40);
291: fnd_message.set_name('PER','IRC_412093_BAD_INTERNAL');
292: fnd_message.raise_error;
293: end if;
294: end if;
295: hr_utility.set_location(' Leaving:'||l_proc,50);
288: hr_utility.set_location(l_proc,30);
289: if not p_internal in ('Y','N') then
290: hr_utility.set_location(l_proc,40);
291: fnd_message.set_name('PER','IRC_412093_BAD_INTERNAL');
292: fnd_message.raise_error;
293: end if;
294: end if;
295: hr_utility.set_location(' Leaving:'||l_proc,50);
296: exception
354: -- Check that external has a valid value of either 'Y' or 'N'
355: hr_utility.set_location(l_proc,30);
356: if not p_external in ('Y','N') then
357: hr_utility.set_location(l_proc,40);
358: fnd_message.set_name('PER','IRC_412094_BAD_EXTERNAL');
359: fnd_message.raise_error;
360: end if;
361: end if;
362: hr_utility.set_location(' Leaving:'||l_proc,50);
355: hr_utility.set_location(l_proc,30);
356: if not p_external in ('Y','N') then
357: hr_utility.set_location(l_proc,40);
358: fnd_message.set_name('PER','IRC_412094_BAD_EXTERNAL');
359: fnd_message.raise_error;
360: end if;
361: end if;
362: hr_utility.set_location(' Leaving:'||l_proc,50);
363: exception
423: -- Check that third_party has a valid value of either 'Y' or 'N'
424: hr_utility.set_location(l_proc,30);
425: if not p_third_party in ('Y','N') then
426: hr_utility.set_location(l_proc,40);
427: fnd_message.set_name('PER','IRC_412095_BAD_THIRD_PARTY');
428: fnd_message.raise_error;
429: end if;
430: if((p_internal = 'Y' or p_external = 'Y')
431: AND
424: hr_utility.set_location(l_proc,30);
425: if not p_third_party in ('Y','N') then
426: hr_utility.set_location(l_proc,40);
427: fnd_message.set_name('PER','IRC_412095_BAD_THIRD_PARTY');
428: fnd_message.raise_error;
429: end if;
430: if((p_internal = 'Y' or p_external = 'Y')
431: AND
432: (p_third_party = 'Y')
431: AND
432: (p_third_party = 'Y')
433: ) then
434: hr_utility.set_location(l_proc,45);
435: fnd_message.set_name('PER','IRC_412095_BAD_THIRD_PARTY');
436: fnd_message.raise_error;
437: end if;
438: end if;
439: hr_utility.set_location(' Leaving:'||l_proc,50);
432: (p_third_party = 'Y')
433: ) then
434: hr_utility.set_location(l_proc,45);
435: fnd_message.set_name('PER','IRC_412095_BAD_THIRD_PARTY');
436: fnd_message.raise_error;
437: end if;
438: end if;
439: hr_utility.set_location(' Leaving:'||l_proc,50);
440: exception
673: or l_posting_cost_period is null)
674: ) then
675: --
676: hr_utility.set_location(l_proc,70);
677: fnd_message.set_name('PER','IRC_412104_BAD_CURRENCY_COMBO');
678: fnd_message.raise_error;
679: end if;
680: --
681: end if;
674: ) then
675: --
676: hr_utility.set_location(l_proc,70);
677: fnd_message.set_name('PER','IRC_412104_BAD_CURRENCY_COMBO');
678: fnd_message.raise_error;
679: end if;
680: --
681: end if;
682: hr_utility.set_location(' Leaving:'|| l_proc, 80);