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

Values from Different Table to Report

(0) ShareShare
ReportReport
Posted on by 224

Hello All,

i want to extend a report e Vendor - Balance to Date (321, Report Request) , a new field called External Document No from Gen. Journal Line (81).but while am trying, am not getting Gen Journal line in the data set

Extdoc.jpg

reportextension 60005 "Vendor Balance to Date" extends "Vendor - Balance to Date"
{
    RDLCLayout = './ReportLayouts/VendorBalToDate.rdl';
    dataset
    {
     
        // Add changes to dataitems and columns here
        add(Gen. Journal Line )
        {
            column(External Document Number);
            {
            }
        }

    }

}

I have the same question (0)
  • Suggested answer
    Inge M. Bruvik Profile Picture
    1,111 Moderator on at

    I think the dataitem you will need to add is not the General journal lines. But the general ledger entries

    General journal lines is unposted data and i guess you want to report on posted data.

    But to add the external document number to your report you just have to add that column from the vendor ledger entries. Because the field is also available there. And the vendor ledger entry field is already a dataitem in the report.

  • Suggested answer
    Nitin Verma Profile Picture
    21,708 Moderator on at

    Hi,

    You can not add Gen. Journal Line data item to this report, as this report made of Vendor and Vendor Ledger entry, you are only allowed to use any of the data item, In that case I would suggest please build a new custom report.

    Thanks.

  • LearnBC Profile Picture
    224 on at

    i tried with vendor ledger entries, then also its not getting those values over there

    reportextension 60005 "Vendor Balance to Date" extends "Vendor - Balance to Date"
    {
        RDLCLayout = './ReportLayouts/VendorBalToDate.rdl';
        dataset
        {
         
            // Add changes to dataitems and columns here
            add(Vendor Ledger Entry )
            {
                Column("External Document No")
                {
                }
            }
    
        }
    
    }

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,468

#2
YUN ZHU Profile Picture

YUN ZHU 923 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 607

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans