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.
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.
Yes it is a custom dialog and i get the business unit from it
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
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156