DBA Data[Home] [Help]

APPS.PAY_GB_EPS dependencies on FND_FILE

Line 839: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);

835: elsif p_final_submission = 'Yes - Final for the Year' then
836: l_final_submission_year := 'Y';
837: end if;
838:
839: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
840: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
841: fnd_file.put_line(fnd_file.output,' ');
842:
843: -- If Specific PAYE REF is selected

Line 840: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);

836: l_final_submission_year := 'Y';
837: end if;
838:
839: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
840: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
841: fnd_file.put_line(fnd_file.output,' ');
842:
843: -- If Specific PAYE REF is selected
844: if p_emp_paye_reference is not null then

Line 841: fnd_file.put_line(fnd_file.output,' ');

837: end if;
838:
839: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
840: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
841: fnd_file.put_line(fnd_file.output,' ');
842:
843: -- If Specific PAYE REF is selected
844: if p_emp_paye_reference is not null then
845:

Line 882: fnd_file.put_line(fnd_file.output,'The EPS Record has been modified.Please resubmit the concurrent program. ');

878: -- Update the status of the EPS Record to 'Sent'
879: update_status_eps_record(l_effective_date,l_csr_eps.emp_paye_reference,p_business_group_id,'Sent',l_csr_eps.ovn+1,'N',l_result);
880: if(l_result = 'E') then
881: -- Someone modified the record
882: fnd_file.put_line(fnd_file.output,'The EPS Record has been modified.Please resubmit the concurrent program. ');
883: hr_utility.set_location('The Record has been modified.Please resubmit the concurrent program.',100);
884: elsif l_result = 'S' then
885: --Success
886: fnd_file.put_line(fnd_file.output,'The EPS Record has been processed. ');

Line 886: fnd_file.put_line(fnd_file.output,'The EPS Record has been processed. ');

882: fnd_file.put_line(fnd_file.output,'The EPS Record has been modified.Please resubmit the concurrent program. ');
883: hr_utility.set_location('The Record has been modified.Please resubmit the concurrent program.',100);
884: elsif l_result = 'S' then
885: --Success
886: fnd_file.put_line(fnd_file.output,'The EPS Record has been processed. ');
887: hr_utility.set_location('The record has been Updated successfully',100);
888: end if;
889:
890: END IF;

Line 894: fnd_file.put_line(fnd_file.output,'No Records found. ');

890: END IF;
891: END IF;
892: close csr_eps;
893: else
894: fnd_file.put_line(fnd_file.output,'No Records found. ');
895: end if;
896:
897: --If all Paye REferences are selected.
898: else

Line 913: fnd_file.put_line(fnd_file.output,'');

909: close csr_eps_all_paye;
910:
911: open csr_eps_all_paye;
912: fetch csr_eps_all_paye into l_csr_eps_all_paye;
913: fnd_file.put_line(fnd_file.output,'');
914: -- if csr_eps_all_paye%found then
915: loop
916: exit when csr_eps_all_paye%notfound;
917: l_count := 1;

Line 951: fnd_file.put_line(fnd_file.output,'The EPS Record with PAYE Reference '||l_csr_eps_all_paye.emp_paye_reference||' has been processed. ');

947: -- Someone modified the record
948: hr_utility.set_location('The Record has been modified.Please resubmit the concurrent program.',100);
949: elsif l_result = 'S' then
950: --Success
951: fnd_file.put_line(fnd_file.output,'The EPS Record with PAYE Reference '||l_csr_eps_all_paye.emp_paye_reference||' has been processed. ');
952: hr_utility.set_location('The record has been Updated successfully',100);
953: end if;
954:
955: END IF;

Line 963: fnd_file.put_line(fnd_file.output,'No Records found. ');

959: end loop;
960: -- end if;
961: close csr_eps_all_paye;
962: if l_count = 0 then
963: fnd_file.put_line(fnd_file.output,'No Records found. ');
964: end if;
965: end if;
966:
967:

Line 1000: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);

996: hr_utility.set_location(' p_effective_date :' || p_effective_date,160);
997:
998: select to_char(to_date(substr(p_effective_date,0,10),'YYYY-MM-DD'),'DD-MON-YYYY') into l_effective_date from dual;
999:
1000: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
1001: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
1002: fnd_file.put_line(fnd_file.output,' ');
1003:
1004: open csr_eps;

Line 1001: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);

997:
998: select to_char(to_date(substr(p_effective_date,0,10),'YYYY-MM-DD'),'DD-MON-YYYY') into l_effective_date from dual;
999:
1000: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
1001: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
1002: fnd_file.put_line(fnd_file.output,' ');
1003:
1004: open csr_eps;
1005: fetch csr_eps into l_csr_eps;

Line 1002: fnd_file.put_line(fnd_file.output,' ');

998: select to_char(to_date(substr(p_effective_date,0,10),'YYYY-MM-DD'),'DD-MON-YYYY') into l_effective_date from dual;
999:
1000: fnd_file.put_line(fnd_file.output,rpad('PAYE Reference : ',20) || p_emp_paye_reference);
1001: fnd_file.put_line(fnd_file.output,rpad('Effective Date : ',20) || l_effective_date);
1002: fnd_file.put_line(fnd_file.output,' ');
1003:
1004: open csr_eps;
1005: fetch csr_eps into l_csr_eps;
1006: if csr_eps%found then

Line 1007: fnd_file.put_line (fnd_file.LOG,' : Rollback starts');

1003:
1004: open csr_eps;
1005: fetch csr_eps into l_csr_eps;
1006: if csr_eps%found then
1007: fnd_file.put_line (fnd_file.LOG,' : Rollback starts');
1008: -- update the status to 'Sent'
1009: -- update final submission ceased and year to 'No'
1010: update_final_submission(l_effective_date,p_emp_paye_reference,p_business_group_id,'N','N');
1011: update_status_eps_record(l_effective_date,p_emp_paye_reference,p_business_group_id,'Verified',l_csr_eps.ovn+1,'N',l_result);

Line 1016: fnd_file.put_line(fnd_file.output,'The EPS record has been modified.Please resubmit the concurrent program.');

1012:
1013: if(l_result = 'E') then
1014: -- Someone modified the record
1015: hr_utility.set_location('The EPS record has been modified.Please resubmit the concurrent program.',100);
1016: fnd_file.put_line(fnd_file.output,'The EPS record has been modified.Please resubmit the concurrent program.');
1017: elsif l_result = 'S' then
1018: --Success
1019: hr_utility.set_location('The record has been rolled back successfully',100);
1020: fnd_file.put_line(fnd_file.output,'The EPS Record has been rolled back. ');

Line 1020: fnd_file.put_line(fnd_file.output,'The EPS Record has been rolled back. ');

1016: fnd_file.put_line(fnd_file.output,'The EPS record has been modified.Please resubmit the concurrent program.');
1017: elsif l_result = 'S' then
1018: --Success
1019: hr_utility.set_location('The record has been rolled back successfully',100);
1020: fnd_file.put_line(fnd_file.output,'The EPS Record has been rolled back. ');
1021: end if;
1022: else
1023: fnd_file.put_line(fnd_file.output,'No Records found. ');
1024: end if;

Line 1023: fnd_file.put_line(fnd_file.output,'No Records found. ');

1019: hr_utility.set_location('The record has been rolled back successfully',100);
1020: fnd_file.put_line(fnd_file.output,'The EPS Record has been rolled back. ');
1021: end if;
1022: else
1023: fnd_file.put_line(fnd_file.output,'No Records found. ');
1024: end if;
1025:
1026: end rollback_eps;
1027:

Line 1065: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SMP for PAYE Reference '||p_emp_paye_reference||'.');

1061: close csr_eps;
1062:
1063: if l_csr_eps.smp_amt_recovered_calc < 0 then
1064: hr_utility.set_location('Negative Grand Total of SMP for PAYE Reference '||p_emp_paye_reference||'.',10);
1065: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SMP for PAYE Reference '||p_emp_paye_reference||'.');
1066: l_err := true;
1067: end if;
1068:
1069: if l_csr_eps.sap_amt_recovered_calc < 0 then

