web
You’re offline. This is a read only version of the page.
close
Skip to main content
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,013

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
    298,087 Super User 2025 Season 2 on at
    RE: in Project Invoices Tables, Why There is A Detail Table For Each Lines Table?

    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

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

#2
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 838

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 818 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans