Table

ProjInvoiceEmplDetail

Project - invoice lines, employee

Detail rows for project invoice lines for employee hours. Each row links an invoice hour line to the hour sale transaction it came from. It holds the cost value, line amount and sales price. It has no defined key in the metadata.

Table name
ProjInvoiceEmplDetail
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
CostValueCost amount of the hours, in accounting currency.Real
AmountMST
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRefRecIdPoints to the project employee invoice line (ProjInvoiceEmpl) that this detail row belongs to.Int64
RefRecId
NoProjInvoiceEmpl.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
NoProjInvoiceEmplDetail.RecIdNone
SaleRefRecIdPoints to the project hour sale transaction (ProjEmplTransSale) behind this detail row.Int64
RefRecId
NoProjEmplTransSale.RecIdNone
SalesPriceSales price used for the hours.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 ProjInvoiceEmplDetail to another table on the fields shown.

  • ProjEmplTransSale → ProjEmplTransSale

    Join on SaleRefRecId = ProjEmplTransSale.RecId

    Many ProjInvoiceEmplDetail records → zero or one ProjEmplTransSale record

  • ProjInvoiceEmpl → ProjInvoiceEmpl

    Join on InvoiceRefRecId = ProjInvoiceEmpl.RecId

    Many ProjInvoiceEmplDetail records → zero or one ProjInvoiceEmpl record

  • ProjInvoiceEmplDetail → ProjInvoiceEmplDetail

    Join on RefRecId = ProjInvoiceEmplDetail.RecId

    Many ProjInvoiceEmplDetail records → zero or one ProjInvoiceEmplDetail record

Get this data out

No public entity reads from ProjInvoiceEmplDetail. Its data is only reachable through the application, a custom entity or a database export.

Need help with ProjInvoiceEmplDetail in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk