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: --
86: irc_lcv_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
83: When hr_api.check_integrity_violated Then
84: -- A check constraint has been violated
85: --
86: irc_lcv_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: --
91: irc_lcv_shd.constraint_error
84: -- A check constraint has been violated
85: --
86: irc_lcv_shd.constraint_error
87: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: --
91: irc_lcv_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
88: When hr_api.parent_integrity_violated Then
89: -- Parent integrity has been violated
90: --
91: irc_lcv_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: --
96: irc_lcv_shd.constraint_error
89: -- Parent integrity has been violated
90: --
91: irc_lcv_shd.constraint_error
92: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: --
96: irc_lcv_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
93: When hr_api.unique_integrity_violated Then
94: -- Unique integrity has been violated
95: --
96: irc_lcv_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When Others Then
99: --
100: Raise;
101: End update_dml;
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_LOCATION_CRITERIA_VALUES'
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_LOCATION_CRITERIA_VALUES'
212: ,p_hook_type => 'AU');
213: --
214: end;
269: -- p_rec plsql record structure
270: -- to see if a system default is being used. If a system default
271: -- is being used then we must set to the 'current' argument value.
272: --
273: If (p_rec.search_criteria_id = hr_api.g_number) then
274: p_rec.search_criteria_id :=
275: irc_lcv_shd.g_old_rec.search_criteria_id;
276: End If;
277: If (p_rec.derived_locale = hr_api.g_varchar2) then
273: If (p_rec.search_criteria_id = hr_api.g_number) then
274: p_rec.search_criteria_id :=
275: irc_lcv_shd.g_old_rec.search_criteria_id;
276: End If;
277: If (p_rec.derived_locale = hr_api.g_varchar2) then
278: p_rec.derived_locale :=
279: irc_lcv_shd.g_old_rec.derived_locale;
280: End If;
281: --
337: -- ----------------------------------------------------------------------------
338: Procedure upd
339: (p_location_criteria_value_id in number
340: ,p_object_version_number in out nocopy number
341: ,p_search_criteria_id in number default hr_api.g_number
342: ,p_derived_locale in varchar2 default hr_api.g_varchar2
343: ) is
344: --
345: l_rec irc_lcv_shd.g_rec_type;
338: Procedure upd
339: (p_location_criteria_value_id in number
340: ,p_object_version_number in out nocopy number
341: ,p_search_criteria_id in number default hr_api.g_number
342: ,p_derived_locale in varchar2 default hr_api.g_varchar2
343: ) is
344: --
345: l_rec irc_lcv_shd.g_rec_type;
346: l_proc varchar2(72) := g_package||'upd';