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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to show SSRS Report for a specific legal entity

(1) ShareShare
ReportReport
Posted on by 406
Hello, i have 2 legal entities, company1 and company2 in dynamics 365 F&O
I have an ssrs report that i want only to show it for company2 and  not for company1.
how it can be done?
I have the same question (0)
  • Suggested answer
    Hana Xue Profile Picture
    Microsoft Employee on at
    Hi,
    You may consider setting security permissions, responsibilities, and roles for this legal entity. https://dynamics-tips.com/security-roles-explained-d365-finance-and-operations/  Or check out the old threads related to this if it inspires you. 
    Print SSRS report from another legal entity (dynamics.com) 
    Best Regards,
    Hana
  • Suggested answer
    Layan Jwei Profile Picture
    8,165 Super User 2026 Season 1 on at
    Hi D365FO,
     
    Check the following links
     
     
    Thanks,
    Layan Jweihan 
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Verified answer
    Alireza Eshaghzadeh Profile Picture
    14,839 Super User 2026 Season 1 on at
    Hi,
    Consider creating a dedicated SSRS report for this specific company and configuring it in Form Setup > Print management. This way, the document will run uniquely for this company, while other companies can continue using the standard SSRS.
    For projects, accounts receivable, and accounts payable, utilize Form Setup > Print management to configure SSRS or Business Document settings per company.
  • Suggested answer
    Bharani Preetham Peraka Profile Picture
    3,634 Moderator on at
    One way is by using print management where from configuration itself this can be achieved. 
     
    Or you can do the roles and privilege configuration.
     
    Or you can directly set the condition from the code itself.
  • Suggested answer
    MuthukumaranAX Profile Picture
    2,903 on at
    One way is that you can insert the records which are related to specific legal entity to avoid other company information shown in the report.
  • Suggested answer
    Waed Ayyad Profile Picture
    9,066 Super User 2026 Season 1 on at
    Hi @​​​​​​​D365FO ERP Developer,
     
    You can do either by code using ChangeCompnany : By using this keyword you can change company any time and retrieve data from specific company (company2) in your case.
    Or you can create Security role for your report and use User Legal Entity Restrictions. You can check the below link:
     
    Thanks
    Waed Ayyad
     
     Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Waed Ayyad Profile Picture
    9,066 Super User 2026 Season 1 on at
    Hi,
     
    Is your issue resolved?
     
     
  • D365FO DEV Profile Picture
    406 on at
    Hi WAEL
     
    can you provide source code if  i want to do it by code and not security role?
  • Raj Borad Profile Picture
    1,524 on at
    Hi,
     
    You can use the country region code property of the Menu Item (Display/Action/Output) and set the visibality of the report based on code of the country.
     
    Thank you,
    Raj Borad
  • D365FO DEV Profile Picture
    406 on at
    Hi rajborad,
     
    please note that both companies have the same country region.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 545 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 408

#3
Adis Profile Picture

Adis 267 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans