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