Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Finance forum / How to get a single re...
Finance forum
Unanswered

How to get a single record of default dimension value from ledger dimension (ledger account) specified on voucher transactions form

Posted on by 134

On voucher transactions form all transactions are shown according to the ledger dimension (ledger-account) which is group of values i.e. mainaccount--businessunit- costcenter-department which is found in dimension attribute value combination table and the default dimension values are found in dimension attribute value set. I have created relationship to obtain the result but its given me multiple values against each ledger dimension. My query is shown attached below:

2620.dim.PNG

Does anyone know where I am creating a wrong relationship among the tables and help me create right query. And the requirement is that I want to see all the transaction amount against each department.

  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    RE: How to get a single record of default dimension value from ledger dimension (ledger account) specified on voucher transactions form

    Working with these tables directly is quite difficult, as you've already found. You usually can make your life easier by using higher-level objects such as LedgerDimensionFacade class or DimensionAttributeLevelValueAllView view. Give them a try.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans