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

Announcements

News and Announcements icon
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 178

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)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    306,632 Super User 2026 Season 2 on at

    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/.../

  • RadekM Profile Picture
    178 on at

    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.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 310 Super User 2026 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 276 Most Valuable Professional

#3
Anton Venter Profile Picture

Anton Venter 266 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans