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)

Accounts Payable Report with GL Account string included

(0) ShareShare
ReportReport
Posted on by

Hello,

I have been tasked with trying to develop an SQL query that would list all outgoing payments (Check, ACH, EFT, etc.) with the associated GL expense account string.  I do not see any similar reporting available in AX 2012, and have been trying to determine which tables to use and how to build the query.

So far, I am have this:

select  VT.DATAAREAID, VT.ACCOUNTNUM, VT.TRANSDATE, VT.INVOICE, VT.TXT, VT.VOUCHER, VT.DOCUMENTDATE, VT.PAYMREFERENCE, VT.PAYMMODE, GJAE.TRANSACTIONCURRENCYAMOUNT, DAVC.DISPLAYVALUE

FROM

[DynamicsAXProd].[dbo].[VENDTRANS] VT,

[DynamicsAXProd].[dbo].[GENERALJOURNALACCOUNTENTRY] GJAE,

[DynamicsAXProd].[dbo].[DIMENSIONATTRIBUTEVALUECOMBINATION] DAVC

WHERE

VT.CREATEDTRANSACTIONID = GJAE.CREATEDTRANSACTIONID

AND GJAE.LEDGERDIMENSION = DAVC.RECID

AND GJAE.POSTINGTYPE = 14

AND VT.TRANSDATE BETWEEN '04-01-2016' and '04-30-2016'

AND VT.DATAAREAID = '8032'

ORDER BY    VT.DATAAREAID, VT.TRANSDATE, VT.PAYMMODE, VT.PAYMREFERENCE

It gets me close, but I am certain there is a missing piece.  Any help would be appreciated.

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    you can see existing logic and way how it is presented in ax.

    pay a visit to following navigational path

    Accounts payable/Common/Vendor invoices/Open vendor invoices

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
Sukrut Parab Profile Picture

Sukrut Parab 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans