248: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
249: --
250: hr_utility.set_location(' Leaving:'||l_proc, 10);
251: Exception
252: When hr_api.check_integrity_violated Then
253: -- A check constraint has been violated
254: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
255: ben_xdf_shd.constraint_error
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_xdf_shd.g_api_dml := false; -- Unset the api dml status
255: ben_xdf_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.parent_integrity_violated Then
258: -- Parent integrity has been violated
259: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
260: ben_xdf_shd.constraint_error
253: -- A check constraint has been violated
254: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
255: ben_xdf_shd.constraint_error
256: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.parent_integrity_violated Then
258: -- Parent integrity has been violated
259: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
260: ben_xdf_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
257: When hr_api.parent_integrity_violated Then
258: -- Parent integrity has been violated
259: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
260: ben_xdf_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When hr_api.unique_integrity_violated Then
263: -- Unique integrity has been violated
264: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
265: ben_xdf_shd.constraint_error
258: -- Parent integrity has been violated
259: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
260: ben_xdf_shd.constraint_error
261: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When hr_api.unique_integrity_violated Then
263: -- Unique integrity has been violated
264: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
265: ben_xdf_shd.constraint_error
266: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
262: When hr_api.unique_integrity_violated Then
263: -- Unique integrity has been violated
264: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
265: ben_xdf_shd.constraint_error
266: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
267: When Others Then
268: ben_xdf_shd.g_api_dml := false; -- Unset the api dml status
269: Raise;
270: 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_ext_dfn'
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_ext_dfn'
446: ,p_hook_type => 'AI');
447: --
448: end;