90: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
91: --
92: hr_utility.set_location(' Leaving:'||l_proc, 10);
93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bei_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bei_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bei_shd.constraint_error
95: -- A check constraint has been violated
96: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bei_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bei_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bei_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bei_shd.constraint_error
100: -- Parent integrity has been violated
101: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bei_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bei_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bei_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: ben_bei_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;
112: End insert_dml;
226: ,p_effective_date =>p_effective_date);
227: --
228: exception
229: --
230: when hr_api.cannot_find_prog_unit then
231: --
232: hr_api.cannot_find_prog_unit_error
233: (p_module_name => 'ben_batch_elig_info'
234: ,p_hook_type => 'AI');
228: exception
229: --
230: when hr_api.cannot_find_prog_unit then
231: --
232: hr_api.cannot_find_prog_unit_error
233: (p_module_name => 'ben_batch_elig_info'
234: ,p_hook_type => 'AI');
235: --
236: end;