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 :
Microsoft Dynamics AX (Archived)

How does showAllrecords work?

(0) ShareShare
ReportReport
Posted on by 120

Hi All, 

I want to know how Show all records in record info( when we right click on form) work? how is data queried and fetched in AX?

I had a requirement to hide pricing related data for a particular role. I customized the role to override permissions and hid all the fields in multiple purch related tables. We still have an issue, that when the uder right clicks on the form and click on show all fields, A display method which calculates the not invoiced amount (purchtable.amountOrderedNotInvoicedMST()) is still shown.

I want to restrict that information for that role, as well as want to know how this show all fields work technically.

Any help is highly appreciated. 

Thank you.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Mea_ Profile Picture
    60,286 on at

    Hi Vkunchakuri,

    First of all, function is called "Show all fields" not show all records. Secondly, it adds all field groups to this form, and "Work item" field group has this display method, so that is how it gets populated. You cannot restrict this display method by security.

    You can either remove access to "Record info" form from this users or do a modification to check if users have access to fields used in the display method and return 0 if they do not. It could be done using Global::hasFieldAccess method.

  • Vgubba Profile Picture
    120 on at

    Thank you ievgen Miroshnikov. I will try your suggestion.

    Is it then safe to say that there is no other way to restrict display methods using XDS or by overriding permissions on security role?

  • Vgubba Profile Picture
    120 on at

    Thank you so much ievgen Miroshnikov, your suggestion worked. I really appreciate your time and knowledge.

    Thanks again..

  • Mea_ Profile Picture
    60,286 on at

    XDS works with a record not individual fields, override security permissions may work but I have not tried. Anyway I don't think that you should give access to that functionally to users, why do they need it at all?

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Basit Profile Picture

Basit 1

#1
GL-01081504-0 Profile Picture

GL-01081504-0 1

#1
Roya Profile Picture

Roya 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans