130: --
131: Begin
132: hr_utility.set_location('Entering:'||l_proc, 5);
133: --
134: hr_api.mandatory_arg_error
135: (p_api_name => l_proc
136: ,p_argument => 'SECURITY_USER_ID'
137: ,p_argument_value => p_security_user_id
138: );
136: ,p_argument => 'SECURITY_USER_ID'
137: ,p_argument_value => p_security_user_id
138: );
139: hr_utility.set_location(l_proc,6);
140: hr_api.mandatory_arg_error
141: (p_api_name => l_proc
142: ,p_argument => 'OBJECT_VERSION_NUMBER'
143: ,p_argument_value => p_object_version_number
144: );
164: --
165: -- We need to trap the ORA LOCK exception
166: --
167: Exception
168: When HR_Api.Object_Locked then
169: --
170: -- The object is locked therefore we need to supply a meaningful
171: -- error message.
172: --