139: if g_debug then
140: hr_utility.set_location('Entering:'||l_proc, 5);
141: end if;
142: --
143: hr_api.mandatory_arg_error
144: (p_api_name => l_proc
145: ,p_argument => 'NAME_FORMAT_ID'
146: ,p_argument_value => p_name_format_id
147: );
147: );
148: if g_debug then
149: hr_utility.set_location(l_proc,6);
150: end if;
151: hr_api.mandatory_arg_error
152: (p_api_name => l_proc
153: ,p_argument => 'OBJECT_VERSION_NUMBER'
154: ,p_argument_value => p_object_version_number
155: );
177: --
178: -- We need to trap the ORA LOCK exception
179: --
180: Exception
181: When HR_Api.Object_Locked then
182: --
183: -- The object is locked therefore we need to supply a meaningful
184: -- error message.
185: --