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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CostValueCost value of the item sold.Real
SalesCostValue
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRefRecIdPoints to the project item invoice line (ProjInvoiceItem) that this detail row belongs to.Int64
RefRecId
NoProjInvoiceItem.RecIdNone
LineAmountAmount of the invoice line, in the transaction currency.Real
AmountCur
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
NoProjInvoiceItemDetail.RecIdNone
SaleRefRecIdPoints to the project item sale transaction (ProjItemTransSale) behind this detail row.Int64
RefRecId
NoProjItemTransSale.RecIdNone
SalesPricePrice of one unit of the item.Real
SalesPrice
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 ProjInvoiceItemDetail to another table on the fields shown.

  • ProjInvoiceItem → ProjInvoiceItem

    Join on InvoiceRefRecId = ProjInvoiceItem.RecId

    Many ProjInvoiceItemDetail records → zero or one ProjInvoiceItem record

  • ProjInvoiceItemDetail → ProjInvoiceItemDetail

    Join on RefRecId = ProjInvoiceItemDetail.RecId

    Many ProjInvoiceItemDetail records → zero or one ProjInvoiceItemDetail record

  • ProjItemTransSale → ProjItemTransSale

    Join on SaleRefRecId = ProjItemTransSale.RecId

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

Email sales@drdynamics.co.uk