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 190

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);
            {
            }
        }

    }

}

  • LearnBC Profile Picture
    190 on at
    RE: Values from Different Table to Report

    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")
                {
                }
            }
    
        }
    
    }

  • Suggested answer
    Nitin Verma Profile Picture
    21,452 Moderator on at
    RE: Values from Different Table to Report

    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.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    999 Moderator on at
    RE: Values from Different Table to Report

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February 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... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans