79: --
80: hr_utility.set_location(' Leaving:'||l_proc, 10);
81: --
82: Exception
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
85: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
86: --
87: irc_vce_shd.constraint_error
84: -- A check constraint has been violated
85: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
86: --
87: irc_vce_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
92: --
85: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
86: --
87: irc_vce_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
92: --
93: irc_vce_shd.constraint_error
90: -- Parent integrity has been violated
91: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
92: --
93: irc_vce_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated
97: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
98: --
91: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
92: --
93: irc_vce_shd.constraint_error
94: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
95: When hr_api.unique_integrity_violated Then
96: -- Unique integrity has been violated
97: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
98: --
99: irc_vce_shd.constraint_error
96: -- Unique integrity has been violated
97: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
98: --
99: irc_vce_shd.constraint_error
100: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
101: When Others Then
102: --
103: irc_vce_shd.g_api_dml := false; -- Unset the api dml status
104: Raise;
204: );
205: --
206: exception
207: --
208: when hr_api.cannot_find_prog_unit then
209: --
210: hr_api.cannot_find_prog_unit_error
211: (p_module_name => 'IRC_VARIABLE_COMP_ELEMENTS'
212: ,p_hook_type => 'AU');
206: exception
207: --
208: when hr_api.cannot_find_prog_unit then
209: --
210: hr_api.cannot_find_prog_unit_error
211: (p_module_name => 'IRC_VARIABLE_COMP_ELEMENTS'
212: ,p_hook_type => 'AU');
213: --
214: end;