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 68

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

I have the same question (0)
  • GirishS Profile Picture
    27,833 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans