DBA Data[Home] [Help]

APPS.BEN_HSR_INS dependencies on HR_API

Line 232: When hr_api.check_integrity_violated Then

228: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
229: hr_utility.set_location(' Leaving:'||l_proc, 15);
230: --
231: Exception
232: When hr_api.check_integrity_violated Then
233: -- A check constraint has been violated
234: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
235: ben_hsr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

232: When hr_api.check_integrity_violated Then
233: -- A check constraint has been violated
234: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
235: ben_hsr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
240: ben_hsr_shd.constraint_error

Line 237: When hr_api.unique_integrity_violated Then

233: -- A check constraint has been violated
234: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
235: ben_hsr_shd.constraint_error
236: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
240: ben_hsr_shd.constraint_error
241: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

237: When hr_api.unique_integrity_violated Then
238: -- Unique integrity has been violated
239: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
240: ben_hsr_shd.constraint_error
241: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
242: When Others Then
243: ben_hsr_shd.g_api_dml := false; -- Unset the api dml status
244: Raise;
245: End dt_insert_dml;

Line 433: when hr_api.cannot_find_prog_unit then

429: );
430: --
431: exception
432: --
433: when hr_api.cannot_find_prog_unit then
434: --
435: hr_api.cannot_find_prog_unit_error
436: (p_module_name => 'ben_hrly_slrd_rt_f'
437: ,p_hook_type => 'AI');

Line 435: hr_api.cannot_find_prog_unit_error

431: exception
432: --
433: when hr_api.cannot_find_prog_unit then
434: --
435: hr_api.cannot_find_prog_unit_error
436: (p_module_name => 'ben_hrly_slrd_rt_f'
437: ,p_hook_type => 'AI');
438: --
439: end;

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

468: --
469: -- Post Failure:
470: -- The Lck process can fail for:
471: -- 1) When attempting to lock the row the row could already be locked by
472: -- another user. This will raise the HR_Api.Object_Locked exception.
473: -- 2) When attempting to the lock the parent which doesn't exist.
474: -- For the entity to be locked the parent must exist!
475: --
476: -- Developer Implementation Notes: