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 for Vendor transactions

(0) ShareShare
ReportReport
Posted on by

Does anyone have SQL written to pull vendor transactions from Dynamics AX which have been posted to the GL?  I am just learning and have pulled vendor name and amount but need to figure out the criteria for posted.

*This post is locked for comments

I have the same question (0)
  • Mea_ Profile Picture
    60,284 on at

    Hi avcassada ,

    What do you mean under "not posted to GL" ?

  • Community Member Profile Picture
    on at

    There are unposted and posted invoices and I only need posted.  I only want paid vendor invoices.

  • Mea_ Profile Picture
    60,284 on at

    Ok, and what are you calling "vendor transactions" what table are you referring to ?

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello avcassada,

    It would be great if you could provide some additional information on your request probably by providing an example, as posted invoices might be paid and settled or unpaid.

    Got a bit confused with the terms that you use and I believe a brief example might help.

    Many thanks,

    Ludwig

  • Community Member Profile Picture
    on at

    I am looking for a listing of vendor invoices that have been paid and settled and posted to the general ledger.  I am trying to pull purchase transactions to audit for proper controls and support the financial statements.  I have VendTrans, VendTable, VendInvoiceInfoTable, as a few examples.  I am an external auditor looking to pull data to support the audit.

    An example would be something like VP000020 15.6200000000000000 2016-02-11 00:00:00.0 ADP INC

    Does this help?

  • Community Member Profile Picture
    on at

    Any amounts paid to a vendor - I have VendTable, VendTrans, VendInvoiceInfoTable, and a few others.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello avcassada,

    Do you have a developer on hand that can help you with that or are you on your own?

    Ludwig

  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    Hi avcassada,

    VendTrans(Table) has a field named as Closed.

    This field defines if an invoice has been fully settled with payment.

    So, to extract all fully settled  transactions you can take where VendTrans.Closed = NoYes::Yes

    and vice-versa

  • Community Member Profile Picture
    on at

    All by myself - I develop mostly in Peoplesoft/Oracle.  This is my first experience with Dynamics.

  • Community Member Profile Picture
    on at

    It appears mine has a date in this field so I would do any with a date during the year?  

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
Priya_K Profile Picture

Priya_K 4

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#3
Ali Zaidi Profile Picture

Ali Zaidi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans