Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 175888

Error : Function DimensionHierarchyHelper::getHierarchyTypeByAccountType has been incorrectly called.

$
0
0

Hello, 

I have to create a simple form for mapping purposes. For this purpose, I have created a custom table on which I have a field for ledger dimension (using EDT DimensionDynamicAccount). Note that custom table does not store company specific data because it meant to be a shared table. However, I still maintain a DataAreaId for company specific data. 

I have also created a relation between my custom table and DimensionValueAttributeCombination  as follows : 

NESSicoraxPayrollMapping.LedgerDimension = DimensionValueAttributeCombination.RecId

On the form, I have created a segmented entry control for the user to be able to enter the ledger dimensions.

Properties : 

The issue I'm having is that my control does not display correct ledger dimensions according to company and that I am getting this weird error regarding AccountType. Is there something I am missing here ? Does accountType need to be passed to this segmented entry ? Shouldn't it be defaulted to Ledger ? 

Thank you for your help :) 


Viewing all articles
Browse latest Browse all 175888

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>