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 :
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,097 Super User 2025 Season 2 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,672 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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,039 Super User 2025 Season 2 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,424 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

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans