25 March, 2015 (14:25) | Dynamics AX, SSRS | By: Howard Webb
Hi, Sometimes we need to add fields to a report that uses transactional data. Normally these have their own transactional tables such as CustInvoiceJour, however this report is different. If you check the method \Classes\PurchPurchaseOrderDP\createData you can see that the DP class uses PurchLineAllVersions and PurchTableAllVersions to get its data for the report. We will […]
Tags: 2012, adding fields to Purchase order confirmation, AX, Dynamics, Dynamics AX, Dynamics AX 2012, Purchase order confirmation, PurchLineAllVersions, PurchPurchaseOrder, PurchPurchaseOrderDP, PurchTable, PurchTableAllVersions, PurchTableArchivedVersions, PurchTableHistory, PurchTableNotArchivedVersions, report, SSRS, SSRS report, X++
Comments: 4
10 March, 2015 (11:22) | Dynamics AX, SSRS | By: Howard Webb
Sometimes we would like to run an SSRS report via code to produce a report without user interaction or to call it during a process. To do this we could call the menu item that launches the report, but more often than not we would like to prepopulate it or call it without user interaction. […]
Tags: 2012, AX, Dynamics, Dynamics AX, Dynamics AX 2012, report, SRSPrintDestinationSettings, SrsReportRunController, SSRS, SSRS report, SSRS report via code, X++
29 August, 2014 (14:12) | Dynamics AX, SSRS | By: Howard Webb
If you need to reprint a sales invoice there is a method on the CustInvoiceJour table called printJournal. Calling this method will print using the original print management destination but you can override the destination by passing in an instance of SalesInvoiceJournalPrint. Below is an example of calling it and forcing the print destination to […]
Tags: 2012, AX, custInvoiceJour, Dynamics, Dynamics AX, Dynamics AX 2012, print destinations, printJournal, report, Sales Invoice, SalesInvoiceJournalPrint, SQL server Reporting services, SSRS, SSRS report, X++
Comments: 1
10 June, 2014 (11:02) | Dynamics AX, SSRS | By: Howard Webb
One of our customers produce multiple PDF files for external customer statements. They wished to rename the file with the customer account number. To do this we have edited the following method: \Classes\CustAccountStatementExtController\runPrintMgmt I declared the following variables To make sure that I get just the file name correctly I have used […]
Tags: 2012, AX, Dynamics, Dynamics AX, Dynamics AX 2012, External customer statement, filename, filenamesplit, PDF, print destinations, runPrintMgmt, split file name, SSRS, SSRS report, X++
Comments: 2
28 February, 2014 (15:48) | Dynamics AX, SSRS | By: Howard Webb
Drill through links in SSRS are controlled by C# code which produces a URL that can be processed to call AX which can open a form with the appropriate record. There is a common class (DrillThroughCommonHelper) that will need to be either referenced or modified if you would like to use a lookup in Your […]
Tags: 2012, AX, Dynamics, Dynamics AX, Dynamics AX 2012, report, SSRS, SSRS report
27 February, 2014 (16:38) | Dynamics AX, SSRS | By: Howard Webb
If you are developing a larger auto-design report which groups data together it might be worth adding document navigation to the query to allow the end user to jump between sections of the report: To do this you will need to set up grouping on your table to allow the jumping. The label […]
Tags: 2012, AX, Dynamics, Dynamics AX, Dynamics AX 2012, Navigation Llink, report, SSRS, SSRS report