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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Function DimensionHierarchyHelper::getHierarchyTypeByAccountType has been incorrectly called.

(0) ShareShare
ReportReport
Posted on by 70

hi,

I am getting below error while opening any journals

The menu item with name ledgerjournaltable3 could not be opened.

However the infolog states " Function DimensionHierarchyHelper::getHierarchyTypeByAccountType has been incorrectly called."

This can be opened from General ledger > Journal entries > General journals.
and this happens with most of the journal forms .ledgerjournaltabl1-5 .

I think this is a data related issue however I need to understand what the actual issue is and share the inputs to the functional to fix the data.

Had someone faced this issue before.

Thanks.

VK

  • GirishS Profile Picture
    27,845 Moderator on at

    Hi vicky,

    Have you navigated to the method you mentioned?

    On the method "getHierarchyTypeByAccountType" - They are using the switch case for the Enum type which is passed from the arguments.

    I think If none of the Enum exist in the switch case than this error will be thrown.

    You can debug and check what is the value of EnumId which is in the parameter.

    At last, they are throwing the error you mentioned.

    Refer to line number 503 and 504.

    Thanks,

    Girish 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 266 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 217

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans