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, ...
Answered

Unable to find the relation between Posted project transactions (ProjPostedProjectTransactions) and in View Voucher - D365FO

(0) ShareShare
ReportReport
Posted on by

Hi All,

We need to write query to fetch the document number from "View Vouchers" from "Posted Project Transactions":

Path : Project management and accounting --> Transactions -- > Posted project transactions and from here we need the relation to "View Voucher":

Data sources involved:

ProjCostTransView,

GeneralJournalAccountEntry, 

GeneralJournalEntry,

DimensionAttributeValueCombination, 

Here we are unable to find the relation between ProjCostTransView and GeneralJournalAccountEntry , GeneralJournalEntry

is there any way that we can relate the above  data sources to get  the data from GeneralJournalAccountEntry , GeneralJournalEntry.

Please advise us.

Regards,

Akbar

I have the same question (0)
  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,423 on at

    Hi Akbar,

    You can try the relation with the tables - PROJTRANSPOSTING and SUBLEDGERVOUCHERGENERALJOURNALENTRY. Try the relations as per this query and see if that works for you.

    select PCT.TRANSID, PTP.VOUCHER from PROJCOSTTRANS	PCT
    	JOIN PROJTRANSPOSTING PTP ON PTP.TRANSID = PCT.TRANSID
    	JOIN SUBLEDGERVOUCHERGENERALJOURNALENTRY SLVGJE ON SLVGJE.VOUCHER = PTP.VOUCHER AND SLVGJE.VOUCHERDATAAREAID = PTP.DATAAREAID
    	JOIN GENERALJOURNALENTRY GJE ON GJE.RECID = SLVGJE.GENERALJOURNALENTRY
    	JOIN GENERALJOURNALACCOUNTENTRY GJAE ON GJAE.GENERALJOURNALENTRY = GJE.RECID

  • Akbarpasha Profile Picture
    on at

    Thank you Gunjan, able to get the desired values now.

    Thanks again.

    Regards,

    Akbar

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 349

#3
Diego Mancassola Profile Picture

Diego Mancassola 263

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans