DBA Data[Home] [Help]

APPS.BEN_PTP_INS dependencies on HR_API

Line 252: When hr_api.check_integrity_violated Then

248: ben_ptp_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_ptp_shd.g_api_dml := false; -- Unset the api dml status
255: ben_ptp_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_ptp_shd.g_api_dml := false; -- Unset the api dml status
255: ben_ptp_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_ptp_shd.g_api_dml := false; -- Unset the api dml status
260: ben_ptp_shd.constraint_error

Line 257: When hr_api.unique_integrity_violated Then

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

Line 462: when hr_api.cannot_find_prog_unit then

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

Line 464: hr_api.cannot_find_prog_unit_error

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

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

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