Menu Close

Change Report name of original invoice

modify method runprintmgmt in  SalesInvoiceController

if(formLetterReport.moveNextPrintSetting())
            {
                printSettingDetail = formLetterReport.getCurrentPrintSetting();

                if(printSettingDetail.parmReportFormatName() == PrintMgmtDocType::construct(PrintMgmtDocumentType::SalesOrderInvoice).getDefaultReportFormat())
                {
                    this.parmReportName(ssrsReportStr(SalesInvoiceCopy, Report));
                 
                }
                printSettingDetail.parmReportFormatName(this.parmReportName());
                this.resetReportDataContract();
                formLetterReport.parmReportRun().loadSettingDetail(printSettingDetail);
            }

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.