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, ...
Suggested Answer

Relation GeneralJournalEntry and Business unit

(0) ShareShare
ReportReport
Posted on by 152

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.

I have the same question (0)
  • Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    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

  • PrachiGupta97 Profile Picture
    152 on at

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

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    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.

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans