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

Notifications

Announcements

Community site session details

Community site session details

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

Report - how to pass two tables as dataitems?

(0) ShareShare
ReportReport
Posted on by 104

Hi. I create report that need to based on two tables as two dataitems. For example:

dataitem(SalesHeader; "Sales Header")

{

some column elements

dataitem(SalesLine; "Sales Line")

{

some SalesLine column elements

}

}

I run this report by pass Sales Header as .SetTableView of report. But I also need to pass Sales Line to this report to show only specific lines related to this Sales Header. How can I set table view also for second dataitem (Sales Line in this example?)

(SalesHEader/SalesLine is only example of report - I have more complicated example and I need to filter exacly two dataitems when Report run)

I have the same question (0)
  • Suggested answer
    Amit Profile Picture
    2,559 on at

    Hi,

    Refer this link for above requirement.

    https://erpconsultors.com/sales-invoice-report-format-and-development/

    Regards

    Amit Sharma

    www.erpconsultors.com

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

News and Announcements

Season of Giving Solutions is Here!

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 1,630

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 800 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 789 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans