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 does the Customer Statement Report grab all the customer's ledger entries?

(0) ShareShare
ReportReport
Posted on by 479

Screen-Shot-2022_2D00_06_2D00_01-at-11.33.14-PM.png

I believe this report grabs data from all ledger entries for a specific customer (highlighted in red). Customer Ledger Entries isn't the same table or page as Customer / Customer Card but they are still grabbing its data for the current customer right now. I would like to implement the same functionality but from data on a different table on a different page (on a report extension). Kinda hard to wrap my head around since this isn't just one field I am getting from a different location, but a whole table of data for a specific customer.

Any guidance is appreciated.

  • jdrco Profile Picture
    479 on at
    RE: How does the Customer Statement Report grab all the customer's ledger entries?

    Hi JAngleHow would one create a filter that:

    - gets shipping information of the customer from the Sales Invoices or Posted Sales Invoices that is related to the current customer (just one field for each shipping info: Ship-to Name, Ship-to City, etc).

    - get Sales Invoice Line information from all of the Posted Sales Invoices of the specific customer (a whole table of data where for each posted invoice -> get Quantity and Unit Price from each Sales Invoice Line

  • Suggested answer
    JAngle Profile Picture
    83 on at
    RE: How does the Customer Statement Report grab all the customer's ledger entries?

    The statement report is a hard one to replicate given it has many data items which aren’t linked in an obvious way. If you can devise a filter criteria then you can put that in place in the OnAfterGetRecord trigger of your related table. The data item will then be filled with data. Add all the columns you need. An example design that is easier than the customer statement: docs.microsoft.com/.../devenv-walktrough-designing-reports-multiple-tables

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans