279: end if;
280:
281: if (px_max_asset_id = 0) then
282:
283: FND_FILE.put(FND_FILE.output,'');
284: FND_FILE.new_line(FND_FILE.output,1);
285:
286: -- dump out the headings
287: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
280:
281: if (px_max_asset_id = 0) then
282:
283: FND_FILE.put(FND_FILE.output,'');
284: FND_FILE.new_line(FND_FILE.output,1);
285:
286: -- dump out the headings
287: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
288: l_string := fnd_message.get;
286: -- dump out the headings
287: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
288: l_string := fnd_message.get;
289:
290: FND_FILE.put(FND_FILE.output,l_string);
291: FND_FILE.new_line(FND_FILE.output,1);
292:
293: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
294: l_string := fnd_message.get;
287: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_COLUMN');
288: l_string := fnd_message.get;
289:
290: FND_FILE.put(FND_FILE.output,l_string);
291: FND_FILE.new_line(FND_FILE.output,1);
292:
293: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
294: l_string := fnd_message.get;
295:
292:
293: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
294: l_string := fnd_message.get;
295:
296: FND_FILE.put(FND_FILE.output,l_string);
297: FND_FILE.new_line(FND_FILE.output,1);
298:
299: end if;
300:
293: fnd_message.set_name('OFA', 'FA_MASSRET_REPORT_LINE');
294: l_string := fnd_message.get;
295:
296: FND_FILE.put(FND_FILE.output,l_string);
297: FND_FILE.new_line(FND_FILE.output,1);
298:
299: end if;
300:
301: -- Fetch mass reclass record information.
704: l_mesg := substrb(fnd_message.get, 1, 100);
705:
706: l_string := rpad(p_asset_number, 15) || ' ' || l_mesg;
707:
708: FND_FILE.put(FND_FILE.output,l_string);
709: FND_FILE.new_line(FND_FILE.output,1);
710:
711: -- now process the messages for the log file
712: fa_srvr_msg.add_message
705:
706: l_string := rpad(p_asset_number, 15) || ' ' || l_mesg;
707:
708: FND_FILE.put(FND_FILE.output,l_string);
709: FND_FILE.new_line(FND_FILE.output,1);
710:
711: -- now process the messages for the log file
712: fa_srvr_msg.add_message
713: (calling_fn => l_calling_fn,