Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

How to extract TB from the database

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

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 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
    Brian Wick 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans