DBA Data[Home] [Help]

APPS.BEN_PYD_INS dependencies on HR_API

Line 238: When hr_api.check_integrity_violated Then

234: ben_pyd_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_pyd_shd.g_api_dml := false; -- Unset the api dml status
241: ben_pyd_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_pyd_shd.g_api_dml := false; -- Unset the api dml status
241: ben_pyd_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_pyd_shd.g_api_dml := false; -- Unset the api dml status
246: ben_pyd_shd.constraint_error

Line 243: When hr_api.unique_integrity_violated Then

239: -- A check constraint has been violated
240: ben_pyd_shd.g_api_dml := false; -- Unset the api dml status
241: ben_pyd_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_pyd_shd.g_api_dml := false; -- Unset the api dml status
246: ben_pyd_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_pyd_shd.g_api_dml := false; -- Unset the api dml status
246: ben_pyd_shd.constraint_error
247: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
248: When Others Then
249: ben_pyd_shd.g_api_dml := false; -- Unset the api dml status
250: Raise;
251: End dt_insert_dml;

Line 441: when hr_api.cannot_find_prog_unit then

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

Line 443: hr_api.cannot_find_prog_unit_error

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

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

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