Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Answered

How to get dimension recid from dim values?

Posted on by 76

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().

  • RadekM Profile Picture
    RadekM 76 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
    André Arnaud de Cal... 291,228 Super User 2024 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,228 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans