Table

PSAProjInvoiceDetailTrans

Invoice detail transaction

Links a project invoice proposal to its invoice detail lines. Each record holds a project transaction ID and a reference to one invoice detail line. It has no defined key in the metadata.

Table name
PSAProjInvoiceDetailTrans
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LineNumLine number of the related invoice detail line.Real
LineNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProposalIdInvoice proposal that this detail record belongs to.String (50)
ProjProposalId
YesProjProposalJour.ProposalIdNone
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
RefLineRecIdSystem record ID of the invoice detail line this record points to.Int64
RefRecId
NoPSAProjInvoiceDetailLine.RecIdNone
RefRecIdRecord ID reference to the invoice detail line. It appears to duplicate RefLineRecId.low confidenceInt64
RefRecId
NoNone
RefTableIdID of the table that the reference points to, which is the invoice detail lines table.Integer
RefTableId
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
TransIdID of the project transaction behind this detail record.String (20)
ProjTransIdBase
NoNone

Indexes (2)

Relations (4)

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

  • ProjProposalJour → ProjProposalJour

    Join on ProposalId = ProjProposalJour.ProposalId

    Many PSAProjInvoiceDetailTrans records → exactly one ProjProposalJour record

  • PSAProjInvoiceDetail → PSAProjInvoiceDetailLine

    Join on RefTableId = PSAProjInvoiceDetailLine.TableId, RefRecId = PSAProjInvoiceDetailLine.RecId

    Many PSAProjInvoiceDetailTrans records → zero or one PSAProjInvoiceDetailLine record

  • PSAProjInvoiceDetailLine → PSAProjInvoiceDetailLine

    Join on LineNum = PSAProjInvoiceDetailLine.LineNum, ProposalId = PSAProjInvoiceDetailLine.ProposalId

    Cardinality not set in the metadata.

  • PSAProjInvoiceDetailLineRef → PSAProjInvoiceDetailLine

    Join on RefLineRecId = PSAProjInvoiceDetailLine.RecId

    Many PSAProjInvoiceDetailTrans records → zero or one PSAProjInvoiceDetailLine record

Get this data out

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

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

Email sales@drdynamics.co.uk