339: hr_utility.set_location('Entering:'||l_proc, 5);
340: --
341: -- Ensure that all the mandatory arguments are not null
342: --
343: hr_api.mandatory_arg_error(p_api_name => l_proc,
344: p_argument => 'effective_date',
345: p_argument_value => p_effective_date);
346: --
347: hr_api.mandatory_arg_error(p_api_name => l_proc,
343: hr_api.mandatory_arg_error(p_api_name => l_proc,
344: p_argument => 'effective_date',
345: p_argument_value => p_effective_date);
346: --
347: hr_api.mandatory_arg_error(p_api_name => l_proc,
348: p_argument => 'datetrack_mode',
349: p_argument_value => p_datetrack_mode);
350: --
351: hr_api.mandatory_arg_error(p_api_name => l_proc,
347: hr_api.mandatory_arg_error(p_api_name => l_proc,
348: p_argument => 'datetrack_mode',
349: p_argument_value => p_datetrack_mode);
350: --
351: hr_api.mandatory_arg_error(p_api_name => l_proc,
352: p_argument => 'svc_area_id',
353: p_argument_value => p_svc_area_id);
354: --
355: hr_api.mandatory_arg_error(p_api_name => l_proc,
351: hr_api.mandatory_arg_error(p_api_name => l_proc,
352: p_argument => 'svc_area_id',
353: p_argument_value => p_svc_area_id);
354: --
355: hr_api.mandatory_arg_error(p_api_name => l_proc,
356: p_argument => 'object_version_number',
357: p_argument_value => p_object_version_number);
358: --
359: -- Check to ensure the datetrack mode is not INSERT.
419: --
420: -- We need to trap the ORA LOCK exception
421: --
422: Exception
423: When HR_Api.Object_Locked then
424: --
425: -- The object is locked therefore we need to supply a meaningful
426: -- error message.
427: --