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);
}