Skip to main content

Notifications

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

  • Akbarpasha Profile Picture
    on at
    RE: Unable to find the relation between Posted project transactions (ProjPostedProjectTransactions) and in View Voucher - D365FO

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

    Thanks again.

    Regards,

    Akbar

  • Verified answer
    Gunjan Bhattachayya Profile Picture
    35,421 on at
    RE: Unable to find the relation between Posted project transactions (ProjPostedProjectTransactions) and in View Voucher - D365FO

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,302 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,114 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans