Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Unanswered

Change existing report 106 "Customer Detailed Aging"

Posted on by 2
Hello experts,

I have been asked to make a "minor" change to the existing report 106 - Customer Detailed Aging.
The current report uses an overdue time in months. We would like to see this in days.
 
In the dataset I see an OverDueMonths field. How do I get an OverdueDays field in the dataset?
 
Thanks,
Paul
  • Mustafa Omerbegović Profile Picture
    Mustafa Omerbegović 1,079 on at
    Change existing report 106 "Customer Detailed Aging"
    Hello Paul,
     
    You should write a little bit of code for that, but it shouldn't be hard if you are a developer.
     
    You can create a copy of this report and write settings for OverDueDays based on the OverDueMonths.
    Essentially, the only difference in your new field when you compare it to existing OverDueMonths is a new procedure that will calculate your OverDueDays.
    The formula for procedure is ToDate - FromDate, and you need to call it (same as it is called native procedure CalcFullMonthsBetweenDates) on the onAfterGetRecord on the Cust_Ledger_Entry_Remaining_Amt_LCY_ column.
     
    Also, add a new column in your RDLC file.
     
    If you have a specific question feel free to ask.
     
    Greetings

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans