323: --
324: Begin
325: hr_utility.set_location('Entering:'||l_proc, 1);
326: --
327: hr_api.mandatory_arg_error
328: (p_api_name => l_proc,
329: p_argument => 'period_of_service_id',
330: p_argument_value => p_period_of_service_id);
331: --
330: p_argument_value => p_period_of_service_id);
331: --
332: hr_utility.set_location(l_proc, 3);
333: --
334: hr_api.mandatory_arg_error
335: (p_api_name => l_proc,
336: p_argument => 'object_version_number',
337: p_argument_value => p_object_version_number);
338: --
372: --
373: -- We need to trap the ORA LOCK exception
374: --
375: Exception
376: When HR_Api.Object_Locked then
377: --
378: -- The object is locked therefore we need to supply a meaningful
379: -- error message.
380: --