DBA Data[Home] [Help]

APPS.BEN_CCP_INS dependencies on HR_API

Line 242: When hr_api.check_integrity_violated Then

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

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

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

Line 247: When hr_api.unique_integrity_violated Then

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

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

247: When hr_api.unique_integrity_violated Then
248: -- Unique integrity has been violated
249: ben_ccp_shd.g_api_dml := false; -- Unset the api dml status
250: ben_ccp_shd.constraint_error
251: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
252: When Others Then
253: ben_ccp_shd.g_api_dml := false; -- Unset the api dml status
254: Raise;
255: End dt_insert_dml;

Line 452: when hr_api.cannot_find_prog_unit then

448: );
449: --
450: exception
451: --
452: when hr_api.cannot_find_prog_unit then
453: --
454: hr_api.cannot_find_prog_unit_error
455: (p_module_name => 'ben_cvrd_dpnt_ctfn_prvdd_f'
456: ,p_hook_type => 'AI');

Line 454: hr_api.cannot_find_prog_unit_error

450: exception
451: --
452: when hr_api.cannot_find_prog_unit then
453: --
454: hr_api.cannot_find_prog_unit_error
455: (p_module_name => 'ben_cvrd_dpnt_ctfn_prvdd_f'
456: ,p_hook_type => 'AI');
457: --
458: end;

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

487: --
488: -- Post Failure:
489: -- The Lck process can fail for:
490: -- 1) When attempting to lock the row the row could already be locked by
491: -- another user. This will raise the HR_Api.Object_Locked exception.
492: -- 2) When attempting to the lock the parent which doesn't exist.
493: -- For the entity to be locked the parent must exist!
494: --
495: -- Developer Implementation Notes: