Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

Relation GeneralJournalEntry and Business unit

Posted on by 150

I am getting the values of the business unit through the dialog.

I want to select the transaction in voucher transaction ( the table is generaljournalentry) whose business unit is == the business unit I receive in my parameters.

What is the relation? Which field of generaljournalentry has business unit values?

Can you give me the select statement.

  • Suggested answer
    Sergei Minozhenko Profile Picture
    Sergei Minozhenko 23,089 on at
    RE: Relation GeneralJournalEntry and Business unit

    Hi PrachiGupta97,

    I guess business unit in your case if one of the financial dimension.

    There is no direct link between GeneralJournalEntry and financial dimension.

    But you can do it via GeneralJournalEntry -> GeneralJournalAccountEntry (GJAE)  -> DimensionAttributeLevelValueAllView (DALVAV) (GJAE.LedgerDimension = DALVAV.VALUECOMBINATIONRECID).

    This query will give you a slice of all dimensions and accounts used for transactions.

    By filtering DimensionAttributeLevelValueAllView table by RecId of DImension attribute for Business unit (DimensionAttribute table) and DisplayValue = value from the dialog, you can find all transactions with certain business unit.

  • PrachiGupta97 Profile Picture
    PrachiGupta97 150 on at
    RE: Relation GeneralJournalEntry and Business unit

    Yes it is a custom dialog and i get the business unit from it

  • Ludwig Reinhard Profile Picture
    Ludwig Reinhard Microsoft Employee on at
    RE: Relation GeneralJournalEntry and Business unit

    Hi PrachiGupta97,

    What dialog do you refer to?

    Is this a custom dialog that gives you the business unit values?

    Can you share a screenprint?

    Many thanks,

    Ludwig

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

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

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans