222: --
223: Begin
224: hr_utility.set_location('Entering:'||l_proc, 5);
225: --
226: hr_api.mandatory_arg_error
227: (p_api_name => l_proc
228: ,p_argument => 'SPINAL_POINT_ID'
229: ,p_argument_value => p_spinal_point_id
230: );
228: ,p_argument => 'SPINAL_POINT_ID'
229: ,p_argument_value => p_spinal_point_id
230: );
231: hr_utility.set_location(l_proc,6);
232: hr_api.mandatory_arg_error
233: (p_api_name => l_proc
234: ,p_argument => 'OBJECT_VERSION_NUMBER'
235: ,p_argument_value => p_object_version_number
236: );
256: --
257: -- We need to trap the ORA LOCK exception
258: --
259: Exception
260: When HR_Api.Object_Locked then
261: --
262: -- The object is locked therefore we need to supply a meaningful
263: -- error message.
264: --