Line 1071: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SAP for PAYE Reference '||p_emp_paye_reference||'.');

1067: end if;
1068:
1069: if l_csr_eps.sap_amt_recovered_calc < 0 then
1070: hr_utility.set_location('Negative Grand Total of SAP for PAYE Reference '||p_emp_paye_reference||'.',10);
1071: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SAP for PAYE Reference '||p_emp_paye_reference||'.');
1072: l_err := true;
1073: end if;
1074:
1075: if l_csr_eps.ospp_amt_recovered_calc < 0 then

Line 1077: fnd_file.put_line(fnd_file.output,'Negative Grand Total of OSPP for PAYE Reference '||p_emp_paye_reference||'.');

1073: end if;
1074:
1075: if l_csr_eps.ospp_amt_recovered_calc < 0 then
1076: hr_utility.set_location('Negative Grand Total of OSPP for PAYE Reference '||p_emp_paye_reference||'.',10);
1077: fnd_file.put_line(fnd_file.output,'Negative Grand Total of OSPP for PAYE Reference '||p_emp_paye_reference||'.');
1078: l_err := true;
1079: end if;
1080:
1081: if l_csr_eps.aspp_amt_recovered_calc < 0 then

Line 1083: fnd_file.put_line(fnd_file.output,'Negative Grand Total of ASPP for PAYE Reference '||p_emp_paye_reference||'.');

1079: end if;
1080:
1081: if l_csr_eps.aspp_amt_recovered_calc < 0 then
1082: hr_utility.set_location('Negative Grand Total of ASPP for PAYE Reference '||p_emp_paye_reference||'.',10);
1083: fnd_file.put_line(fnd_file.output,'Negative Grand Total of ASPP for PAYE Reference '||p_emp_paye_reference||'.');
1084: l_err := true;
1085: end if;
1086:
1087: if l_csr_eps.ssp_amt_recovered_calc < 0 then

Line 1089: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SSP for PAYE Reference '||p_emp_paye_reference||'.');

1085: end if;
1086:
1087: if l_csr_eps.ssp_amt_recovered_calc < 0 then
1088: hr_utility.set_location('Negative Grand Total of SSP for PAYE Reference '||p_emp_paye_reference||'.',10);
1089: fnd_file.put_line(fnd_file.output,'Negative Grand Total of SSP for PAYE Reference '||p_emp_paye_reference||'.');
1090: l_err := true;
1091: end if;
1092:
1093: if l_csr_eps.nic_comp_smp_calc < 0 then

Line 1095: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on SMP for PAYE Reference '||p_emp_paye_reference||'.');

1091: end if;
1092:
1093: if l_csr_eps.nic_comp_smp_calc < 0 then
1094: hr_utility.set_location('Negative NIC Recovery on SMP for PAYE Reference '||p_emp_paye_reference||'.',10);
1095: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on SMP for PAYE Reference '||p_emp_paye_reference||'.');
1096: l_err := true;
1097: end if;
1098:
1099: if l_csr_eps.nic_comp_sap_calc < 0 then

Line 1101: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on SAP for PAYE Reference '||p_emp_paye_reference||'.');

1097: end if;
1098:
1099: if l_csr_eps.nic_comp_sap_calc < 0 then
1100: hr_utility.set_location('Negative NIC Recovery on SAP for PAYE Reference '||p_emp_paye_reference||'.',10);
1101: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on SAP for PAYE Reference '||p_emp_paye_reference||'.');
1102: l_err := true;
1103: end if;
1104:
1105: if l_csr_eps.nic_comp_ospp_calc < 0 then

Line 1107: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on OSPP for PAYE Reference '||p_emp_paye_reference||'.');

