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 :

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

Saurav.Dhyani Profile Picture Saurav.Dhyani 14,419 User Group Leader

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 »

This was originally posted here.

Comments

*This post is locked for comments