web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Report name in AOT from its name in the module ?

(0) ShareShare
ReportReport
Posted on by 95

hi,

i have a lot of customization in several reports in several AX modules (Bank, GL, Account Payable ,....).

what i do to reach the report in AOT, i go first to the module (let's say Bank) then to reports box and fetch the name (say unreconciled bank transactions). and then i go to AOT and try to find the report by matching the words of the report.

So since the name of the report in AOT is "BankAccountReconciliation" and in the module is "unreconciled bank transactions", It's really wasting of time doing it this way.

so is there any other way help me find the report in AOS with its equivalent from the module?

 

Thanks

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,998 Most Valuable Professional on at

    Hi,

    I am not sure if it is exactly what you want, but you can add the report name to the ReportViewer window title. See example at http://dax-cz.blogspot.com/2009/10/zobrazeni-nazvu-reportu.html (text is in Czech, but there is also source code and screenshot).

    Best regards,
    Martin Dráb

  • Community Member Profile Picture
    on at

     Try this way:

    1. open Menus node in AOT, open module you need and find your report.

    2. Right click on thhis node -> Add-Ins -> Open in new window -> Open used menu item

    3. the same with opened menu item:

     Right click -> Add-Ins -> Open in new window -> Open used Report

  • Abdullah Mhmd Profile Picture
    95 on at

    Thank you ser. that's what i want.

    another question: when i open  any report, it displays form to enter criteria (like start date, end date ... )

    how can i customize that dialog ?    

     Thanks again :)

     

     

  • Community Member Profile Picture
    on at

     I think you're asking about Select button on these forms, but I'm not sure.

    If not - give an report name and what you would like to change

  • Kiran Vaswani Profile Picture
    465 on at

    Hello,

              You can customize the dialogue by overriding the dialogue method of the report.

    Thanks.

     

  • Abdullah Mhmd Profile Picture
    95 on at

    i want to add a new criteria (parameter) on the form,  for example in "Specify Inventory value" report under Status/Inventory

    value in "Inventory management" module, when i run the report, a dialog shows up containing "As on:" filed to add a date,

    now i want to add a new date fields (let's say start date and end dates) and i want them to be their by default whenever i run

    the report.

    i tried through Right click --> Setup but everything is disabled..

     

    Thanks 

  • André Arnaud de Calavon Profile Picture
    301,231 Super User 2025 Season 2 on at

    Hi Abdullah,

    The report you mention is a very difficult one. Various classes are business logic is used to build this report. But if you want to change the dialog, you have to search the report "InventSpecPosted" in the AOT. Then open the methods and look for the method "dialog". It says:

    public Object dialog(Object _dialog)
    {
        Object  dialog;
        ;

        dialog = super(_dialog);

        dialog = inventSpecReport.dialog(dialog);
        return dialog;
    }

    In this case the dialog is build in a class "InventReport_DimParmBase" called "inventSpecReport" in this report. Also a method "dialog" is used.

    public Object dialog(Dialog  _dialog = dialog)
    {
        ;
        dialog = super(_dialog);

        dialogDate      = dialog.addFieldValue(typeid(DateOnhand), perDate);
        dialogShowZero  = dialog.addFieldValue(typeid(ShowZeroLines), showZeroLines);

        return dialog;
    }

    This method is used by several reports, so do not change it without looking deeply into these inventory reports.

    In the class declaration you can add variables and dialogfields. Then you can add some fields in the code above. But if you want to have the values as a filter you have to add code in the method "getfromdialog" in this class as well. Then you can use the variables somewhere in the report or classes for e.g. adding ranges to the query.

    Hope this will get you further...

  • Abdullah Mhmd Profile Picture
    95 on at

    appreciate your help Andre .. your post was helpful, hard to implement though :)

    so if u have tutorials regarding customizing dialog in Ax please provide it here... coz i have many scenarios like this for different reports..

     thanks a lot.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans