193: --
194: end if;
195:
196: --
197: hr_api.mandatory_arg_error
198: (p_api_name => l_proc
199: ,p_argument => 'STATUTORY_SITUATION_ID'
200: ,p_argument_value => p_statutory_situation_id
201: );
205: hr_utility.set_location(l_proc,6);
206: --
207: end if;
208:
209: hr_api.mandatory_arg_error
210: (p_api_name => l_proc
211: ,p_argument => 'OBJECT_VERSION_NUMBER'
212: ,p_argument_value => p_object_version_number
213: );
237: --
238: -- We need to trap the ORA LOCK exception
239: --
240: Exception
241: When HR_Api.Object_Locked then
242: --
243: -- The object is locked therefore we need to supply a meaningful
244: -- error message.
245: --