DBA Data[Home] [Help]

APPS.BEN_PCX_INS dependencies on HR_API

Line 240: When hr_api.check_integrity_violated Then

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

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

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

Line 245: When hr_api.unique_integrity_violated Then

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

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

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

Line 445: when hr_api.cannot_find_prog_unit then

441: );
442: --
443: exception
444: --
445: when hr_api.cannot_find_prog_unit then
446: --
447: hr_api.cannot_find_prog_unit_error
448: (p_module_name => 'ben_pl_bnf_ctfn_f'
449: ,p_hook_type => 'AI');

Line 447: hr_api.cannot_find_prog_unit_error

443: exception
444: --
445: when hr_api.cannot_find_prog_unit then
446: --
447: hr_api.cannot_find_prog_unit_error
448: (p_module_name => 'ben_pl_bnf_ctfn_f'
449: ,p_hook_type => 'AI');
450: --
451: end;

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

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