DBA Data[Home] [Help]

APPS.BEN_PBN_INS dependencies on HR_API

Line 256: When hr_api.check_integrity_violated Then

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

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

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

Line 261: When hr_api.unique_integrity_violated Then

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

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

261: When hr_api.unique_integrity_violated Then
262: -- Unique integrity has been violated
263: ben_pbn_shd.g_api_dml := false; -- Unset the api dml status
264: ben_pbn_shd.constraint_error
265: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
266: When Others Then
267: ben_pbn_shd.g_api_dml := false; -- Unset the api dml status
268: Raise;
269: End dt_insert_dml;

Line 468: when hr_api.cannot_find_prog_unit then

464: );
465: --
466: exception
467: --
468: when hr_api.cannot_find_prog_unit then
469: --
470: hr_api.cannot_find_prog_unit_error
471: (p_module_name => 'ben_pl_bnf_f'
472: ,p_hook_type => 'AI');

Line 470: hr_api.cannot_find_prog_unit_error

466: exception
467: --
468: when hr_api.cannot_find_prog_unit then
469: --
470: hr_api.cannot_find_prog_unit_error
471: (p_module_name => 'ben_pl_bnf_f'
472: ,p_hook_type => 'AI');
473: --
474: end;

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

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