Table
ProjInvoiceCostDetail
Project - invoice lines, expense
Detail rows for project expense invoice lines. Each row links an invoice expense line to the expense sale transaction it came from. It holds the cost amount, the line amount and the sales price for that link. It has no defined key in the metadata.
- Table name
ProjInvoiceCostDetail- Module
Project management and accounting- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Project- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (12)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CostAmountCost amount of the expense, in the project cost amount format; currency not stated in the metadata. | RealCostAmountProject | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceRefRecIdPoints to the project expense invoice line (ProjInvoiceCost) that this detail row belongs to. | Int64RefRecId | No | ProjInvoiceCost.RecId | None |
LineAmountSales amount of the invoice line; currency not stated in the metadata. | RealProjSalesAmount | 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 | ProjInvoiceCostDetail.RecId | None |
SaleRefRecIdPoints to the project expense sale transaction (ProjCostTransSale) behind this detail row. | Int64RefRecId | No | ProjCostTransSale.RecId | None |
SalesPriceSales price applied to the expense; currency not stated in the metadata. | RealProjSalesPriceCost | 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 ProjInvoiceCostDetail to another table on the fields shown.
ProjCostTransSale→ProjCostTransSaleJoin on
SaleRefRecId = ProjCostTransSale.RecIdMany ProjInvoiceCostDetail records → zero or one ProjCostTransSale record
ProjInvoiceCost→ProjInvoiceCostJoin on
InvoiceRefRecId = ProjInvoiceCost.RecIdMany ProjInvoiceCostDetail records → zero or one ProjInvoiceCost record
ProjInvoiceCostDetail→ProjInvoiceCostDetailJoin on
RefRecId = ProjInvoiceCostDetail.RecIdMany ProjInvoiceCostDetail records → zero or one ProjInvoiceCostDetail record
Get this data out
No public entity reads from ProjInvoiceCostDetail. Its data is only reachable through the application, a custom entity or a database export.
Need help with ProjInvoiceCostDetail in a report, an integration or a migration? Talk to Dr Dynamics.