Skip to main content
Suggested answer

Report - how to pass two tables as dataitems?

editSubscribe (0) ShareShare
Posted on by 102

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)