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