1103: end if;
1104:
1105: if l_csr_eps.nic_comp_ospp_calc < 0 then
1106: hr_utility.set_location('Negative NIC Recovery on OSPP for PAYE Reference '||p_emp_paye_reference||'.',10);
1107: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on OSPP for PAYE Reference '||p_emp_paye_reference||'.');
1108: l_err := true;
1109: end if;
1110:
1111: if l_csr_eps.nic_comp_aspp_calc < 0 then

Line 1113: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on ASPP for PAYE Reference '||p_emp_paye_reference||'.');

1109: end if;
1110:
1111: if l_csr_eps.nic_comp_aspp_calc < 0 then
1112: hr_utility.set_location('Negative NIC Recovery on ASPP for PAYE Reference '||p_emp_paye_reference||'.',10);
1113: fnd_file.put_line(fnd_file.output,'Negative NIC Recovery on ASPP for PAYE Reference '||p_emp_paye_reference||'.');
1114: l_err := true;
1115: end if;
1116:
1117: if l_csr_eps.cis_deductions_stuff < 0 then

Line 1119: fnd_file.put_line(fnd_file.output,'Negative CIS Deductions Suffered for PAYE Reference '||p_emp_paye_reference||'.');

1115: end if;
1116:
1117: if l_csr_eps.cis_deductions_stuff < 0 then
1118: hr_utility.set_location('Negative CIS Deductions Suffered for PAYE Reference '||p_emp_paye_reference||'.',10);
1119: fnd_file.put_line(fnd_file.output,'Negative CIS Deductions Suffered for PAYE Reference '||p_emp_paye_reference||'.');
1120: l_err := true;
1121: end if;
1122:
1123: if l_csr_eps.nic_holiday_val < 0 then

Line 1125: fnd_file.put_line(fnd_file.output,'Negative NICs Holiday value for PAYE Reference '||p_emp_paye_reference||'.');

1121: end if;
1122:
1123: if l_csr_eps.nic_holiday_val < 0 then
1124: hr_utility.set_location('Negative NICs Holiday value for PAYE Reference '||p_emp_paye_reference||'.',10);
1125: fnd_file.put_line(fnd_file.output,'Negative NICs Holiday value for PAYE Reference '||p_emp_paye_reference||'.');
1126: l_err := true;
1127: end if;
1128:
1129: if l_csr_eps.adv_from_hmrc < 0 then

Line 1131: fnd_file.put_line(fnd_file.output,'Negative Advance Received from HMRC for PAYE Reference '||p_emp_paye_reference||'.');

1127: end if;
1128:
1129: if l_csr_eps.adv_from_hmrc < 0 then
1130: hr_utility.set_location('Negative Advance Received from HMRC for PAYE Reference '||p_emp_paye_reference||'.',10);
1131: fnd_file.put_line(fnd_file.output,'Negative Advance Received from HMRC for PAYE Reference '||p_emp_paye_reference||'.');
1132: l_err := true;
1133: end if;
1134:
1135: if (l_err) then

Line 1176: fnd_file.put_line(fnd_file.output,'The HMRC Office Number is missing.');

1172: emp_paye_ref := nvl(upper(substr(ltrim(substr(emp_paye_reference,4,11),'/'),1,10)),' ');
1173:
1174: if hmrc_office_no = ' ' or hmrc_office_no is null then
1175: hr_utility.set_location('The HMRC Office Number is missing.',10);
1176: fnd_file.put_line(fnd_file.output,'The HMRC Office Number is missing.');
1177: l_err := true;
1178: elsif validate_input(substr(hmrc_office_no,1,3),'NUMBER') > 0
1179: then
1180: hr_utility.set_location('The HMRC Office Number '||hmrc_office_no||' has invalid characters.',10);

Line 1181: fnd_file.put_line(fnd_file.output,'The HMRC Office Number '||hmrc_office_no||' has invalid characters.');

1177: l_err := true;
1178: elsif validate_input(substr(hmrc_office_no,1,3),'NUMBER') > 0
1179: then
1180: hr_utility.set_location('The HMRC Office Number '||hmrc_office_no||' has invalid characters.',10);
1181: fnd_file.put_line(fnd_file.output,'The HMRC Office Number '||hmrc_office_no||' has invalid characters.');
1182: l_err := true;
1183: end if;
1184:
1185: if emp_paye_ref = ' ' or emp_paye_ref is null then

Line 1187: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference is missing.');

1183: end if;
1184:
1185: if emp_paye_ref = ' ' or emp_paye_ref is null then
1186: hr_utility.set_location('The Employer PAYE Reference is missing.',10);
1187: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference is missing.');
1188: l_err := true;
1189: elsif validate_input(emp_paye_ref,'FULL_EDI') > 0 then
1190: hr_utility.set_location('The Employer PAYE Reference '||emp_paye_reference|| ' has invalid characters.',10);
1191: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference '||emp_paye_reference||' has invalid characters.');

Line 1191: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference '||emp_paye_reference||' has invalid characters.');

1187: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference is missing.');
1188: l_err := true;
1189: elsif validate_input(emp_paye_ref,'FULL_EDI') > 0 then
1190: hr_utility.set_location('The Employer PAYE Reference '||emp_paye_reference|| ' has invalid characters.',10);
1191: fnd_file.put_line(fnd_file.output,'The Employer PAYE Reference '||emp_paye_reference||' has invalid characters.');
1192: l_err := true;
1193: end if;
1194:
1195: if employer_name = ' ' or employer_name is null then

Line 1197: fnd_file.put_line(fnd_file.output,'The Employer Name for PAYE Reference '||emp_paye_reference||' is missing.');

1193: end if;
1194:
1195: if employer_name = ' ' or employer_name is null then
1196: hr_utility.set_location('The Employer Name for PAYE Reference '||emp_paye_reference||' is missing.',10);
1197: fnd_file.put_line(fnd_file.output,'The Employer Name for PAYE Reference '||emp_paye_reference||' is missing.');
1198: l_err := true;
1199: elsif validate_input(employer_name,'EMP_NAME') > 0 then
1200: hr_utility.set_location('The Employer Name '||employer_name||' for PAYE Reference '||emp_paye_reference||' has invalid characters .',10);
1201: fnd_file.put_line(fnd_file.output,'The Employer Name '||employer_name||' for PAYE Reference '||emp_paye_reference||' has invalid characters .');

Line 1201: fnd_file.put_line(fnd_file.output,'The Employer Name '||employer_name||' for PAYE Reference '||emp_paye_reference||' has invalid characters .');

1197: fnd_file.put_line(fnd_file.output,'The Employer Name for PAYE Reference '||emp_paye_reference||' is missing.');
1198: l_err := true;
1199: elsif validate_input(employer_name,'EMP_NAME') > 0 then
1200: hr_utility.set_location('The Employer Name '||employer_name||' for PAYE Reference '||emp_paye_reference||' has invalid characters .',10);
1201: fnd_file.put_line(fnd_file.output,'The Employer Name '||employer_name||' for PAYE Reference '||emp_paye_reference||' has invalid characters .');
1202: l_err := true;
1203: end if;
1204:
1205: if acc_off_no = ' ' or acc_off_no is null then

Line 1207: fnd_file.put_line(fnd_file.output,'The Account Office Reference Number for PAYE Reference '||emp_paye_reference||' is missing.');

1203: end if;
1204:
1205: if acc_off_no = ' ' or acc_off_no is null then
1206: hr_utility.set_location('The Account Office Reference Number for PAYE Reference '||emp_paye_reference||' is missing.',10);
1207: fnd_file.put_line(fnd_file.output,'The Account Office Reference Number for PAYE Reference '||emp_paye_reference||' is missing.');
1208: l_err := true;
1209:
1210: elsif (length(acc_off_no) > 13
1211: OR REGEXP_INSTR(acc_off_no,'^([[:digit:]]{1,3})P([[:alpha:]]{1})([[:digit:]]{1,7})([[:digit:]]|X)$') = 0 ) THEN

Line 1214: fnd_file.put_line(fnd_file.output,'Incorrect format entered for Accounts Office Ref Num field for PAYE Reference '||emp_paye_reference||'.Valid format is NNNPANNNNNNNX.');

1210: elsif (length(acc_off_no) > 13
1211: OR REGEXP_INSTR(acc_off_no,'^([[:digit:]]{1,3})P([[:alpha:]]{1})([[:digit:]]{1,7})([[:digit:]]|X)$') = 0 ) THEN
1212:
1213: hr_utility.set_location ('Incorrect format entered for Accounts Office Ref Num field for PAYE Reference '||emp_paye_reference||'.Valid format is NNNPANNNNNNNX.',10);
1214: fnd_file.put_line(fnd_file.output,'Incorrect format entered for Accounts Office Ref Num field for PAYE Reference '||emp_paye_reference||'.Valid format is NNNPANNNNNNNX.');
1215: l_err := true;
1216: END IF;
1217:
1218:

Line 1223: fnd_file.put_line(fnd_file.output,'ECON for PAYE Reference '||emp_paye_reference||' is missing.');

1219: -- ECON Validations
1220: IF (final_submission = 'Yes - Final for the Year' OR final_submission = 'Yes - Final for Ceased PAYE Ref') THEN
1221: IF econ = ' ' OR econ IS NULL THEN
1222: hr_utility.set_location ('ECON for PAYE Reference '||emp_paye_reference||' is missing.',10);
1223: fnd_file.put_line(fnd_file.output,'ECON for PAYE Reference '||emp_paye_reference||' is missing.');
1224: l_err := true;
1225: END IF;
1226: END IF;
1227:

Line 1230: fnd_file.put_line(fnd_file.output,'ECON for PAYE Reference '||emp_paye_reference||' is invalid.');

1226: END IF;
1227:
1228: IF (econ is not null AND econ <> ' ' ) AND econ_validate(econ) = 0 THEN
1229: hr_utility.set_location ('ECON for PAYE Reference '||emp_paye_reference||' is invalid.',10);
1230: fnd_file.put_line(fnd_file.output,'ECON for PAYE Reference '||emp_paye_reference||' is invalid.');
1231: l_err := true;
1232: END IF;
1233:
1234: if final_submission is not null then

Line 1237: fnd_file.put_line(fnd_file.output,'The EDI Sender ID for PAYE Reference '||emp_paye_reference||' is missing.');

1233:
1234: if final_submission is not null then
1235: if l_sender_id is null or l_sender_id = ' ' then
1236: hr_utility.set_location('The EDI Sender ID for PAYE Reference '||emp_paye_reference||' is missing.',10);
1237: fnd_file.put_line(fnd_file.output,'The EDI Sender ID for PAYE Reference '||emp_paye_reference||' is missing.');
1238: l_err := true;
1239: end if;
1240: end if;
1241:

Line 1245: fnd_file.put_line(fnd_file.output,'The Tax Year of Effective Date must be 2013 or later.');

1241:
1242: -- Tax Year Validations
1243: if tax_year < 2013 then
1244: hr_utility.set_location('The Tax Year of Effective Date must be 2013 or later.',10);
1245: fnd_file.put_line(fnd_file.output,'The Tax Year of Effective Date must be 2013 or later.');
1246: l_err := true;
1247: end if;
1248:
1249: -- Calculate Current Tax Year using sysdate

Line 1260: fnd_file.put_line(fnd_file.output,'The Tax Year of Effective Date must be within the Current Tax Year - 2 to Current Tax Year.');

1256: hr_utility.trace('tax year = '||tax_year);
1257: hr_utility.trace('Current year = '||l_current_tax_year);
1258: if( tax_year < (l_current_tax_year - 2 ) or tax_year > l_current_tax_year ) then
1259: hr_utility.set_location('The Tax Year of Effective Date must be within the Current Tax Year - 2 to Current Tax Year.',10);
1260: fnd_file.put_line(fnd_file.output,'The Tax Year of Effective Date must be within the Current Tax Year - 2 to Current Tax Year.');
1261: l_err := true;
1262: end if;
1263:
1264: if (l_err) then