DBA Data[Home] [Help]

APPS.BEN_ERP_INS dependencies on HR_API

Line 246: When hr_api.check_integrity_violated Then

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

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

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

Line 251: When hr_api.unique_integrity_violated Then

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

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

251: When hr_api.unique_integrity_violated Then
252: -- Unique integrity has been violated
253: ben_erp_shd.g_api_dml := false; -- Unset the api dml status
254: ben_erp_shd.constraint_error
255: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
256: When Others Then
257: ben_erp_shd.g_api_dml := false; -- Unset the api dml status
258: Raise;
259: 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_enrt_perd_for_pl_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_enrt_perd_for_pl_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: