535: if p_jobid is not null then
536: for l_job_evaluation in csr_job_evaluations(
537: p_job_id => p_jobid) loop
538: if l_job_evaluation.date_evaluated not between
539: nvl(p_job_date_from, hr_api.g_sot) and
540: nvl(p_job_date_to, hr_api.g_eot) then
541: fnd_message.set_name('PER', 'HR_52603_JOB_JBE_OUT_PERIOD');
542: hr_utility.raise_error;
543: end if;
536: for l_job_evaluation in csr_job_evaluations(
537: p_job_id => p_jobid) loop
538: if l_job_evaluation.date_evaluated not between
539: nvl(p_job_date_from, hr_api.g_sot) and
540: nvl(p_job_date_to, hr_api.g_eot) then
541: fnd_message.set_name('PER', 'HR_52603_JOB_JBE_OUT_PERIOD');
542: hr_utility.raise_error;
543: end if;
544: end loop;