148: --
149: Begin
150: hr_utility.set_location('Entering:'||l_proc, 5);
151: --
152: hr_api.mandatory_arg_error
153: (p_api_name => l_proc
154: ,p_argument => 'ACTIVITY_VERSION_ID'
155: ,p_argument_value => p_activity_version_id
156: );
154: ,p_argument => 'ACTIVITY_VERSION_ID'
155: ,p_argument_value => p_activity_version_id
156: );
157: hr_utility.set_location(l_proc,6);
158: hr_api.mandatory_arg_error
159: (p_api_name => l_proc
160: ,p_argument => 'PREREQUISITE_COURSE_ID'
161: ,p_argument_value => p_prerequisite_course_id
162: );
160: ,p_argument => 'PREREQUISITE_COURSE_ID'
161: ,p_argument_value => p_prerequisite_course_id
162: );
163: hr_utility.set_location(l_proc,7);
164: hr_api.mandatory_arg_error
165: (p_api_name => l_proc
166: ,p_argument => 'OBJECT_VERSION_NUMBER'
167: ,p_argument_value => p_object_version_number
168: );
188: --
189: -- We need to trap the ORA LOCK exception
190: --
191: Exception
192: When HR_Api.Object_Locked then
193: --
194: -- The object is locked therefore we need to supply a meaningful
195: -- error message.
196: --