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

Join General Journal Account Entry and Vendor

(0) ShareShare
ReportReport
Posted on by 5

I need to join join General Journal Entry and Vendor Table (I try to recreate the Voucher Transaction Report with BYOD Tables).

Below the current query but I don't found any way to connect to [dbo].[VendVendorV2Staging]

SQL (BYOD Tables)

from [dbo].[zzGeneralJournalAccountEntryReportingStaging] gl
left outer join [dbo].[MainAccountStaging] mac
on left(gl.LEDGERACCOUNT,4) = mac.mainaccountid
left outer join [dbo].[zzTransaction_Type] tt
on gl.postingtype = tt.value
left outer join [dbo].[CustomerPaymentJournalLineStaging] cst
on cst.voucher = gl.VOUCHER

pastedimage1644516156360v2.png
Thanks so much for your help
Cheers

Javier

I have the same question (0)
  • huijij Profile Picture
    19,811 on at

    Hi JavierGH,

    The vendor name and name fields on your form are from table of GeneralJournalAccountEntry which you can refer to the relationship about it:

    _4F5C555E2A62FE56_-2022_2D00_02_2D00_11-151524.png

  • JavierGH Profile Picture
    5 on at

    Thanks Judy but I need the relationship by BYOD tables meaning Entity/Staging

  • JavierGH Profile Picture
    5 on at

    I thing the only way is customize one entity .. Thanks Judy for your help.

  • Suggested answer
    Alireza Eshaghzadeh Profile Picture
    14,679 Super User 2025 Season 2 on at

    Hi JavierGH,

    You can evaluate to create a new custom entities for vendor transactions and settled tables and possibly for General journal entry (GJE) and General journal account entry (GJAE). You can use the following join to find vendor id from voucher transactions.

    GJE.RecId=GJAE.GENERALJOURNALENTRY

    VendTrans.Voucher= GJE.subledgervoucher and VendTrans.dataAreaId=GJE.SUBLEDGERVOUCHERDATAAREAID

  • Vallad Profile Picture
    5 on at

    Did you ever get an answer for this? I'm trying to get the same information. Trying to get the vendor for GeneralJournalAccountEntryReportingStaging. Thank you.

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
Martin Dráb Profile Picture

Martin Dráb 672 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 289 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans