AX 2012 MophX Report Export To File
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了AX 2012 MophX Report Export To File相关的知识,希望对你有一定的参考价值。
args args; ReportRun rr; Report rb; PrintJobSettings pjs; ; args= new Args("Report"); args.record(common)); args.parmEnum(PrintCopyOriginal::OriginalPrint); rr = new ReportRun(Args); rb = rr.report(); rr.suppressReportIsEmptyMessage(true); // no more "Report is empty..." stuff pjs = rr.printJobSettings(); pjs.virtualPageHeight(0); pjs.fitToPage(true); rb.interactive(false); rr.query().interactive(false); pjs.setTarget(PrintMedium::File); pjs.viewerType(ReportOutputUserType::html); rr.init(); pjs.setTarget(PrintMedium::File); pjs.viewerType(ReportOutputUserType::HTML); pjs.format(printFormat::HTML); pjs.fileName(@"fileName"); rr.run();
以上是关于AX 2012 MophX Report Export To File的主要内容,如果未能解决你的问题,请参考以下文章
AX2009要不要搞下去是打SP1补丁,还是直升级AX2012R3
AX2012 getDefaultDimensionFromLedgerDimension