
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
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.