DBA Data[Home] [Help]

APPS.ECX_DEBUG dependencies on FND_LOG_ATTACHMENT

Line 792: fnd_log_attachment.writeln(attachment_id, RTRIM(g_message_stack(loop_count).message_text));

788: fnd_message.set_name('ecx', 'Log File');
789: attachment_id := fnd_log.message_with_attachment(pv_LevelToLog, g_aflog_module_name, TRUE);
790: if(attachment_id <> -1) then
791: FOR loop_count IN 1..g_message_stack.COUNT LOOP
792: fnd_log_attachment.writeln(attachment_id, RTRIM(g_message_stack(loop_count).message_text));
793: END LOOP;
794: fnd_log_attachment.close(attachment_id);
795: end if;
796: g_aflog_module_name:=null;

Line 794: fnd_log_attachment.close(attachment_id);

790: if(attachment_id <> -1) then
791: FOR loop_count IN 1..g_message_stack.COUNT LOOP
792: fnd_log_attachment.writeln(attachment_id, RTRIM(g_message_stack(loop_count).message_text));
793: END LOOP;
794: fnd_log_attachment.close(attachment_id);
795: end if;
796: g_aflog_module_name:=null;
797: else
798: uFile_type := utl_file.fopen(g_file_path,g_file_name,'W');

Line 1256: fnd_log_attachment.writeln(l_attachment_id, RTRIM(p_msgs(loop_count)));

1252: l_attachment_id := fnd_log.message_with_attachment(1, p_module, TRUE);
1253: end;
1254: end if;
1255: FOR loop_count IN 1..p_msgs.COUNT LOOP
1256: fnd_log_attachment.writeln(l_attachment_id, RTRIM(p_msgs(loop_count)));
1257: end loop;
1258: fnd_log_attachment.close(l_attachment_id);
1259: exception
1260: when others then

Line 1258: fnd_log_attachment.close(l_attachment_id);

1254: end if;
1255: FOR loop_count IN 1..p_msgs.COUNT LOOP
1256: fnd_log_attachment.writeln(l_attachment_id, RTRIM(p_msgs(loop_count)));
1257: end loop;
1258: fnd_log_attachment.close(l_attachment_id);
1259: exception
1260: when others then
1261: null;--do nothing
1262: end log;