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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

How to extract TB from the database

(0) ShareShare
ReportReport
Posted on by 5

Hi everyone,

I am trying to find a table from the database which will extract the Trial ‘Balance ( i am using the GL Entry and GL Register for the transactions).

I’ve read quite a few articles which suggest that we should be using the GL Account table plus the GL Entry to calculate the Trial Balance but i was wondering if there is a specific table that will show the (Trial Balance) numbers for each period on the financial year?

I would appreciate any help to identify a suitable table from the back-end.

Many thanks, 

N

I have the same question (0)
  • Suggested answer
    Brian Wick Profile Picture
    Microsoft Employee on at

    Hi Neo,

    Unfortunately there's not a specific or 1 table that shows the data/details of the trial balance.  If you design Report 4 (as an example) you will see the data sources are the two tables you mention already; G/L Account & GL Entry.  Hopefully the community will have other suggestions to provide.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,165 Moderator on at

    The approach you need to take to this all depends on what tool you want to use for your export.

    If you want to do it from within NAV you should start with the G/L Account table and use the flowfields in that table. And you can export the data through XML port, report or a codeunit.

    If you want to do your export using an external tool like a SQL query or similar you will have to join the G/L Account table with the G/L entry table.

    Tell me what way you want to do this and we can help you further.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,005 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,148 Super User 2026 Season 1

#3
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 557 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans