94: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
95: --
96: hr_utility.set_location(' Leaving:'||l_proc, 10);
97: Exception
98: When hr_api.check_integrity_violated Then
99: -- A check constraint has been violated
100: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xre_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.check_integrity_violated Then
99: -- A check constraint has been violated
100: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xre_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When hr_api.parent_integrity_violated Then
104: -- Parent integrity has been violated
105: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
106: ben_xre_shd.constraint_error
99: -- A check constraint has been violated
100: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
101: ben_xre_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When hr_api.parent_integrity_violated Then
104: -- Parent integrity has been violated
105: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
106: ben_xre_shd.constraint_error
107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When hr_api.parent_integrity_violated Then
104: -- Parent integrity has been violated
105: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
106: ben_xre_shd.constraint_error
107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When hr_api.unique_integrity_violated Then
109: -- Unique integrity has been violated
110: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
111: ben_xre_shd.constraint_error
104: -- Parent integrity has been violated
105: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
106: ben_xre_shd.constraint_error
107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When hr_api.unique_integrity_violated Then
109: -- Unique integrity has been violated
110: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
111: ben_xre_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When hr_api.unique_integrity_violated Then
109: -- Unique integrity has been violated
110: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
111: ben_xre_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When Others Then
114: ben_xre_shd.g_api_dml := false; -- Unset the api dml status
115: Raise;
116: End insert_dml;
236: );
237: --
238: exception
239: --
240: when hr_api.cannot_find_prog_unit then
241: --
242: hr_api.cannot_find_prog_unit_error
243: (p_module_name => 'ben_ext_rslt_err'
244: ,p_hook_type => 'AI');
238: exception
239: --
240: when hr_api.cannot_find_prog_unit then
241: --
242: hr_api.cannot_find_prog_unit_error
243: (p_module_name => 'ben_ext_rslt_err'
244: ,p_hook_type => 'AI');
245: --
246: end;