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

Community site session details

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

Tables in the D365 databse that shows the general ledger transactions

(0) ShareShare
ReportReport
Posted on by 5

Hi,

I have accessed a D365 online database through an API. I can display all the tables, but struggles when I try to find the relevant tables to display the general ledger transactions. 
I know that the table containing most GL transactions in the Dynamics AX were called "LedgerTrans", but does anyone know what's the name of the table/tables containing the general ledger data for the D365 online? 

Thanks in advance for any help!

I have the same question (0)
  • Suggested answer
    Sukrut Parab Profile Picture
    71,699 Moderator on at
    RE: Tables in the D365 databse that shows the general ledger transactions

    I am not going to repeat what Andre and Nikolaos said but if you want to see  complete picture of replacement tables for LedgerTrans ,  download whitepaper from below link  to get better understanding . Some sample x++ queries are also part of this white paper to get better understanding.

    docs.microsoft.com/.../mapping-the-ledgertrans-table-to-general-journal-tables-white-paper

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    298,570 Super User 2025 Season 2 on at
    RE: Tables in the D365 databse that shows the general ledger transactions

    Hi OTDynamics,

    A small addition here: LedgerTrans was a table in AX2009 and before. As of AX2012 en now in Dynamics 365 there are two tables:

    - GeneralJournalEntry

    - GeneralJournalAccountEntry.

    The data model has been normalized where the first table contains some voucher general data (one record per voucher) and the details are stored in multiple records containing e.g. the account, dimensions and the amount.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Tables in the D365 databse that shows the general ledger transactions

    What API are you using? It's not possible to access the database tables via any API in the standard application.

    Anyway, GeneralJournalAccountEntry is the core table for ledger transactions.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,333

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 846 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 681 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans