221: hr_utility.set_location('Entering:'||l_proc, 5);
222: --
223: -- Add any mandatory argument checking here:
224: -- Example:
225: -- hr_api.mandatory_arg_error
226: -- (p_api_name => l_proc,
227: -- p_argument => 'object_version_number',
228: -- p_argument_value => p_object_version_number);
229: --
226: -- (p_api_name => l_proc,
227: -- p_argument => 'object_version_number',
228: -- p_argument_value => p_object_version_number);
229: --
230: hr_api.mandatory_arg_error(p_api_name => l_proc,
231: p_argument => 'PAYMENT_DETAIL_ID',
232: p_argument_value => p_payment_detail_id);
233: Open C_Sel1;
234: Fetch C_Sel1 Into g_old_rec;
250: --
251: -- We need to trap the ORA LOCK exception
252: --
253: Exception
254: When HR_Api.Object_Locked then
255: --
256: -- The object is locked therefore we need to supply a meaningful
257: -- error message.
258: --