DBA Data[Home] [Help]

APPS.IRC_IAD_INS dependencies on HR_API

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

121: --
122: -- If the datetrack_mode is not INSERT then we must populate the WHO
123: -- columns with the 'old' creation values and 'new' updated values.
124: --
125: If (p_datetrack_mode <> hr_api.g_insert) then
126: hr_utility.set_location(l_proc, 10);
127: --
128: -- Get the object version number for the insert
129: --

Line 215: When hr_api.check_integrity_violated Then

211: --
212: hr_utility.set_location(' Leaving:'||l_proc, 15);
213: --
214: Exception
215: When hr_api.check_integrity_violated Then
216: -- A check constraint has been violated
217: --
218: irc_iad_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

215: When hr_api.check_integrity_violated Then
216: -- A check constraint has been violated
217: --
218: irc_iad_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.unique_integrity_violated Then
221: -- Unique integrity has been violated
222: --
223: irc_iad_shd.constraint_error

Line 220: When hr_api.unique_integrity_violated Then

216: -- A check constraint has been violated
217: --
218: irc_iad_shd.constraint_error
219: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
220: When hr_api.unique_integrity_violated Then
221: -- Unique integrity has been violated
222: --
223: irc_iad_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

220: When hr_api.unique_integrity_violated Then
221: -- Unique integrity has been violated
222: --
223: irc_iad_shd.constraint_error
224: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
225: When Others Then
226: --
227: Raise;
228: End dt_insert_dml;

Line 433: when hr_api.cannot_find_prog_unit then

429: );
430: --
431: exception
432: --
433: when hr_api.cannot_find_prog_unit then
434: --
435: hr_api.cannot_find_prog_unit_error
436: (p_module_name => 'IRC_ASSIGNMENT_DETAILS_F'
437: ,p_hook_type => 'AI');

Line 435: hr_api.cannot_find_prog_unit_error

431: exception
432: --
433: when hr_api.cannot_find_prog_unit then
434: --
435: hr_api.cannot_find_prog_unit_error
436: (p_module_name => 'IRC_ASSIGNMENT_DETAILS_F'
437: ,p_hook_type => 'AI');
438: --
439: end;

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

464: --
465: -- Post Failure:
466: -- The Lck process can fail for:
467: -- 1) When attempting to lock the row the row could already be locked by
468: -- another user. This will raise the HR_Api.Object_Locked exception.
469: -- 2) When attempting to the lock the parent which doesn't exist.
470: -- For the entity to be locked the parent must exist!
471: --
472: -- Developer Implementation Notes:

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

526: ,p_rec in out nocopy irc_iad_shd.g_rec_type
527: ) is
528: --
529: l_proc varchar2(72) := g_package||'ins';
530: l_datetrack_mode varchar2(30) := hr_api.g_insert;
531: l_validation_start_date date;
532: l_validation_end_date date;
533: --
534: Begin