Skip to main content

Notifications

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

Relation between BudgetTransactionLine and GeneralJournalAccountEntry

(0) ShareShare
ReportReport
Posted on by 120

Could someone please help me to udenrstand the relationship between BudgetTransactionLine and  GeneralJournalAccountEntry

  • gg96 Profile Picture
    gg96 120 on at
    RE: Relation 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.

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    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.

  • gg96 Profile Picture
    gg96 120 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    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

  • GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    Above said relation is from the standard.

    Just join the BudgetTransactionLine and GeneralJournalEntry table and see whether its returning any value.

    Thanks,

    Girish S.

  • gg96 Profile Picture
    gg96 120 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    When I query that join, result is "empty" table

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    Relation between [BudgetTransactionLine] and [GeneralJournalEntry]

    BudgetTransactionLine.GeneralJournalEntry = GeneralJournalEntry.RecId

    Relation between [GeneralJournalEntry] and [GeneralJournalAccountEntry]

    GeneralJournalAccountEntry.GeneralJournalEntry =  GeneralJournalEntry.RecId

    Thanks,

    Girish S.

  • gg96 Profile Picture
    gg96 120 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    which fileds could please specify?

  • Suggested answer
    GirishS Profile Picture
    GirishS 27,821 Super User 2024 Season 1 on at
    RE: Relation between [BudgetTransactionLine] and [GeneralJournalAccountEntry]

    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.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,111 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,934 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans