608: hr_utility.set_location('Entering:'||l_proc, 5);
609: --
610: -- Ensure that all the mandatory arguments are not null
611: --
612: hr_api.mandatory_arg_error(p_api_name => l_proc,
613: p_argument => 'effective_date',
614: p_argument_value => p_effective_date);
615: --
616: hr_api.mandatory_arg_error(p_api_name => l_proc,
612: hr_api.mandatory_arg_error(p_api_name => l_proc,
613: p_argument => 'effective_date',
614: p_argument_value => p_effective_date);
615: --
616: hr_api.mandatory_arg_error(p_api_name => l_proc,
617: p_argument => 'datetrack_mode',
618: p_argument_value => p_datetrack_mode);
619: --
620: hr_api.mandatory_arg_error(p_api_name => l_proc,
616: hr_api.mandatory_arg_error(p_api_name => l_proc,
617: p_argument => 'datetrack_mode',
618: p_argument_value => p_datetrack_mode);
619: --
620: hr_api.mandatory_arg_error(p_api_name => l_proc,
621: p_argument => 'person_id',
622: p_argument_value => p_person_id);
623: --
624: hr_api.mandatory_arg_error(p_api_name => l_proc,
620: hr_api.mandatory_arg_error(p_api_name => l_proc,
621: p_argument => 'person_id',
622: p_argument_value => p_person_id);
623: --
624: hr_api.mandatory_arg_error(p_api_name => l_proc,
625: p_argument => 'object_version_number',
626: p_argument_value => p_object_version_number);
627: --
628: -- Check to ensure the datetrack mode is not INSERT.
705: --
706: -- We need to trap the ORA LOCK exception
707: --
708: Exception
709: When HR_Api.Object_Locked then
710: --
711: -- The object is locked therefore we need to supply a meaningful
712: -- error message.
713: --