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 :
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
    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,111 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

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,151

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,443 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,092 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans