104: if g_debug then
105: hr_utility.set_location(' Leaving:'||l_proc, 10);
106: end if;
107: Exception
108: When hr_api.check_integrity_violated Then
109: -- A check constraint has been violated
110: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
111: hxc_mpc_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When hr_api.check_integrity_violated Then
109: -- A check constraint has been violated
110: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
111: hxc_mpc_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: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
116: hxc_mpc_shd.constraint_error
109: -- A check constraint has been violated
110: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
111: hxc_mpc_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: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
116: hxc_mpc_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When hr_api.parent_integrity_violated Then
114: -- Parent integrity has been violated
115: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
116: hxc_mpc_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
121: hxc_mpc_shd.constraint_error
114: -- Parent integrity has been violated
115: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
116: hxc_mpc_shd.constraint_error
117: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
121: hxc_mpc_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
118: When hr_api.unique_integrity_violated Then
119: -- Unique integrity has been violated
120: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
121: hxc_mpc_shd.constraint_error
122: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
123: When Others Then
124: hxc_mpc_shd.g_api_dml := false; -- Unset the api dml status
125: Raise;
126: End insert_dml;
253: );
254: --
255: exception
256: --
257: when hr_api.cannot_find_prog_unit then
258: --
259: hr_api.cannot_find_prog_unit_error
260: (p_module_name => 'HXC_MAPPING_COMPONENTS'
261: ,p_hook_type => 'AI');
255: exception
256: --
257: when hr_api.cannot_find_prog_unit then
258: --
259: hr_api.cannot_find_prog_unit_error
260: (p_module_name => 'HXC_MAPPING_COMPONENTS'
261: ,p_hook_type => 'AI');
262: --
263: end;