Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Relation GeneralJournalEntry and Business unit

(0) ShareShare
ReportReport
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
    23,091 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
    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
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,145 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,896 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans