90: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bai_shd.constraint_error
95: -- A check constraint has been violated
96: ben_bai_shd.g_api_dml := false; -- Unset the api dml status
97: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bai_shd.constraint_error
100: -- Parent integrity has been violated
101: ben_bai_shd.g_api_dml := false; -- Unset the api dml status
102: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bai_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_bai_shd.g_api_dml := false; -- Unset the api dml status
107: ben_bai_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: ben_bai_shd.g_api_dml := false; -- Unset the api dml status
111: Raise;
112: End insert_dml;
228: );
229: --
230: exception
231: --
232: when hr_api.cannot_find_prog_unit then
233: --
234: hr_api.cannot_find_prog_unit_error
235: (p_module_name => 'ben_batch_actn_item_info'
236: ,p_hook_type => 'AI');
230: exception
231: --
232: when hr_api.cannot_find_prog_unit then
233: --
234: hr_api.cannot_find_prog_unit_error
235: (p_module_name => 'ben_batch_actn_item_info'
236: ,p_hook_type => 'AI');
237: --
238: end;