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