277: --
278: Begin
279: hr_utility.set_location('Entering:'||l_proc, 5);
280: --
281: hr_api.mandatory_arg_error
282: (p_api_name => l_proc
283: ,p_argument => 'PREVIOUS_EMPLOYER_ID'
284: ,p_argument_value => p_previous_employer_id
285: );
283: ,p_argument => 'PREVIOUS_EMPLOYER_ID'
284: ,p_argument_value => p_previous_employer_id
285: );
286: hr_utility.set_location(l_proc,6);
287: hr_api.mandatory_arg_error
288: (p_api_name => l_proc
289: ,p_argument => 'OBJECT_VERSION_NUMBER'
290: ,p_argument_value => p_object_version_number
291: );
311: --
312: -- We need to trap the ORA LOCK exception
313: --
314: Exception
315: When HR_Api.Object_Locked then
316: --
317: -- The object is locked therefore we need to supply a meaningful
318: -- error message.
319: --