Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

AX client crash while filtering+ordering in a form

Posted on by 425

Hi everyone,

In DAX v5 exist issue with grid filtering in standard EmplTable or EmplTableLookUp forms.

I will use EmplTableLookUp as example.

The form have

 - 2 datasources: EmplTable, DirPartyTable (second one connected to first one via relation by PartyId and have InnerJoin join mode)

 - grid control which using EmplTable as datasource and 2 columns: EmplTable.EmplId, DirPartyTable.Name.

If user (1)  will make sorting by first column (doesn't matter ascending or descending) and (2) will add filter by second column with two like operators, then AX will fall down with crash.

PS sequence of these actions doesn't matter too, so first could be a filter adding.

I thought that problem with SQL request, but that request is running a few seconds.

Maybe someone had seen it before or have some ideas how to debug it...

PS2 off course this form compiled successfully.

*This post is locked for comments

  • ImperialS Profile Picture
    ImperialS 425 on at
    RE: AX client crash while filtering+ordering in a form

    Hi guys,

    Thank for your replies.

    So... client's and server's versions was and still the same.

    I installed last recent kernel version - it didn't resolve the problem.

    Do You have a some other ideas that it could be?

  • Mark Prouty Profile Picture
    Mark Prouty 1,310 on at
    RE: AX client crash while filtering+ordering in a form

    Also check that your client & server are same versions. This behavior (and worse) can occur when versions are not matched.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,269 Super User 2024 Season 2 on at
    RE: AX client crash while filtering+ordering in a form

    Hi Sergey,

    You can try to see if a more recent kernel version for AX2009 would solve your issue. You can open the next page to be able to find details for your version. blogs.msdn.microsoft.com/.../overview-of-microsoft-dynamics-ax-build-numbers

  • Mark Prouty Profile Picture
    Mark Prouty 1,310 on at
    RE: AX client crash while filtering+ordering in a form

    Presumably you can replicate this in your test environment? I would try putting a breakpoint in the init method of datasource and stepping through. When it gets to the problem line, you will have a clue of where the fail occurred.

    Curiously, my EmplTableLookup has no reference to DirPartyTable.  However, EmplTable does. My guess is that EmplTableLookup is not part of the problem. I would take a look at employee relationships in DirPartyTable data.

  • ImperialS Profile Picture
    ImperialS 425 on at
    RE: AX client crash while filtering+ordering in a form

    Hi Mark,

    In this case, We are talking about the global issue, so every system's user have it and yeah, I tried to reset the form layout - doesn't help.

    About modifications, these forms are original Microsoft's implementation.

    Additionally, looks like it is happening only with forms which have EmplTable and DirParty tables and in all other cases, the same actions at a form don't repeat this issue.

  • Mark Prouty Profile Picture
    Mark Prouty 1,310 on at
    RE: AX client crash while filtering+ordering in a form

    I usually see this when user makes changes to form layout by placing a field from multi-row data source on the main record. For example, adding the City from employee address to the employee record.

    Does resetting the form layout help?

    Or is this for all users, and if so, are there modifications to the form?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans