DBA Data[Home] [Help]

APPS.IRC_IRF_INS dependencies on HR_API

Line 115: If (p_datetrack_mode <> hr_api.g_insert) then

111: --
112: -- If the datetrack_mode is not INSERT then we must populate the WHO
113: -- columns with the 'old' creation values and 'new' updated values.
114: --
115: If (p_datetrack_mode <> hr_api.g_insert) then
116: hr_utility.set_location(l_proc, 10);
117: --
118: -- Get the object version number for the insert
119: --

Line 252: When hr_api.check_integrity_violated Then

248: --
249: hr_utility.set_location(' Leaving:'||l_proc, 15);
250: --
251: Exception
252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated
254: --
255: irc_irf_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated
254: --
255: irc_irf_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: --
260: irc_irf_shd.constraint_error

Line 257: When hr_api.unique_integrity_violated Then

253: -- A check constraint has been violated
254: --
255: irc_irf_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: --
260: irc_irf_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: --
260: irc_irf_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When Others Then
263: --
264: Raise;
265: End dt_insert_dml;

Line 494: when hr_api.cannot_find_prog_unit then

490: );
491: --
492: exception
493: --
494: when hr_api.cannot_find_prog_unit then
495: --
496: hr_api.cannot_find_prog_unit_error
497: (p_module_name => 'IRC_REFERRAL_INFO'
498: ,p_hook_type => 'AI');

Line 496: hr_api.cannot_find_prog_unit_error

492: exception
493: --
494: when hr_api.cannot_find_prog_unit then
495: --
496: hr_api.cannot_find_prog_unit_error
497: (p_module_name => 'IRC_REFERRAL_INFO'
498: ,p_hook_type => 'AI');
499: --
500: end;

Line 529: -- another user. This will raise the HR_Api.Object_Locked exception.

525: --
526: -- Post Failure:
527: -- The Lck process can fail for:
528: -- 1) When attempting to lock the row the row could already be locked by
529: -- another user. This will raise the HR_Api.Object_Locked exception.
530: -- 2) When attempting to the lock the parent which doesn't exist.
531: -- For the entity to be locked the parent must exist!
532: --
533: -- Developer Implementation Notes:

Line 580: l_datetrack_mode varchar2(30) := hr_api.g_insert;

576: ,p_rec in out nocopy irc_irf_shd.g_rec_type
577: ) is
578: --
579: l_proc varchar2(72) := g_package||'ins';
580: l_datetrack_mode varchar2(30) := hr_api.g_insert;
581: l_validation_start_date date;
582: l_validation_end_date date;
583: --
584: Begin