DBA Data[Home] [Help]

APPS.BEN_PRG_INS dependencies on HR_API

Line 242: When hr_api.check_integrity_violated Then

238: ben_prg_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_prg_shd.g_api_dml := false; -- Unset the api dml status
245: ben_prg_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_prg_shd.g_api_dml := false; -- Unset the api dml status
245: ben_prg_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_prg_shd.g_api_dml := false; -- Unset the api dml status
250: ben_prg_shd.constraint_error

Line 247: When hr_api.unique_integrity_violated Then

243: -- A check constraint has been violated
244: ben_prg_shd.g_api_dml := false; -- Unset the api dml status
245: ben_prg_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_prg_shd.g_api_dml := false; -- Unset the api dml status
250: ben_prg_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_prg_shd.g_api_dml := false; -- Unset the api dml status
250: ben_prg_shd.constraint_error
251: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
252: When Others Then
253: ben_prg_shd.g_api_dml := false; -- Unset the api dml status
254: Raise;
255: End dt_insert_dml;

Line 448: when hr_api.cannot_find_prog_unit then

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

Line 450: hr_api.cannot_find_prog_unit_error

446: exception
447: --
448: when hr_api.cannot_find_prog_unit then
449: --
450: hr_api.cannot_find_prog_unit_error
451: (p_module_name => 'ben_pl_regn_f'
452: ,p_hook_type => 'AI');
453: --
454: end;

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

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