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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CostAmountCost amount of the expense, in the project cost amount format; currency not stated in the metadata.Real
CostAmountProject
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRefRecIdPoints to the project expense invoice line (ProjInvoiceCost) that this detail row belongs to.Int64
RefRecId
NoProjInvoiceCost.RecIdNone
LineAmountSales amount of the invoice line; currency not stated in the metadata.Real
ProjSalesAmount
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdSystem record ID of this detail row.Int64
RefRecId
NoProjInvoiceCostDetail.RecIdNone
SaleRefRecIdPoints to the project expense sale transaction (ProjCostTransSale) behind this detail row.Int64
RefRecId
NoProjCostTransSale.RecIdNone
SalesPriceSales price applied to the expense; currency not stated in the metadata.Real
ProjSalesPriceCost
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

Each relation joins ProjInvoiceCostDetail to another table on the fields shown.

  • ProjCostTransSale → ProjCostTransSale

    Join on SaleRefRecId = ProjCostTransSale.RecId

    Many ProjInvoiceCostDetail records → zero or one ProjCostTransSale record

  • ProjInvoiceCost → ProjInvoiceCost

    Join on InvoiceRefRecId = ProjInvoiceCost.RecId

    Many ProjInvoiceCostDetail records → zero or one ProjInvoiceCost record

  • ProjInvoiceCostDetail → ProjInvoiceCostDetail

    Join on RefRecId = ProjInvoiceCostDetail.RecId

    Many 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.

Email sales@drdynamics.co.uk