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)

SQL Query

(0) ShareShare
ReportReport
Posted on by

Hello! I would like to run a query in Excel to get data about outstanding invoices (at an historical date).  

Of course I have a report in AX which does this in pdf. Can I somehow use the SQL query from the AX report in excel?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Fx Profile Picture
    425 on at

    Hi Johan, 

    Can you tell us which version of AX did you use ?

    Considering you are using AX2012 version, you can take a look to the Office Add-ins, especially the Excel one.

    Here you have a good blog on it: Using the Dynamics AX Excel Add-In

    Regards

    FX

  • Community Member Profile Picture
    on at

    Too bad - we are still on 2009 !

  • Suggested answer
    Amir Nazim Profile Picture
    5,994 on at

    you can not use the sql queries but yes through excel addin you can use AOT queries to fetch AX data in excel.

    for your specific task you can use VendOpenInvoicesListPage AOT query, this will give you outstanding invoice list

    on use of excel addin, link below will help you.

    community.dynamics.com/.../working-with-microsoft-dynamics-ax-2012-s-excel-add-in-tools.aspx

  • Suggested answer
    Fx Profile Picture
    425 on at

    Hi

    ,

    I will avoid to play lottery today ...

    Maybe you can use the key shortcut "Ctrl +E". It will export your current form grid content to Excel.

    Keyboard Shortcuts for AX 2009

    Regards

    FX

  • Community Member Profile Picture
    on at

    Thanks but not a grid. Its a report. Any other suggestions?

  • Community Member Profile Picture
    on at

    To bad we still run 2009 !

  • Suggested answer
    Amir Nazim Profile Picture
    5,994 on at

    Open AOT > form > open VendTrans form

    make filter on balance field to exclude 0 values

    make filter on invoice field to exclude empty records.

    then Ctrl +E to export data to excel :)

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

    Hi Johan,

    Using AX2009 you can also save the report in HTML format and then open it using Excel. You have the option to save the report as one single large page from within AX, so you don't get the headers for each page.

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