159: --
160: Begin
161: hr_utility.set_location('Entering:'||l_proc, 5);
162: --
163: hr_api.mandatory_arg_error
164: (p_api_name => l_proc
165: ,p_argument => 'RANGE_ID'
166: ,p_argument_value => p_range_id
167: );
165: ,p_argument => 'RANGE_ID'
166: ,p_argument_value => p_range_id
167: );
168: hr_utility.set_location(l_proc,6);
169: hr_api.mandatory_arg_error
170: (p_api_name => l_proc
171: ,p_argument => 'OBJECT_VERSION_NUMBER'
172: ,p_argument_value => p_object_version_number
173: );
193: --
194: -- We need to trap the ORA LOCK exception
195: --
196: Exception
197: When HR_Api.Object_Locked then
198: --
199: -- The object is locked therefore we need to supply a meaningful
200: -- error message.
201: --