Hello everybody,
I will probably post several questions during this summer as I'm doing an internship as AX 2012 Developper ;-) I'm a beginner.
I changed the PSAPurchaseOrder report. To do that we chose to duplicate the default one (we will go this way for all other reports). So I have my XXX_PSAPurchaseOrder that is working fine in preview mode. (The dataset called PurchPurchaseOrderDS have 3 added fields now, and the design is better)
Now I would like to replace the default one! It is called in Accounts payable > Common > All purchase orders > Purchase > and there are several way to create the report (with the “Purchase order Confirmations” journal or with the Generate actions.
- I’ve tried many things to use my report instead of the other but it never changed anything. Here are the things I tried:
- In PSAPurchaseOrderController, change de Report Name in the line : controller.initArgs(_args, ssrsReportStr(PSAPurchaseOrder, Report));
- The same in PurchPurchaseOrderController.
- Change the LinkedPermissionObject property in Menu Items PSAPurchaseOrder, PSAPurchaseOrderCopy, PSAPurchaseOrderOriginal (and the three PurchPurchaseOrder too)
- Checked the print management : can’t select another Report Format than PSAPurchaseOrder.Report
- ....
I’m not familiar with Dynamics and .NET. I’ve tried to check in many classes, forms, tables methods … It's always the default report wich is printed.
Thanks for your help ;-)
Guillaume