175: l_proc := g_package||'lck';
176: hr_utility.set_location('Entering:'||l_proc, 5);
177: end if;
178: --
179: hr_api.mandatory_arg_error
180: (p_api_name => l_proc
181: ,p_argument => 'APPROVAL_COMP_ID'
182: ,p_argument_value => p_approval_comp_id
183: );
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: --