web
You’re offline. This is a read only version of the page.
close
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

Report extension

(3) ShareShare
ReportReport
Posted on by 12
Hi all, 
 
I want to add a description of vendor ledger entries to the standard Aged accounts payable report by using report extension. 
 
Here is my code, but it fails to show, may you help with it thx >< 
 
reportextension 50000 "AP report" extends "Aged Accounts Payable"
{
    dataset
    {
        add(TempVendortLedgEntryLoop)
        {
            // Add the new field to the dataset
            column(Description; "Vendor Ledger Entry".Description) { }
        }
    }
    rendering
    {
        layout(TEST)
        {
            type = RDLC;
            LayoutFile = 'reports\AgedAccountsPayable.rdlc';
        }
    }
}
I have the same question (0)
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,603 Super User 2025 Season 2 on at
  • Suggested answer
    Ramesh Kumar Profile Picture
    7,529 Super User 2025 Season 2 on at
    In your extension, you’re trying to reference "Vendor Ledger Entry".Description, but TempVendorLedgEntryLoop is a temporary table — not a direct "Vendor Ledger Entry" record.
     
    Thanks
    Ramesh
     
    If this was helpful, please check the "Does this answer your question?" box and mark it as verified.
  • Suggested answer
    KP - Solution Architect Technical Profile Picture
    658 on at
    Hi 
     
    Since the standard report assigns values to a temporary table, the data cannot be accessed directly through a report extension. Additionally, The AgedVendorLedgEntry array, which is used to fetch data in the report, cannot be extended or modified.

    Therefore, the recommended approach is to create a copy of the standard report, apply the required modifications, and set the new report as the default in the global search.

     
     
    Let me know if this helped you.
     
    Thanks,
    KP
     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans