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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / General Ledger tables
Finance forum

General Ledger tables

(1) ShareShare
ReportReport
Posted on by 5

Hi all,

We are trying to extract the general ledger data from D365 F&O from the back end using BYOD (https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/analytics/export-entities-to-your-own-database).

Does anyone know which tables in D365 relates to the general ledger?

Kind regards,

Yi Han

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    306,356 Super User 2026 Season 1 on at

    Hi Yi,

    You are asking about tables. BYOD works with data entities. Is your question if there are standard entities available or do you need table names to create an own entity?

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    I would start by looking at data entities with word Ledger in the name. I assume you are looking for data entities, not tables, since BYODB export uses entities.

  • Suggested answer
    Ties Philippi Profile Picture
    962 on at

    I would assume you want the GeneralJournalAccountEntryEntity (name = General Journal Account Entry). This contains the transactions basically like you would get from the trial balance.

  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hello Yi Han,

    If you could provide some additional information what kind of general ledger data you are looking for and what you try to do with them then it would be much easier guiding you what to look out for.

    Would be great if you could spend a couple of minutes to explain what you try to achieve.

    Many thanks,

    Ludwig

  • Suggested answer
    Yi Han Wong Profile Picture
    5 on at

    I did some further digging and it turns out that the table I needed are

    • GeneralJournalAccountEntry
    • GeneralJournalEntry

    I was slightly surprised by this as I did not expect D365 to have the same table structure as Dynamics AX.

    By joining the GeneralJournalEntry column from GJAE to the recid column in GJE I was able to have the GL data (including entities, dates, descriptions, users etc) in one table.

  • MYGz Profile Picture
    2,473 on at

    You will get the Journal Batch Number from LedgerEntryJournal table. It maps to the journalnum in Ledgerjournaltable. The JournalNumber column in GeneralJournalEntry is not the same as journalnum in LedgerJournaltable.

    But I'd go with Andre's and Nikolaos's suggestion anyway.

  • André Arnaud de Calavon Profile Picture
    306,356 Super User 2026 Season 1 on at

    So, your question was about the tables. However, have a look at the standard entity mentioned above which already has the option to export the ledger entries.

    If you are not aware: Dynamics 365 for Finance and Operations was an evolution of AX 2012 R3. The same data model and code base was used to create the new browser based version.

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans