DBA Data[Home] [Help]

APPS.BEN_PEN_INS dependencies on HR_API

Line 296: When hr_api.check_integrity_violated Then

292: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
293: hr_utility.set_location(' Leaving:'||l_proc, 15);
294: --
295: Exception
296: When hr_api.check_integrity_violated Then
297: -- A check constraint has been violated
298: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
299: ben_pen_shd.constraint_error
300: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

296: When hr_api.check_integrity_violated Then
297: -- A check constraint has been violated
298: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
299: ben_pen_shd.constraint_error
300: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
301: When hr_api.unique_integrity_violated Then
302: -- Unique integrity has been violated
303: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
304: ben_pen_shd.constraint_error

Line 301: When hr_api.unique_integrity_violated Then

297: -- A check constraint has been violated
298: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
299: ben_pen_shd.constraint_error
300: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
301: When hr_api.unique_integrity_violated Then
302: -- Unique integrity has been violated
303: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
304: ben_pen_shd.constraint_error
305: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

301: When hr_api.unique_integrity_violated Then
302: -- Unique integrity has been violated
303: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
304: ben_pen_shd.constraint_error
305: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
306: When Others Then
307: ben_pen_shd.g_api_dml := false; -- Unset the api dml status
308: Raise;
309: End dt_insert_dml;

Line 546: when hr_api.cannot_find_prog_unit then

542: ,p_validation_end_date =>p_validation_end_date
543: );
544: Exception
545: --
546: when hr_api.cannot_find_prog_unit then
547: hr_api.cannot_find_prog_unit_error
548: (p_module_name => 'ben_prtt_enrt_rslt_f'
549: ,p_hook_type => 'AI');
550: End;

Line 547: hr_api.cannot_find_prog_unit_error

543: );
544: Exception
545: --
546: when hr_api.cannot_find_prog_unit then
547: hr_api.cannot_find_prog_unit_error
548: (p_module_name => 'ben_prtt_enrt_rslt_f'
549: ,p_hook_type => 'AI');
550: End;
551: --

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

579: --
580: -- Post Failure:
581: -- The Lck process can fail for:
582: -- 1) When attempting to lock the row the row could already be locked by
583: -- another user. This will raise the HR_Api.Object_Locked exception.
584: -- 2) When attempting to the lock the parent which doesn't exist.
585: -- For the entity to be locked the parent must exist!
586: --
587: -- Developer Implementation Notes: