147: --
148: End if;
149:
150: --
151: hr_api.mandatory_arg_error
152: (p_api_name => l_proc
153: ,p_argument => 'STAT_SITUATION_RULE_ID'
154: ,p_argument_value => p_stat_situation_rule_id
155: );
159: hr_utility.set_location(l_proc,6);
160: --
161: End if;
162:
163: hr_api.mandatory_arg_error
164: (p_api_name => l_proc
165: ,p_argument => 'OBJECT_VERSION_NUMBER'
166: ,p_argument_value => p_object_version_number
167: );
192: --
193: -- We need to trap the ORA LOCK exception
194: --
195: Exception
196: When HR_Api.Object_Locked then
197: --
198: -- The object is locked therefore we need to supply a meaningful
199: -- error message.
200: --