153: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
154: --
155: hr_utility.set_location(' Leaving:'||l_proc, 10);
156: Exception
157: When hr_api.check_integrity_violated Then
158: -- A check constraint has been violated
159: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
160: ben_xcc_shd.constraint_error
161: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
157: When hr_api.check_integrity_violated Then
158: -- A check constraint has been violated
159: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
160: ben_xcc_shd.constraint_error
161: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.parent_integrity_violated Then
163: -- Parent integrity has been violated
164: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
165: ben_xcc_shd.constraint_error
158: -- A check constraint has been violated
159: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
160: ben_xcc_shd.constraint_error
161: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.parent_integrity_violated Then
163: -- Parent integrity has been violated
164: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
165: ben_xcc_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
162: When hr_api.parent_integrity_violated Then
163: -- Parent integrity has been violated
164: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
165: ben_xcc_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.unique_integrity_violated Then
168: -- Unique integrity has been violated
169: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
170: ben_xcc_shd.constraint_error
163: -- Parent integrity has been violated
164: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
165: ben_xcc_shd.constraint_error
166: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.unique_integrity_violated Then
168: -- Unique integrity has been violated
169: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
170: ben_xcc_shd.constraint_error
171: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
167: When hr_api.unique_integrity_violated Then
168: -- Unique integrity has been violated
169: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
170: ben_xcc_shd.constraint_error
171: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
172: When Others Then
173: ben_xcc_shd.g_api_dml := false; -- Unset the api dml status
174: Raise;
175: End insert_dml;
294: );
295: --
296: exception
297: --
298: when hr_api.cannot_find_prog_unit then
299: --
300: hr_api.cannot_find_prog_unit_error
301: (p_module_name => 'ben_ext_crit_cmbn'
302: ,p_hook_type => 'AI');
296: exception
297: --
298: when hr_api.cannot_find_prog_unit then
299: --
300: hr_api.cannot_find_prog_unit_error
301: (p_module_name => 'ben_ext_crit_cmbn'
302: ,p_hook_type => 'AI');
303: --
304: end;