1152: IF l_retcode = 2 THEN
1153: Fnd_file.put_line(FND_FILE.LOG,l_errbuf);
1154: Fnd_file.put_line(FND_FILE.OUTPUT,'Report completed with Error(s)');
1155: Fnd_file.put_line(FND_FILE.OUTPUT,l_errbuf);
1156: error_message := FND_CONCURRENT.SET_COMPLETION_STATUS('ERROR',
1157: 'Report completed with Error(s).Please check the log/output file.');
1158: ELSIF l_retcode = 1 THEN
1159: Fnd_file.put_line(FND_FILE.LOG,l_errbuf);
1160: Fnd_file.put_line(FND_FILE.OUTPUT,'Report completed with warning(s)');
1157: 'Report completed with Error(s).Please check the log/output file.');
1158: ELSIF l_retcode = 1 THEN
1159: Fnd_file.put_line(FND_FILE.LOG,l_errbuf);
1160: Fnd_file.put_line(FND_FILE.OUTPUT,'Report completed with warning(s)');
1161: error_message := FND_CONCURRENT.SET_COMPLETION_STATUS('WARNING',
1162: 'Report completed with validation warning(s).Please check the log/output file.');
1163: END IF;
1164:
1165: