177: --
178: Begin
179: hr_utility.set_location('Entering:'||l_proc, 5);
180: --
181: hr_api.mandatory_arg_error
182: (p_api_name => l_proc
183: ,p_argument => 'ORG_STRUCTURE_ELEMENT_ID'
184: ,p_argument_value => p_org_structure_element_id
185: );
205: --
206: -- We need to trap the ORA LOCK exception
207: --
208: Exception
209: When HR_Api.Object_Locked then
210: --
211: -- The object is locked therefore we need to supply a meaningful
212: -- error message.
213: --