Langsung ke konten utama

Postingan

Menampilkan postingan dengan label report AX

SSRS error: Domain role with multiplicity 0..1 or 1 can hold at most 1 link

SSRS error: Domain role with multiplicity 0..1 or 1 can hold at most 1 link I got the following error when I duplicate a SSRS report in Visual Studio: Domain role with multiplicity 0..1 or 1 can hold at most 1 link: DataSetParameter of Microsoft.Dynamics.Framework.Design.Model.Reports.DataSetParameterRefersToParameter. To resolve it do the following on the report datasets: Change the datasource type to Query. Delete the whole query text in the "Query" field. Save, rebuild and change the values on the datasource back to the ones intended I also noticed the above actions can help resolve other problems, like inconsistency in the report parameters (can occur if you change the contract parameters).

Create PDF from SSRS Form

Hi, i want to share code to create and save from SSRS Report I created a new Button, so after user selects data and clicks the button, system creates a PDF file and saves it to the destination folder. public static void main(Args _args) {     PurchTable                      purchTable,purchTable2, row;     PurchPurchaseOrderContract      purchPurchaseOrderContract;     VendPurchOrderJour              vendPurchOrderJour;     FormDataSource                  purchTable_ds;     SRSPrintDestinationSettings     settings;     SrsReportRunController          controller ;     str                             folderPath;     dialog     ...

Save SSRS report to pdf that uses Controller classes [Dynamics AX 2012]

Friends, This is the most commonly asked requirement of saving the report to pdf and send it to through email. We all know that SRSReportRun class is helpful in combination with printDestinationsettings to save to pdf file. But tricky requirements are those which uses controller classes for the report. Below is the small snippet which will help to save the sales invoice report to pdf that actually uses controller classes. static   void  SR_SaveReportToPDFFromController(Args _args) {     SalesInvoiceController  salesInvoiceController;     SalesInvoiceContract    salesInvoiceContract;     Args                    args =  new  Args();     SrsReportRunImpl        srsReportRun;     Cus...

Fixing Trial Balance in Microsoft Dynamics AX 2012

In the legal entity in which you are experiencing trial balance issues with, go to the address  below  and  then click  Financial dimension sets . It will bring you to this form below.  Select the financial dimension set you were using when  viewing  the  trial balance and click  Rebuild   balances  at the top of the form. Next, click  OK  and wait patiently.  This might take some time depending on how many transactions  are  in your system. Once it is finished, go back into your trial balance and select the dimension set at the top of the screen.  Click Refresh  to ensure that the data has been updated. Finish..