web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Alternative way to calculate vendor summary aging in reports.

(0) ShareShare
ReportReport
Posted on by 60

Greetings experts,

I am trying to find an alternative way to calculate the summary aging of a vendor without using the detailed vendor ledger entry.
My goal is to create an alternative report to the system report since i want to add one more period before the "..after" period.

I have checked the system report  and after investigating the code, i was able to add another period and the code worked perfectly, but my senior has suggested to create my own code from scratch to get familiar more with arrays and flow fields used which I did using the detailed vendor ledger entry and the code worked but i had some fixes to make, but my senior pointed out that there should be an alternative to it like using the balance due in the vendor which should make my code faster.

After checking the original system report (vendor summary aging) i noticed that they did use the vendor but only to get the "..before" period which is everything before the filter starting date. I wondered why they would only use that once if it is faster, so i tried to replicate the code for all the periods and i think i just found why they did not.

If my junior testing skills are anything to go by, if we use the vendor balance due with a timeframe from 5/1/2023 till 10/1/2023, it will still include the balance due of 4/1/2023 meaning that i will have a wrong calculation.

My question remains, is there any alternative to calculating the balance due on each period that is faster than using the detailed vendor ledger entry ?
Hope my question is not very idiotic, and my knowledge is still limited so any exposure would be greatly appreciated.

Thank you in advance!

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    Microsoft Employee on at

    Hello,

    Best probably is to ask you partner for additional assistance on this matter.

    Thank you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 563 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 374 Super User 2026 Season 2

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 331 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans