Показать сообщение отдельно
Старый 21.01.2019, 06:16   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
alirazazaidi: Custom designs for business documents- Issue Original report was running instead customized, Dynamics 365 for finance and operations
Источник: https://www.tech.alirazazaidi.com/cu...nd-operations/
==============

I did some customization in Business Document or some places these reports are called control document. In classic Ax 2012 we overlay and a lot of efforts saves. But In D365 use extension, which is more powerful feature.



With help of a following article I did customization at least 3 to 4 reports and these reports works fine.

https://docs.microsoft.com/en-us/dyn...-business-docs



But In one case. It did not work, the required report designer did not show in

Setup > Forms > Form setup. Click Print Management . And original report with design run instead of custom design.

I tried on multiple environment, but issue sustain.





By adding following code snippet in my Extended Controller class will resolve the issue. It works for me.




protected void outputReport()

{

SRSCatalogItemName  reportDesign;

reportDesign = ssrsReportStr(MyPurchPurchaseOrder,Report);

this.parmReportName(reportDesign);

this.parmReportContract().parmReportName(reportDesign);

formletterReport.parmReportRun().settingDetail().parmReportFormatName(reportDesign);

super();

}

Источник: https://www.tech.alirazazaidi.com/cu...nd-operations/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.