Table

ProjInvoiceOnAccDetail

Project invoice lines on-account

Holds detail rows for project on-account invoice lines. Each row links an on-account invoice line to an on-account sale transaction. It stores the line amount in two currencies and a period date. It has no defined key.

Table name
ProjInvoiceOnAccDetail
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
AmountLine amount in the transaction currency.Real
AmountCur
NoNone
AmountMSTAmount in the accounting currency.Real
AmountMST
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceRefRecIdPoints to the on-account invoice line this detail belongs to.Int64
RefRecId
NoProjInvoiceOnAcc.RecIdNone
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
RefRecIdRecord reference pointing to a detail record of this table.Int64
RefRecId
NoProjInvoiceOnAccDetail.RecIdNone
SaleRefRecIdPoints to the project on-account sale transaction.Int64
RefRecId
NoProjOnAccTransSale.RecIdNone
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
WIPPeriodPeriod date for work in progress.Date
ProjPeriodFromWIP
NoNone

Indexes (3)

Relations (3)

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

  • ProjInvoiceOnAcc → ProjInvoiceOnAcc

    Join on InvoiceRefRecId = ProjInvoiceOnAcc.RecId

    Many ProjInvoiceOnAccDetail records → zero or one ProjInvoiceOnAcc record

  • ProjInvoiceOnAccDetail → ProjInvoiceOnAccDetail

    Join on RefRecId = ProjInvoiceOnAccDetail.RecId

    Many ProjInvoiceOnAccDetail records → zero or one ProjInvoiceOnAccDetail record

  • ProjOnAccTransSale → ProjOnAccTransSale

    Join on SaleRefRecId = ProjOnAccTransSale.RecId

    Many ProjInvoiceOnAccDetail records → zero or one ProjOnAccTransSale record

Get this data out

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

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

Email sales@drdynamics.co.uk