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 :
Finance | Project Operations, Human Resources, ...
Answered

How to get dimension recid from dim values?

(0) ShareShare
ReportReport
Posted on by 154

Hi,

how can I find a dimension recid having dimension values? 

My requiretemnt is to add lines in ledger and exactly I need to splt posting of purchase invoices on ledger approve.

The dimension values are on conditions and I need the right recid to insert there.

Also if there isn't any recid for it I need to create one, but this I think I could do with LedgerdimensionFacade::serviceCreateLedgerDimension().

I have the same question (0)
  • RadekM Profile Picture
    154 on at
    RE: How to get dimension recid from dim values?

    Thank you,

    especially for jatomas blog.

    I did see some blogs but they explained the AxdDimensionUtil that is already obsolete and Dimension Resolver that I don't really understand.

  • Verified answer
    André Arnaud de Calavon Profile Picture
    297,207 Super User 2025 Season 2 on at
    RE: How to get dimension recid from dim values?

    Hi Radek,

    There are several blogs on the internet about how to interact with the dimension values in x++ coding. E.g.:

    denistrunin.com/.../

    jatomas.com/.../

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 665 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 595 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 558

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans