Table
ProjInvoiceItemDetail
Project - invoice lines, items
Detail rows for project invoice lines for items. Each row links an item invoice line to the item sale transaction it came from. It holds the cost value, line amount and unit price. It has no defined key in the metadata.
- Table name
ProjInvoiceItemDetail- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostValueCost value of the item sold. | RealSalesCostValue | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceRefRecIdPoints to the project item invoice line (ProjInvoiceItem) that this detail row belongs to. | Int64RefRecId | No | ProjInvoiceItem.RecId | None |
LineAmountAmount of the invoice line, in the transaction currency. | RealAmountCur | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdSystem record ID of this detail row. | Int64RefRecId | No | ProjInvoiceItemDetail.RecId | None |
SaleRefRecIdPoints to the project item sale transaction (ProjItemTransSale) behind this detail row. | Int64RefRecId | No | ProjItemTransSale.RecId | None |
SalesPricePrice of one unit of the item. | RealSalesPrice | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
SaleIdxNot unique.
InvoiceIdxNot unique.
RefRecIdIdxNot unique.
Relations (3)
Each relation joins ProjInvoiceItemDetail to another table on the fields shown.
ProjInvoiceItem→ProjInvoiceItemJoin on
InvoiceRefRecId = ProjInvoiceItem.RecIdMany ProjInvoiceItemDetail records → zero or one ProjInvoiceItem record
ProjInvoiceItemDetail→ProjInvoiceItemDetailJoin on
RefRecId = ProjInvoiceItemDetail.RecIdMany ProjInvoiceItemDetail records → zero or one ProjInvoiceItemDetail record
ProjItemTransSale→ProjItemTransSaleJoin on
SaleRefRecId = ProjItemTransSale.RecIdMany ProjInvoiceItemDetail records → zero or one ProjItemTransSale record
Get this data out
No public entity reads from ProjInvoiceItemDetail. Its data is only reachable through the application, a custom entity or a database export.
Need help with ProjInvoiceItemDetail in a report, an integration or a migration? Talk to Dr Dynamics.