84: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
85: --
86: hr_utility.set_location(' Leaving:'||l_proc, 10);
87: Exception
88: When hr_api.check_integrity_violated Then
89: -- A check constraint has been violated
90: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
91: --
92: irc_vce_shd.constraint_error
89: -- A check constraint has been violated
90: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
91: --
92: irc_vce_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.parent_integrity_violated Then
95: -- Parent integrity has been violated
96: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
97: --
90: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
91: --
92: irc_vce_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.parent_integrity_violated Then
95: -- Parent integrity has been violated
96: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
97: --
98: irc_vce_shd.constraint_error
95: -- Parent integrity has been violated
96: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
97: --
98: irc_vce_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When hr_api.unique_integrity_violated Then
101: -- Unique integrity has been violated
102: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
103: --
96: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
97: --
98: irc_vce_shd.constraint_error
99: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
100: When hr_api.unique_integrity_violated Then
101: -- Unique integrity has been violated
102: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
103: --
104: irc_vce_shd.constraint_error
101: -- Unique integrity has been violated
102: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
103: --
104: irc_vce_shd.constraint_error
105: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
106: When Others Then
107: --
108: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
109: Raise;
229: );
230: --
231: exception
232: --
233: when hr_api.cannot_find_prog_unit then
234: --
235: hr_api.cannot_find_prog_unit_error
236: (p_module_name => 'IRC_VARIABLE_COMP_ELEMENTS'
237: ,p_hook_type => 'AI');
231: exception
232: --
233: when hr_api.cannot_find_prog_unit then
234: --
235: hr_api.cannot_find_prog_unit_error
236: (p_module_name => 'IRC_VARIABLE_COMP_ELEMENTS'
237: ,p_hook_type => 'AI');
238: --
239: end;