Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Need Retrieve All Vouchered Invoices in AX with SQL

(0) ShareShare
ReportReport
Posted on by 5

I am a complete newbie with AX. My boss gave the task of exporting all vouchered/paid invoices from AX to another system in house for reporting. I have to write a SQL script to extract the data. At the moment I am completely lost. Any help would be appreciated.

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    Hello Joshua Womack,

    Have you been able to get your issue resolved in the meantime?

    Would be great if you could keep us updated.

    Many thanks and best regards,

    Ludwig

  • Martin Dráb Profile Picture
    Martin Dráb 231,409 Most Valuable Professional on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    All right, I changed the version tag to "Dynamics AX 2012" for you. Please ignore my answer, because it's not applicable if you're on AX 2012.

  • Suggested answer
    Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    Hello Joshua,

    Please have a look at the payment history form that can be accessed for each vendor on the invoice tab in the 'related information' section.

    To me it sounds as if you want to get and export those payment data for all vendors.

    Probably just have a look how that standard feature is designed.

    Best regards,

    Ludwig

  • Joshua Womack Profile Picture
    Joshua Womack 5 on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    We are using the AX 2012 version. My requirement has me looking for the Purchase invoices.

  • Suggested answer
    Martin Dráb Profile Picture
    Martin Dráb 231,409 Most Valuable Professional on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    Unless you host the production database on-premises, you can't access the database and therefore the whole idea is utterly wrong.

    And even if you technically can do it, you shouldn't. Use data entities to export data, possibly to BYOD or Azure Data Lake.

  • Satish Panwar Profile Picture
    Satish Panwar 14,649 on at
    RE: Need Retrieve All Vouchered Invoices in AX with SQL

    Hi Joshua,

    Can you help with following:

    1. What version do you operate?

    2. Do you need Sales side or Purchase side?

    Add little bit more to you question.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans