166: --
167: Begin
168: hr_utility.set_location('Entering:'||l_proc, 5);
169: --
170: hr_api.mandatory_arg_error
171: (p_api_name => l_proc
172: ,p_argument => 'ORG_STRUCTURE_VERSION_ID'
173: ,p_argument_value => p_org_structure_version_id
174: );
172: ,p_argument => 'ORG_STRUCTURE_VERSION_ID'
173: ,p_argument_value => p_org_structure_version_id
174: );
175: hr_utility.set_location(l_proc,6);
176: hr_api.mandatory_arg_error
177: (p_api_name => l_proc
178: ,p_argument => 'OBJECT_VERSION_NUMBER'
179: ,p_argument_value => p_object_version_number
180: );
200: --
201: -- We need to trap the ORA LOCK exception
202: --
203: Exception
204: When HR_Api.Object_Locked then
205: --
206: -- The object is locked therefore we need to supply a meaningful
207: -- error message.
208: --