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, ...
Answered

How to get dimension recid from dim values?

(0) ShareShare
ReportReport
Posted on by 172

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
    301,035 Super User 2025 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
    172 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

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 544 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans