380: hr_utility.set_location('Entering:'||l_proc, 5);
381: --
382: -- Ensure that all the mandatory arguments are not null
383: --
384: hr_api.mandatory_arg_error(p_api_name => l_proc,
385: p_argument => 'effective_date',
386: p_argument_value => p_effective_date);
387: --
388: hr_api.mandatory_arg_error(p_api_name => l_proc,
384: hr_api.mandatory_arg_error(p_api_name => l_proc,
385: p_argument => 'effective_date',
386: p_argument_value => p_effective_date);
387: --
388: hr_api.mandatory_arg_error(p_api_name => l_proc,
389: p_argument => 'datetrack_mode',
390: p_argument_value => p_datetrack_mode);
391: --
392: hr_api.mandatory_arg_error(p_api_name => l_proc,
388: hr_api.mandatory_arg_error(p_api_name => l_proc,
389: p_argument => 'datetrack_mode',
390: p_argument_value => p_datetrack_mode);
391: --
392: hr_api.mandatory_arg_error(p_api_name => l_proc,
393: p_argument => 'per_cm_usg_id',
394: p_argument_value => p_per_cm_usg_id);
395: --
396: hr_api.mandatory_arg_error(p_api_name => l_proc,
392: hr_api.mandatory_arg_error(p_api_name => l_proc,
393: p_argument => 'per_cm_usg_id',
394: p_argument_value => p_per_cm_usg_id);
395: --
396: hr_api.mandatory_arg_error(p_api_name => l_proc,
397: p_argument => 'object_version_number',
398: p_argument_value => p_object_version_number);
399: --
400: -- Check to ensure the datetrack mode is not INSERT.
460: --
461: -- We need to trap the ORA LOCK exception
462: --
463: Exception
464: When HR_Api.Object_Locked then
465: --
466: -- The object is locked therefore we need to supply a meaningful
467: -- error message.
468: --