143: hr_utility.set_location('Entering:'||l_proc, 5);
144: --
145: -- Check for mandatory arguments.
146: --
147: hr_api.mandatory_arg_error
148: (p_api_name => l_proc
149: ,p_argument => 'object_version_number'
150: ,p_argument_value => p_object_version_number
151: );
148: (p_api_name => l_proc
149: ,p_argument => 'object_version_number'
150: ,p_argument_value => p_object_version_number
151: );
152: hr_api.mandatory_arg_error
153: (p_api_name => l_proc
154: ,p_argument => 'p_exclusion_rule_id'
155: ,p_argument_value => p_exclusion_rule_id
156: );
175: --
176: -- We need to trap the ORA LOCK exception
177: --
178: Exception
179: When HR_Api.Object_Locked then
180: --
181: -- The object is locked therefore we need to supply a meaningful
182: -- error message.
183: --