278: x_failure_count := 0;
279:
280: if (px_max_asset_id = 0) then
281:
282: FND_FILE.put(FND_FILE.output,'');
283: FND_FILE.new_line(FND_FILE.output,1);
284:
285: -- dump out the headings
286: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
279:
280: if (px_max_asset_id = 0) then
281:
282: FND_FILE.put(FND_FILE.output,'');
283: FND_FILE.new_line(FND_FILE.output,1);
284:
285: -- dump out the headings
286: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
287: l_string := fnd_message.get;
285: -- dump out the headings
286: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
287: l_string := fnd_message.get;
288:
289: FND_FILE.put(FND_FILE.output,l_string);
290: FND_FILE.new_line(FND_FILE.output,1);
291:
292: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
293: l_string := fnd_message.get;
286: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
287: l_string := fnd_message.get;
288:
289: FND_FILE.put(FND_FILE.output,l_string);
290: FND_FILE.new_line(FND_FILE.output,1);
291:
292: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
293: l_string := fnd_message.get;
294:
291:
292: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
293: l_string := fnd_message.get;
294:
295: FND_FILE.put(FND_FILE.output,l_string);
296: FND_FILE.new_line(FND_FILE.output,1);
297:
298: end if;
299:
292: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
293: l_string := fnd_message.get;
294:
295: FND_FILE.put(FND_FILE.output,l_string);
296: FND_FILE.new_line(FND_FILE.output,1);
297:
298: end if;
299:
300: -- Fetch mass reclass record information.
716: l_mesg := substrb(fnd_message.get, 1, 100);
717:
718: l_string := rpad(p_asset_number, 15) || ' ' || l_mesg;
719:
720: FND_FILE.put(FND_FILE.output,l_string);
721: FND_FILE.new_line(FND_FILE.output,1);
722:
723: -- now process the messages for the log file
724: fa_srvr_msg.add_message
717:
718: l_string := rpad(p_asset_number, 15) || ' ' || l_mesg;
719:
720: FND_FILE.put(FND_FILE.output,l_string);
721: FND_FILE.new_line(FND_FILE.output,1);
722:
723: -- now process the messages for the log file
724: fa_srvr_msg.add_message
725: (calling_fn => l_calling_fn,