web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
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,813 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,950 Super User 2026 Season 1 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 692

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 532 Super User 2026 Season 1

#3
CP04-islander Profile Picture

CP04-islander 478

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans