web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Displaying Account Structure and dimensions mapping

(0) ShareShare
ReportReport
Posted on by

Hi Guys,

Need your advice. 

I am importing data coming from API into General Ledger Journal. For this I have a separate settings form where I have logic for mapping Journal columns to my csv columns. But I have difficulty with mapping account (AccountDisplayValue in LedgerJournalLineEntity). 

As AccountDisplayValue field could be any account structure assigned to a company I need to have functionality on settings form where user can select account structure and  depending on selected structure, its dimensions will be displayed. 

Could you suggest what  Tables or Entities I can use for this (as I understood account structures are stored in DimensionHierarchy table but don't know where dimensions are)?

Or maybe you can advice a better way to do such mapping. 

Thank you for your help!

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Hi PolinaK,

    Are you using data management import projects, Odata or other custom options to import the data from API? What is API here?

  • WillWU Profile Picture
    22,361 on at

    Hi PolinaK,

    Please check the DimensionAttributeValueGroup.

    Here is an blog about getting General Ledger Data from AX by SQL:

    www.instructorbrandon.com/.../

  • Community Member Profile Picture
    on at

    Hi Andre,

    Its a custom API which I call from the code to get csv from another system, I am not using data management import projects.

  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Hi PolinaK,

    You can probably use the class LedgerDynamicAccountHelper.

    Example:

    LedgerDynamicAccountHelper::getDynamicAccountFromAccountNumber("100120",LedgerJournalACType::Ledger);

  • Community Member Profile Picture
    on at

    Hi Guys,

    Thank you for your help but I'm still feel lost.

    So, maybe I explained bad what I need.  Correct me if I am wrong, but as I understood, we are setting DisplayValue into ledger journal which should be in format account and dimensions (segments) of account structure divided by separator.  So, if account structure has one account, two segments and separator is '-' then display value must be 'account-segment1-segment2'.

    What I need is a dropdown where user can select account structure and depending on selected structure its account and segments are shown in ordered way (not possible combinations but names of segments).

    Something like we can select account in grid on Journal Voucher form but there segments are shown depending on selected account whereas I need on selected account structure.

  • André Arnaud de Calavon Profile Picture
    301,088 Super User 2025 Season 2 on at

    Using the data entities, you can specify which dimensions will be supported during data import. You mentioned that you are writing custom code. In that case, try to see how Microsoft is doing it with the data entities.

    docs.microsoft.com/.../financial-dimension-configuration-integration

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans