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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Simple way to retrieve default dimension from Account Structure?

(0) ShareShare
ReportReport
Posted on by 3,155

I have an account structure with is  MainAccount-DefaultDimension (A financial dimension we set up).

I can easily find the Ledger Dimension in GeneralJournalAccountEntry.  I'm trying to, easily, get from that Ledger Dimension to the 'DefaulDimension' portion of the account structure.

The DimensionAttributeValueCombination has the MainAccount portion stored so that is easy to extract.  Now, if I use all the DimAttribute tables I can correctly extract the DefaultDimension but it is 4 more tables and I was thinking there might be an easier that I just don't know about.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    b_radlyjames Profile Picture
    3,155 on at
    RE: Simple way to retrieve default dimension from Account Structure?

    Thanks Bhaskar Roy.  The first one will do.  The second one requires the DefaultDimension which I don't have.  Only the LedgerDimension.  Thanks!

  • 5400 Profile Picture
    7,162 on at
    RE: Simple way to retrieve default dimension from Account Structure?

    If you want to fetch only default dimension u can use below API

    \Classes\DMFDimensionHelper\generateDefaultDimensionStr

  • Verified answer
    5400 Profile Picture
    7,162 on at
    RE: Simple way to retrieve default dimension from Account Structure?

    There is API \Classes\AxdDimensionUtil\getLedgerAccountValue. can you check.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Syed Haris Shah Profile Picture

Syed Haris Shah 9

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Community Member Profile Picture

Community Member 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans