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

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 451 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans