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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

in Project Invoices Tables, Why There is A Detail Table For Each Lines Table?

(0) ShareShare
ReportReport
Posted on by 1,044

Greetings dears!

I just started diving in project module, and I'm confused regarding the structure of how the project invoices are stored.

I have seen that all project invoices uses "ProjInvoiceJour" as a header, and there are 5 tables for each transaction type (ProjInvoiceOnAcc, ProjInvoiceEmpl, ProjInvoiceCost, ProjInvoiceRevenue and ProjInvoiceItem)

But what I'm confused about is why there is a detail table for each of the trans tables I mentioned above?

Those tables are:

ProjInvoiceOnAccDetail

ProjInvoiceEmplDetail

ProjInvoiceCostDetail

ProjInvoiceRevenueDetail

ProjInvoiceItemDetail

I have seen that the "SalesPrice" and "LineAmount" fields are available in the detail tables, why not on the original trans table it self (i.e. ProjInvoiceEmpl)?

What is the use for dividing the transactions into 2 tables?

Also I have checked the relation cardinality between the detail table and their original trans table, which was:

ProjInvoiceEmpl: ZeroOne  --- ZeroMany ProjInvoiceEmplDetail

So it's possible to have many records in details related to one record in original trans table

But when I checked the standard project invoice report called "PSAProjInvoice" and checked its DP class "PSAProjInvoiceDP", I saw that the detail table was used with a select statement without grouping. Here is a screenshot for the DP class:

pastedimage1632052577167v1.png

Sorry for my bad English and I hope I was clear enough.

Thanks in advance!

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    305,583 Super User 2026 Season 1 on at

    Hi Momochi,

    It is a great question and I can only help partially. I can't remember the full details, but I thought the detail tables were related to corrective or credit invoices.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
André Arnaud de Calavon Profile Picture

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

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 635 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 547

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans