DBA Data[Home] [Help]

APPS.BEN_OPT_INS dependencies on HR_API

Line 252: When hr_api.check_integrity_violated Then

248: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
249: hr_utility.set_location(' Leaving:'||l_proc, 15);
250: --
251: Exception
252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated
254: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
255: ben_opt_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated
254: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
255: ben_opt_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
260: ben_opt_shd.constraint_error

Line 257: When hr_api.unique_integrity_violated Then

253: -- A check constraint has been violated
254: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
255: ben_opt_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
260: ben_opt_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

257: When hr_api.unique_integrity_violated Then
258: -- Unique integrity has been violated
259: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
260: ben_opt_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When Others Then
263: ben_opt_shd.g_api_dml := false; -- Unset the api dml status
264: Raise;
265: End dt_insert_dml;

Line 474: when hr_api.cannot_find_prog_unit then

470:
471: --
472: exception
473: --
474: when hr_api.cannot_find_prog_unit then
475: --
476: hr_api.cannot_find_prog_unit_error
477: (p_module_name => 'ben_opt_f'
478: ,p_hook_type => 'AI');

Line 476: hr_api.cannot_find_prog_unit_error

472: exception
473: --
474: when hr_api.cannot_find_prog_unit then
475: --
476: hr_api.cannot_find_prog_unit_error
477: (p_module_name => 'ben_opt_f'
478: ,p_hook_type => 'AI');
479: --
480: end;

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

509: --
510: -- Post Failure:
511: -- The Lck process can fail for:
512: -- 1) When attempting to lock the row the row could already be locked by
513: -- another user. This will raise the HR_Api.Object_Locked exception.
514: -- 2) When attempting to the lock the parent which doesn't exist.
515: -- For the entity to be locked the parent must exist!
516: --
517: -- Developer Implementation Notes: