Перейти к содержимому

Dynamics 365 Custom SSRS Purchase Order Form registering and printing

Andrew Karasev

0:00 / 0:00

Dynamics 365 Custom SSRS Purchase Order Form registering and printing

3 948 просмотров · 7 лет назад
Andrew Karasev
486 подписчиков
3 948 просмотров · 7 лет назад
In this video we show you how to create your custom PurchPurchaseOrder.Report If you are watching it, likely you tried to reshape Microsoft sample X++ code for Sales Confirmation Letter to handle Purchase Order SSRS customized form Insted we look at the record for PurchPurchaseOrder form in PRINTMGMTREPORTFORMAT table, where we see that DocumentType field is 11, not 80 as PrintMgmtDocumentType::PurchaseOrderConfirmationRequest would do. As in the Microsoft example, we add a delegate handler method to use custom report. It extends getDefaultReportFormatDelegate method in the PrintMgtDocTypeHandlerExt So you can try to update DocumentType for your form to be 11 and see that now it shows up as alternative in Print management setup - Purchase Order Original Default Report Format drop down list And the fix is to catch the event 11 in getDefaultReportFormatDelegate method Our example is for D365/AX7 7.2 update 12, Visual Studio 2015