Sunday, August 9, 2020

dimensionhierarchyhelper::getHierarchyTypeByAccountType has been incorrectly called

 This error accurred in my case when I add a field LedgerDimension Or Offset Ledger dimension in cutom table and used it in the form . In the segmented entry control I set the Accout Type field as Ledger Dimension as You can see in the below Image. the error occurred due to this prperty.

You need to set this property with the Enum type field AccountType in mmy case with enum property "LedgerJournalACType" . as shown in below image.

AccountType field:


No comments:

Post a Comment

Change SSRS Report Design Based On Condition , D365 ,X++

 To change Sales Invoice control document's design based on condition use following code. Here I have created COC of salesInvoiceControl...