Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : S2es4FONKnRU3tIlbrKFqP
Finance | Project Operations, Human Resources, ...
Unanswered

Skip legal entities restriction on user

Like (0) ShareShare
ReportReport
Posted on 18 Aug 2023 20:43:43 by 7,760 Super User 2025 Season 1
Hi all,
 
I need to skip legal entities restriction that are applied to the user. Is it applicable?
I have Form that I should show all legal entities name's but currently only the legal entities from non-restricted entities are appeared.
 
Any hint?
  • Waed Ayyad Profile Picture
    7,760 Super User 2025 Season 1 on 23 Aug 2023 at 18:28:40
    Skip legal entities restriction on user
    Hi Andre,
     
    Yes, "I mean organization assignment on a role to limit the access to particular legal entities", what I want to achieve is to get all legal entities that have related records on certain table (save per company yes) let us call it table1, this data should appear on gird1. In grid 2 I want to show all data from the table1 based on the selected record (company from grid 1). What I have now when the user has restriction on security role. the data that is returned only from the legal entities that the user has grant on it.
     
    Any hint?
  • AndrĂ© Arnaud de Calavon Profile Picture
    292,865 Super User 2025 Season 1 on 21 Aug 2023 at 21:46:33
    Skip legal entities restriction on user
    Hi Waed,
     
    Can you elaborate on the full requirement? I'm not able to understand what should be achieved and what attempts you made so far. What is in this case a "restricted entity"? Is this related to organization assignment on a role to limit the access to particular legal entities?
  • Waed Ayyad Profile Picture
    7,760 Super User 2025 Season 1 on 21 Aug 2023 at 15:56:28
    Skip legal entities restriction on user
    Hi Girish S,
     
    But from the second grid I need to return data based on selected company not only current legal entity.
     
    Regards,
    Waed
  • GirishS Profile Picture
    27,823 Moderator on 20 Aug 2023 at 08:29:40
    Skip legal entities restriction on user
    Is the grid is for viewing purpose only or it will have New and Delete button?
    If its for viewing purpose you can create a cross company query and add that to a view. you can use that view as form datasource for one grid.
    For 2nd grid you can use table1 to view the current legal entity data.
    If the grid has CRUD operation then this cannot be achievable because you don’t know in which company the user created records will be saved.
     
    Thanks,
    Girish S.
  • Waed Ayyad Profile Picture
    7,760 Super User 2025 Season 1 on 19 Aug 2023 at 12:29:03
    Skip legal entities restriction on user
    I need to return all legal entities that have records in table let's called it "Table1" that has "save per company " equal yes.
     
    so, the Form has 2 girds the first one return all legal entities that have records in Table 1 and the second grid return all data from table1 for the current "selected " legal entity 
  • GirishS Profile Picture
    27,823 Moderator on 19 Aug 2023 at 09:57:38
    Skip legal entities restriction on user
    Hi Waed,
     
    It depends upon the save data per company property on the table.
    Can you elaborate your scenario?
     
     
    Thanks,
    Girish S.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,865 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans
Loading complete