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 :
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
    Inge M. Bruvik Profile Picture
    1,037 Moderator on at
    RE: How to extract TB from the database

    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.

  • Suggested answer
    Brian Wick Profile Picture
    on at
    RE: How to extract TB from the database

    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.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,304

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,045

#3
Sumit Singh Profile Picture

Sumit Singh 2,970

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans