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)

Attempt by method 'DynamicClass.TrueFalseHelper::TrueFalse(System.Object)' to access type xyz failed

(0) ShareShare
ReportReport
Posted on by 766

Has anyone allready encountered the following error?

When I navigate through D365 i get this message on some forms. 

Attempt by method 'DynamicClass.TrueFalseHelper::TrueFalse(System.Object)' to access type 'Dynamics.AX.Application.Forms.CaseDetail+FormDataSource.CaseAssociation' failed.


*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    I see that the error mentions Dynamics AX, so I changed the product from Other to Operations. Please make sure you always indicate which application you're talking about and consider asking in the Dynamics AX forum instead of this generic forum about all Dynamics 365 products. I can move it there if you wish.

    Also don't forget to add as much details as possible about the problem, such as what steps you did before running into the error.

  • ThomasWilke Profile Picture
    766 on at

    Hi Martin,

    yes please move it to the Dynamics AX forum.

    I get this message when navigating to caseDetails Form for my cases.

     0383.2017_2D00_03_2D00_17_5F00_0920.png

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Moved to the AX forum.

    Your picture shows that there are five infolog entries. What are the remaining four?

    Also, can you give us the whole call stack leading to the exception?

  • Verified answer
    ThomasWilke Profile Picture
    766 on at

    Thanks for the reply.

    we were able to identify the issue. It was an If statement that should check for a form datasource:

    if (args.getArg('eventArgs').formDataSource()) <-- code that created the issue

    fix:

    if (args.getArg('eventArgs').formDataSource() != null) <-- code that work'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

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