Could someone please help me to udenrstand the relationship between BudgetTransactionLine and GeneralJournalAccountEntry
I run the following query:
SELECT top 100 *
FROM [D365].[GeneralJournalEntry]
where RECID = 5637149826
above recid was taken from [BudgetTransactionLine] table. But how do I make sure that this recid correspond to the GeneralJournalEntry recid?
In t GeneralJournalEntry there is filed SublederVoucherDataAreaID, above query retunred the value of c070,
I have the [BudgetTransactionHeader] which has the filed BudgetModelDataAreaID which I suppose should be same as SublederVoucherDataAreaID.
So I joined [BudgetTransactionLine] and BudgetTransactionHeader on [BudgetTransactionLine].[BudgetTransactionHeader] and got the BudgetModelDataAreaID value differnet which is c250.
so I assume joining on RECIDs will not work.
There is no other relations available in standard.
Can you do one thing - Just check whether BudgetTransactionLine and GeneralJournalAccountEntry table RecId values are same.
I can see in some standard report they are inserting BedgetTransactionLine table RecId as GeneralJournalAccountEntry table RecId for temp table field values.
I am not sure it will work but you can try.
Thanks,
Girish S.
well, from the Budgettransactionline table GeneralJournalEntry filed is filled only with "0"s . so it does not return anything. But is there any other realtionship? I also have BudgetTransactionHeader and BudgetTransactionCode tables
Above said relation is from the standard.
Just join the BudgetTransactionLine and GeneralJournalEntry table and see whether its returning any value.
Thanks,
Girish S.
When I query that join, result is "empty" table
Relation between [BudgetTransactionLine] and [GeneralJournalEntry]
BudgetTransactionLine.GeneralJournalEntry = GeneralJournalEntry.RecId
Relation between [GeneralJournalEntry] and [GeneralJournalAccountEntry]
GeneralJournalAccountEntry.GeneralJournalEntry = GeneralJournalEntry.RecId
Thanks,
Girish S.
which fileds could please specify?
Hi gg96,
There is no direct relation between BudgetTransactionLine and GeneralJournalAccountEntry table.
BudgetTransactionLine table will be related to GeneralJournalEntry table.
GeneralJournalEntry table will be related to GeneralJournalAccountEntry table.
Thanks,
Girish S.
André Arnaud de Cal...
292,111
Super User 2025 Season 1
Martin Dráb
230,934
Most Valuable Professional
nmaenpaa
101,156