12588: --Bug#10359221
12589: END IF;
12590: -- Setting error bufer and return code
12591: IF l_msg_count = 1 THEN
12592: FND_FILE.PUT_LINE(FND_FILE.LOG, l_msg_data);
12593: retcode := 1;
12594: ELSIF l_msg_count > 1 THEN
12595: FND_FILE.PUT_LINE(FND_FILE.LOG, l_msg_count|| ' warnings found.' );
12596: FOR i IN 1 ..l_msg_count
12591: IF l_msg_count = 1 THEN
12592: FND_FILE.PUT_LINE(FND_FILE.LOG, l_msg_data);
12593: retcode := 1;
12594: ELSIF l_msg_count > 1 THEN
12595: FND_FILE.PUT_LINE(FND_FILE.LOG, l_msg_count|| ' warnings found.' );
12596: FOR i IN 1 ..l_msg_count
12597: LOOP
12598: FND_FILE.PUT_LINE(FND_FILE.LOG,FND_MSG_PUB.get (i, L_FND_FALSE) );
12599: END LOOP;
12594: ELSIF l_msg_count > 1 THEN
12595: FND_FILE.PUT_LINE(FND_FILE.LOG, l_msg_count|| ' warnings found.' );
12596: FOR i IN 1 ..l_msg_count
12597: LOOP
12598: FND_FILE.PUT_LINE(FND_FILE.LOG,FND_MSG_PUB.get (i, L_FND_FALSE) );
12599: END LOOP;
12600: retcode := 1;
12601: END IF;
12602: INL_LOGGING_PVT.Log_Statement (
12614: p_procedure_name => l_program_name,
12615: p_debug_info => '< ***** ' || 'Records Errored : ' || l_records_err
12616: ) ;
12617: -- Write the number of records processed and inserted by this concurrent process
12618: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12619: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Read : ' || l_records_read); -- Bug#10359221
12620: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Processed: ' || l_records_processed); -- Bug #9258936
12621: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Errored : ' || l_records_err); -- Bug#10359221
12622: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12615: p_debug_info => '< ***** ' || 'Records Errored : ' || l_records_err
12616: ) ;
12617: -- Write the number of records processed and inserted by this concurrent process
12618: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12619: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Read : ' || l_records_read); -- Bug#10359221
12620: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Processed: ' || l_records_processed); -- Bug #9258936
12621: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Errored : ' || l_records_err); -- Bug#10359221
12622: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12623: --Bug#10359221
12616: ) ;
12617: -- Write the number of records processed and inserted by this concurrent process
12618: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12619: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Read : ' || l_records_read); -- Bug#10359221
12620: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Processed: ' || l_records_processed); -- Bug #9258936
12621: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Errored : ' || l_records_err); -- Bug#10359221
12622: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12623: --Bug#10359221
12624: --Bug#10381495
12617: -- Write the number of records processed and inserted by this concurrent process
12618: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12619: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Read : ' || l_records_read); -- Bug#10359221
12620: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Processed: ' || l_records_processed); -- Bug #9258936
12621: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Errored : ' || l_records_err); -- Bug#10359221
12622: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12623: --Bug#10359221
12624: --Bug#10381495
12625: IF (l_current_org_id <> NVL(l_previous_org_id,-999)) THEN
12618: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12619: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Read : ' || l_records_read); -- Bug#10359221
12620: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Processed: ' || l_records_processed); -- Bug #9258936
12621: FND_FILE.put_line( FND_FILE.log, '< ***** ' || 'Records Errored : ' || l_records_err); -- Bug#10359221
12622: FND_FILE.put_line( FND_FILE.log, '< **************************************>');
12623: --Bug#10359221
12624: --Bug#10381495
12625: IF (l_current_org_id <> NVL(l_previous_org_id,-999)) THEN
12626: INL_LOGGING_PVT.Log_Statement(