DBA Data[Home] [Help]

APPS.BEN_PRB_INS dependencies on HR_API

Line 238: When hr_api.check_integrity_violated Then

234: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
235: hr_utility.set_location(' Leaving:'||l_proc, 15);
236: --
237: Exception
238: When hr_api.check_integrity_violated Then
239: -- A check constraint has been violated
240: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
241: ben_prb_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

238: When hr_api.check_integrity_violated Then
239: -- A check constraint has been violated
240: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
241: ben_prb_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
243: When hr_api.unique_integrity_violated Then
244: -- Unique integrity has been violated
245: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
246: ben_prb_shd.constraint_error

Line 243: When hr_api.unique_integrity_violated Then

239: -- A check constraint has been violated
240: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
241: ben_prb_shd.constraint_error
242: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
243: When hr_api.unique_integrity_violated Then
244: -- Unique integrity has been violated
245: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
246: ben_prb_shd.constraint_error
247: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

243: When hr_api.unique_integrity_violated Then
244: -- Unique integrity has been violated
245: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
246: ben_prb_shd.constraint_error
247: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
248: When Others Then
249: ben_prb_shd.g_api_dml := false; -- Unset the api dml status
250: Raise;
251: End dt_insert_dml;

Line 439: when hr_api.cannot_find_prog_unit then

435: );
436: --
437: exception
438: --
439: when hr_api.cannot_find_prog_unit then
440: --
441: hr_api.cannot_find_prog_unit_error
442: (p_module_name => 'ben_pl_regy_bod_f'
443: ,p_hook_type => 'AI');

Line 441: hr_api.cannot_find_prog_unit_error

437: exception
438: --
439: when hr_api.cannot_find_prog_unit then
440: --
441: hr_api.cannot_find_prog_unit_error
442: (p_module_name => 'ben_pl_regy_bod_f'
443: ,p_hook_type => 'AI');
444: --
445: end;

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

473: --
474: -- Post Failure:
475: -- The Lck process can fail for:
476: -- 1) When attempting to lock the row the row could already be locked by
477: -- another user. This will raise the HR_Api.Object_Locked exception.
478: -- 2) When attempting to the lock the parent which doesn't exist.
479: -- For the entity to be locked the parent must exist!
480: --
481: -- Developer Implementation Notes: