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

RDLC - Report Data Item Join Type (INNER/OUTER)

(0) ShareShare
ReportReport
Posted on by 3,255

Hi All,

When developing data sets for RDLC reports, is it possible to define the join type somewhat similar to Query object links where you determine if the join is INNER or OUTER?

Example:

        dataitem(Customer; Customer)
        {
            PrintOnlyIfDetail = true;
            RequestFilterFields = "No.", "Salesperson Code", "Search Name";
            RequestFilterHeading = 'Customer';

            dataitem("Sales Line"; "Sales Invoice Line")
            {

                DataItemLink = "Sell-to Customer No." = FIELD("No.");
                SQLJoinType = INNER;
                DataItemLinkReference = Customer;
The highlighted text above is not supported so are there any alternatives or how do people manage this kind of join?
I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at

    Hi, Unfortunately, SQLJoinType property is only applied to Query Data Item.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-sqljointype-property

    But if you really want to do that, there's an easy way to do it.
    You can first create a Query (Using your SQLJoinType), then create a new Table, and finally set the DataItem as a new Table in the report and insert the values from the Query into the Table (which can be a temporary table).

    I apologize for the lack of clarity and hope the links below will assist you.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/query/queryinstance-open-method

    https://yzhums.com/4869/

    Thanks.

    ZHU

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