DBA Data[Home] [Help]

APPS.BEN_VMR_INS dependencies on HR_API

Line 252: When hr_api.check_integrity_violated Then

248: ben_vmr_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_vmr_shd.g_api_dml := false; -- Unset the api dml status
255: ben_vmr_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_vmr_shd.g_api_dml := false; -- Unset the api dml status
255: ben_vmr_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_vmr_shd.g_api_dml := false; -- Unset the api dml status
260: ben_vmr_shd.constraint_error

Line 257: When hr_api.unique_integrity_violated Then

253: -- A check constraint has been violated
254: ben_vmr_shd.g_api_dml := false; -- Unset the api dml status
255: ben_vmr_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_vmr_shd.g_api_dml := false; -- Unset the api dml status
260: ben_vmr_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_vmr_shd.g_api_dml := false; -- Unset the api dml status
260: ben_vmr_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When Others Then
263: ben_vmr_shd.g_api_dml := false; -- Unset the api dml status
264: Raise;
265: End dt_insert_dml;

Line 463: when hr_api.cannot_find_prog_unit then

459: );
460: --
461: exception
462: --
463: when hr_api.cannot_find_prog_unit then
464: --
465: hr_api.cannot_find_prog_unit_error
466: (p_module_name => 'ben_vrbl_mtchg_rt_f'
467: ,p_hook_type => 'AI');

Line 465: hr_api.cannot_find_prog_unit_error

461: exception
462: --
463: when hr_api.cannot_find_prog_unit then
464: --
465: hr_api.cannot_find_prog_unit_error
466: (p_module_name => 'ben_vrbl_mtchg_rt_f'
467: ,p_hook_type => 'AI');
468: --
469: end;

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

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