214: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
215: --
216: hr_utility.set_location(' Leaving:'||l_proc, 10);
217: Exception
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
221: ben_xfi_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
218: When hr_api.check_integrity_violated Then
219: -- A check constraint has been violated
220: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
221: ben_xfi_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
226: ben_xfi_shd.constraint_error
219: -- A check constraint has been violated
220: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
221: ben_xfi_shd.constraint_error
222: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
226: ben_xfi_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
223: When hr_api.parent_integrity_violated Then
224: -- Parent integrity has been violated
225: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
226: ben_xfi_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
231: ben_xfi_shd.constraint_error
224: -- Parent integrity has been violated
225: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
226: ben_xfi_shd.constraint_error
227: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
231: ben_xfi_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
228: When hr_api.unique_integrity_violated Then
229: -- Unique integrity has been violated
230: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
231: ben_xfi_shd.constraint_error
232: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
233: When Others Then
234: ben_xfi_shd.g_api_dml := false; -- Unset the api dml status
235: Raise;
236: End insert_dml;
385: );
386: --
387: exception
388: --
389: when hr_api.cannot_find_prog_unit then
390: --
391: hr_api.cannot_find_prog_unit_error
392: (p_module_name => 'ben_ext_file'
393: ,p_hook_type => 'AI');
387: exception
388: --
389: when hr_api.cannot_find_prog_unit then
390: --
391: hr_api.cannot_find_prog_unit_error
392: (p_module_name => 'ben_ext_file'
393: ,p_hook_type => 'AI');
394: --
395: end;