268: --
269: Begin
270: hr_utility.set_location('Entering:'||l_proc, 5);
271: --
272: hr_api.mandatory_arg_error
273: (p_api_name => l_proc
274: ,p_argument => 'PARENT_SPINE_ID'
275: ,p_argument_value => p_parent_spine_id
276: );
274: ,p_argument => 'PARENT_SPINE_ID'
275: ,p_argument_value => p_parent_spine_id
276: );
277: hr_utility.set_location(l_proc,6);
278: hr_api.mandatory_arg_error
279: (p_api_name => l_proc
280: ,p_argument => 'OBJECT_VERSION_NUMBER'
281: ,p_argument_value => p_object_version_number
282: );
302: --
303: -- We need to trap the ORA LOCK exception
304: --
305: Exception
306: When HR_Api.Object_Locked then
307: --
308: -- The object is locked therefore we need to supply a meaningful
309: -- error message.
310: --