103: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
104: --
105: hr_utility.set_location(' Leaving:'||l_proc, 10);
106: Exception
107: When hr_api.check_integrity_violated Then
108: -- A check constraint has been violated
109: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
110: --
111: irc_jbi_shd.constraint_error
108: -- A check constraint has been violated
109: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
110: --
111: irc_jbi_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
116: --
109: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
110: --
111: irc_jbi_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
116: --
117: irc_jbi_shd.constraint_error
114: -- Parent integrity has been violated
115: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
116: --
117: irc_jbi_shd.constraint_error
118: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119: When hr_api.unique_integrity_violated Then
120: -- Unique integrity has been violated
121: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
122: --
115: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
116: --
117: irc_jbi_shd.constraint_error
118: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119: When hr_api.unique_integrity_violated Then
120: -- Unique integrity has been violated
121: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
122: --
123: irc_jbi_shd.constraint_error
120: -- Unique integrity has been violated
121: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
122: --
123: irc_jbi_shd.constraint_error
124: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
125: When Others Then
126: irc_jbi_shd.g_api_dml := false; -- Unset the api dml status
127: --
128: Raise;
263: );
264: --
265: exception
266: --
267: when hr_api.cannot_find_prog_unit then
268: --
269: hr_api.cannot_find_prog_unit_error
270: (p_module_name => 'IRC_JOB_BASKET_ITEMS'
271: ,p_hook_type => 'AI');
265: exception
266: --
267: when hr_api.cannot_find_prog_unit then
268: --
269: hr_api.cannot_find_prog_unit_error
270: (p_module_name => 'IRC_JOB_BASKET_ITEMS'
271: ,p_hook_type => 'AI');
272: --
273: end;