230: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
231: --
232: hr_utility.set_location(' Leaving:'||l_proc, 10);
233: Exception
234: When hr_api.check_integrity_violated Then
235: -- A check constraint has been violated
236: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
237: ben_pel_shd.constraint_error
238: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
234: When hr_api.check_integrity_violated Then
235: -- A check constraint has been violated
236: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
237: ben_pel_shd.constraint_error
238: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
239: When hr_api.parent_integrity_violated Then
240: -- Parent integrity has been violated
241: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
242: ben_pel_shd.constraint_error
235: -- A check constraint has been violated
236: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
237: ben_pel_shd.constraint_error
238: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
239: When hr_api.parent_integrity_violated Then
240: -- Parent integrity has been violated
241: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
242: ben_pel_shd.constraint_error
243: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
239: When hr_api.parent_integrity_violated Then
240: -- Parent integrity has been violated
241: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
242: ben_pel_shd.constraint_error
243: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
244: When hr_api.unique_integrity_violated Then
245: -- Unique integrity has been violated
246: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
247: ben_pel_shd.constraint_error
240: -- Parent integrity has been violated
241: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
242: ben_pel_shd.constraint_error
243: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
244: When hr_api.unique_integrity_violated Then
245: -- Unique integrity has been violated
246: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
247: ben_pel_shd.constraint_error
248: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
244: When hr_api.unique_integrity_violated Then
245: -- Unique integrity has been violated
246: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
247: ben_pel_shd.constraint_error
248: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
249: When Others Then
250: ben_pel_shd.g_api_dml := false; -- Unset the api dml status
251: Raise;
252: End insert_dml;
438: );
439: --
440: exception
441: --
442: when hr_api.cannot_find_prog_unit then
443: --
444: hr_api.cannot_find_prog_unit_error
445: (p_module_name => 'ben_pil_elctbl_chc_popl'
446: ,p_hook_type => 'AI');
440: exception
441: --
442: when hr_api.cannot_find_prog_unit then
443: --
444: hr_api.cannot_find_prog_unit_error
445: (p_module_name => 'ben_pil_elctbl_chc_popl'
446: ,p_hook_type => 'AI');
447: --
448: end;