Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

XDS methods Refresh frequency

(0) ShareShare
ReportReport
Posted on by

Hi all,

When using eXtensible Data Security, sometimes a temporary table is used with an XDS method. In my case, I want to filter the purchase orders based on users who are in a role. For example:

The user who has assigned the role named "XXXX" can only see the purchase orders created by him or by the other users that have assigned the "XXXX" role(and this with all the roles). For that we have a temporaly table where we save the users names than are going to be filtered in the purchase orders, inserting then in a table methos named "XDS". And the return of than table is "return RefreshFrequency::PerInvocation;".(We decided not to use a comma separated range because it was too long).

The problem is that when we try to create a new Purchase Order, Ax gets hangs.


One solution could be putting the refreshFrequency "PerSession", but the same user can access diferent companies, so we can´t do it, because it is going to be filtered with the values of the first company.

Does anyone know if I could enforce a rebuild even if the user has not logged out?
I have read about flushXDSMyConstructs and I'm going to try it, but y don´t where I have to call the method...

If anyone could help me... It will be great!! Thanks everbody!

*This post is locked for comments

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans