161: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
162: --
163: hr_utility.set_location(' Leaving:'||l_proc, 10);
164: Exception
165: When hr_api.check_integrity_violated Then
166: -- A check constraint has been violated
167: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
168: ben_xwc_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.check_integrity_violated Then
166: -- A check constraint has been violated
167: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
168: ben_xwc_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.parent_integrity_violated Then
171: -- Parent integrity has been violated
172: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
173: ben_xwc_shd.constraint_error
166: -- A check constraint has been violated
167: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
168: ben_xwc_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.parent_integrity_violated Then
171: -- Parent integrity has been violated
172: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
173: ben_xwc_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.parent_integrity_violated Then
171: -- Parent integrity has been violated
172: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
173: ben_xwc_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When hr_api.unique_integrity_violated Then
176: -- Unique integrity has been violated
177: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
178: ben_xwc_shd.constraint_error
171: -- Parent integrity has been violated
172: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
173: ben_xwc_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When hr_api.unique_integrity_violated Then
176: -- Unique integrity has been violated
177: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
178: ben_xwc_shd.constraint_error
179: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When hr_api.unique_integrity_violated Then
176: -- Unique integrity has been violated
177: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
178: ben_xwc_shd.constraint_error
179: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
180: When Others Then
181: ben_xwc_shd.g_api_dml := false; -- Unset the api dml status
182: Raise;
183: End insert_dml;
306: );
307: --
308: exception
309: --
310: when hr_api.cannot_find_prog_unit then
311: --
312: hr_api.cannot_find_prog_unit_error
313: (p_module_name => 'ben_ext_where_clause'
314: ,p_hook_type => 'AI');
308: exception
309: --
310: when hr_api.cannot_find_prog_unit then
311: --
312: hr_api.cannot_find_prog_unit_error
313: (p_module_name => 'ben_ext_where_clause'
314: ,p_hook_type => 'AI');
315: --
316: end;