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

Sales order performance issue for the citrix users

(0) ShareShare
ReportReport
Posted on by 30

Dear Experts,

We are using AX 2012 r3 and citrix application for users. While opening sales order form from listpage its taking around 4-5 minutes for some of the users and not for all. I have tried all the ways as discussed in this blogs but no use.  Requesting experts for your valuable suggestions and recommendations for this issue. 

Thanks,

Moulali

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Is it only this one list page that is slow? What about purchase orders?

    Is it always slow for the same users or does it  vary?

    Are there multiple Citrix servers?

    I would check network latency first: ping each AOS server from each Citrix server. Do you notice that some reply times are noticeably slower than others?

    Another explanation would be that these users are using a personalization on the form that includes some slow display field in the grid. Ask one of the "slow" users to clear their usage data for this form and see if it helps.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Moulali,

    Can you tell which security roles are assigned to the users having the issue and those who don't have them? Is it always occurring for the same users any time of the day? The first time, there might be some caching. Are these users opening the sales orders for the same legal entity? Do you have security policies (XDS) enabled, e.g. address book security or secure by legal entity?

    If it is quick for system administrators and not for normal users, then it could be caused by XDS as the system administrator role is bypassing all security.

  • ali026 Profile Picture
    30 on at

    Hi Andre,

    Thanks for your response. Those are working in sales department for them only having the sales order issue.  They have been assigned Sales Clerk, Sales confirmation agent, Sales representive roles and the problem is having for the same users and only one legal entity is there. If they open SO from product transactions, there is no issue and if they open from salesorder listpage its taking 3-4 minutes of time. Some of the (XDS) policies has been customized and those are working based on the Business unit assignment. Thanks.

  • ali026 Profile Picture
    30 on at

    Hi Nikolaos,

    Thanks for your reply.

    1. If they open SO from product transactions, there is no issue and if they open SO from salesorder listpage its taking 3-4 minutes of time.

    2. Yes always slow for the same users. for example Sales department.

    3. yes we have 2 citrix servers.

    4. sure, as per your recommendation i will ping each server from each citrix server and let you know the results.

    5. I have cleared the usage data but for some users still same problem.

    Once again thanks for your responses.

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Seems that xds is the problem. Please check your xds settings and be sure that the criteria in xds is included in table indexes.

    You can also capture AOS trace and use trace parser to see the slow queries.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Like Nikolaos, I also think it is related to the XDS security. The policies are changing the standard query forms before actually doing the call to the database. To be sure if it is related to the security policies, open the same menu items with a user which has the system administrator role assigned. This role is bypassing all security, so will also not change the standard query.

    If you are unsure how to get the possible performance improvement, you may also provide some more details about the security policies active for the sales orders.

  • ali026 Profile Picture
    30 on at

    Yes Andre. They created sales security XDS policy where they are assigning business units to users. For example user "A" as assigned with business unit "101" so user "A" is able to access only "101" sales orders. For my case all business units assigned to "A" and he is able to access all SO's and he can able to create new SO as well. When user "A"  opened all sales order from AR and he is trying to edit the salesorder its taking 3-4 minutes time. Like this we assigned same roles and XDS to 10 users and 6 users only facing the problem to edit the salesorder from the listpage.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Ali026,

    Do you know if the 6 users would get far more sales orders as result compared to others with other business units? It can be related to the number of records in the result set. If this is the case, you need to see if you can improve the performance using index tuning. Did you link the business unit as financial dimension value on the sales orders? In that case, you can also try to add a field for the business unit (+index) on the sales order directly which should then also improve the performance.

  • ali026 Profile Picture
    30 on at

    Thanks andre once again. I will do it as per your recommendations .

  • guk1964 Profile Picture
    10,888 on at

    There a lot of potential factors e.g the particular users cache.

    There are some generic thinsg to generally improve performance e.g turn off preview panes and fact boxes.

    This informative post discussion on the relative merits of rdp and citrix is worth a read. https://community.dynamics.com/ax/f/33/t/238519

    also be aware of this note by Brandon which is a common problem. http://www.instructorbrandon.com/terminal-services-citrix-cache-corruption-dynamics-ax-data-refresh-and-the-most-commonly-forgotten-step/

     Are you using  romaing profiles? A roaming user profile can improve client startup times see Docs for details. (Note however, that roaming user profiles allow users with a computer joined to a Windows Server domain to log on to any computer on the same network and access their documents. If an external file server is holding roaming user profiles then  it can cause significant problems while accessing Group Policies and Profile Data, therefore making the logon slow. An even bigger problem is that all users who have their roaming profiles on that server are bound to experience the same problems - which doesn't seem to be your situation so it may b worht trying.)

    Profile management is important for optimizing user logon times. More importantly, slow logons will affect the global Citrix performance due to the excessive load that logging on places on your system. Best to use pre-configured mandatory profiels for all users - remove anything nor needed the size should be around 256K. Ensure the profiles are cached locally on Citrix servers and deleted once you log off. https://msdn.microsoft.com/en-us/library/windows/desktop/bb776895(v=vs.85).aspx

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

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans