124: --
125: --
126: hr_utility.set_location(' Leaving:'||l_proc, 10);
127: Exception
128: When hr_api.check_integrity_violated Then
129: -- A check constraint has been violated
130: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
131: --
132: irc_ido_shd.constraint_error
129: -- A check constraint has been violated
130: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
131: --
132: irc_ido_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.parent_integrity_violated Then
135: -- Parent integrity has been violated
136: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
137: --
130: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
131: --
132: irc_ido_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.parent_integrity_violated Then
135: -- Parent integrity has been violated
136: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: irc_ido_shd.constraint_error
135: -- Parent integrity has been violated
136: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: irc_ido_shd.constraint_error
139: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
140: When hr_api.unique_integrity_violated Then
141: -- Unique integrity has been violated
142: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
143: --
136: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
137: --
138: irc_ido_shd.constraint_error
139: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
140: When hr_api.unique_integrity_violated Then
141: -- Unique integrity has been violated
142: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
143: --
144: irc_ido_shd.constraint_error
141: -- Unique integrity has been violated
142: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
143: --
144: irc_ido_shd.constraint_error
145: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
146: When Others Then
147: --
148: irc_ido_shd.g_api_dml := false; -- Unset the api dml status
149: Raise;
319: );
320: --
321: exception
322: --
323: when hr_api.cannot_find_prog_unit then
324: --
325: hr_api.cannot_find_prog_unit_error
326: (p_module_name => 'IRC_DOCUMENTS'
327: ,p_hook_type => 'AI');
321: exception
322: --
323: when hr_api.cannot_find_prog_unit then
324: --
325: hr_api.cannot_find_prog_unit_error
326: (p_module_name => 'IRC_DOCUMENTS'
327: ,p_hook_type => 'AI');
328: --
329: end;