657: hr_utility.trace_off;
658: */
659: -- Record chaged by anothers user.
660: fnd_message.set_name('FND','FORM_RECORD_CHANGED');
661: app_exception.raise_exception ;
662: exception when no_data_found then
663: raise;
664: when others then raise;
665: end lock_row;
1061: if p_actual_termination_date is not null THEN
1062: if (p_last_standard_process_date IS null
1063: and p_legislation_code <> 'US') THEN
1064: fnd_message.set_name('PAY','HR_7576_ALL_MAN_PRO_FIELD');
1065: app_exception.raise_exception;
1066: end if;
1067: if p_actual_termination_date > p_last_standard_process_date then
1068: fnd_message.set_name('PAY','HR_6158_EMP_DATE_CHECK');
1069: app_exception.raise_exception;
1065: app_exception.raise_exception;
1066: end if;
1067: if p_actual_termination_date > p_last_standard_process_date then
1068: fnd_message.set_name('PAY','HR_6158_EMP_DATE_CHECK');
1069: app_exception.raise_exception;
1070: end if;
1071: if p_s_final_process_date is null then
1072: if p_actual_termination_date is not null then
1073: if p_final_process_date is null then
1072: if p_actual_termination_date is not null then
1073: if p_final_process_date is null then
1074: if p_d_status is null then
1075: fnd_message.set_name('PAY','HR_6735_EMP_TERM_NO_STATUS');
1076: app_exception.raise_exception;
1077: end if;
1078: end if;
1079: -- do the ref int stuff
1080: if p_s_actual_termination_date IS null then