270: hr_utility.set_location('Entering:'||l_proc, 5);
271: --
272: -- Check for mandatory arguments.
273: --
274: hr_api.mandatory_arg_error
275: (p_api_name => l_proc
276: ,p_argument => 'p_template_id'
277: ,p_argument_value => p_template_id
278: );
275: (p_api_name => l_proc
276: ,p_argument => 'p_template_id'
277: ,p_argument_value => p_template_id
278: );
279: hr_api.mandatory_arg_error
280: (p_api_name => l_proc
281: ,p_argument => 'object_version_number'
282: ,p_argument_value => p_object_version_number
283: );
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: --