99: --
100: -- {End Of Comments}
101: -- ----------------------------------------------------------------------------
102: Procedure chk_non_updateable_args
103: (p_rec in irc_lcv_shd.g_rec_type
104: ) IS
105: --
106: l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
107: --
109: --
110: -- Only proceed with the validation if a row exists for the current
111: -- record in the HR Schema.
112: --
113: IF NOT irc_lcv_shd.api_updating
114: (p_location_criteria_value_id => p_rec.location_criteria_value_id
115: ,p_object_version_number => p_rec.object_version_number
116: ) THEN
117: fnd_message.set_name('PER', 'HR_6153_ALL_PROCEDURE_FAIL');
123: -- Add checks to ensure non-updateable args have
124: -- not been updated.
125: --
126: if p_rec.location_criteria_value_id <>
127: irc_lcv_shd.g_old_rec.location_criteria_value_id then
128: hr_api.argument_changed_error
129: (p_api_name => l_proc
130: ,p_argument => 'LOCATION_CRITERIA_VALUE_ID'
131: ,p_base_table => irc_lcv_shd.g_tab_nam
127: irc_lcv_shd.g_old_rec.location_criteria_value_id then
128: hr_api.argument_changed_error
129: (p_api_name => l_proc
130: ,p_argument => 'LOCATION_CRITERIA_VALUE_ID'
131: ,p_base_table => irc_lcv_shd.g_tab_nam
132: );
133: end if;
134: --
135: End chk_non_updateable_args;
207: -- ----------------------------------------------------------------------------
208: -- |---------------------------< insert_validate >----------------------------|
209: -- ----------------------------------------------------------------------------
210: Procedure insert_validate
211: (p_rec in irc_lcv_shd.g_rec_type
212: ) is
213: --
214: l_proc varchar2(72) := g_package||'insert_validate';
215: --
240: -- ----------------------------------------------------------------------------
241: -- |---------------------------< update_validate >----------------------------|
242: -- ----------------------------------------------------------------------------
243: Procedure update_validate
244: (p_rec in irc_lcv_shd.g_rec_type
245: ) is
246: --
247: l_proc varchar2(72) := g_package||'update_validate';
248: --
266: -- ----------------------------------------------------------------------------
267: -- |---------------------------< delete_validate >----------------------------|
268: -- ----------------------------------------------------------------------------
269: Procedure delete_validate
270: (p_rec in irc_lcv_shd.g_rec_type
271: ) is
272: --
273: l_proc varchar2(72) := g_package||'delete_validate';
274: --