How to Group and Consolidate General Journal Lines Using Query Object in Business Central.

Hi All,

I received a question from a fellow developer to create consolidation entries from general Journal Lines.

In this blog we will discuss how to customize business central the correct way.

How you can write code to sum up lines with multiple fields in a journal for consolidation.

Short Answer

You can consolidate General Journal Lines in Business Central by using a Query Object to group records by Posting Date, Account No., and Dimension Set ID, aggregate amounts using SUM, and then insert the consolidated results into a target journal batch using AL code.

Read Complete Article »

Original Post https://www.sauravdhyani.com/2026/04/how-to-group-and-consolidate-general.html

0 Votes: 0 Upvotes, 0 Downvotes (0 Points)

Leave a reply

Join Us
  • X Network2.1K
  • LinkedIn3.8k
  • Bluesky0.5K
Support The Site
Events
April 2026
MTWTFSS
   1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30    
« Mar   May »
Follow
Search
Popular Now
Loading

Signing-in 3 seconds...

Signing-up 3 seconds...

Discover more from 365 Community Online

Subscribe now to keep reading and get access to the full archive.

Continue reading