Table

ProjAdvanceInvoiceSettlement_W

Advance invoice payments

Links advance invoices to project invoices and records the payment amount for each link. Each row points to an advance invoice and a project invoice. It can also point to the advance invoices involved in a reversal or cancellation.

Table name
ProjAdvanceInvoiceSettlement_W
Module
Cross-module and platform
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Project
Primary index
AdvanceInvoiceIdx
Replacement key
None
Key fields
AdvanceInvoiceRecId, InvoiceJourRecId, ReversalAdvanceInvoiceRecId, ReversalCancellationRecId
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdvanceInvoiceRecIdSystem record ID of the advance invoice that is settled.Int64
CzCustAdvanceInvoiceRecId
NoCzCustAdvanceInvoiceTable.RecIdNone
InvoiceJourRecIdSystem record ID of the project invoice the advance payment relates to.Int64
RefRecId
NoProjInvoiceJour.RecIdNone
ReversalAdvanceInvoiceRecIdSystem record ID of the advance invoice used when this settlement is reversed.Int64
CzCustAdvanceInvoiceRecId
NoCzCustAdvanceInvoiceTable.RecIdNone
ReversalCancellationRecIdSystem record ID of the advance invoice used when this settlement is cancelled.Int64
CzCustAdvanceInvoiceRecId
NoCzCustAdvanceInvoiceTable.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentAmountAmount paid, in the transaction currency.Real
AmountCur
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

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

  • AdvanceInvoice → CzCustAdvanceInvoiceTable

    Join on AdvanceInvoiceRecId = CzCustAdvanceInvoiceTable.RecId

    Many ProjAdvanceInvoiceSettlement_W records → zero or one CzCustAdvanceInvoiceTable record

  • ReversalAdvanceInvoice → CzCustAdvanceInvoiceTable

    Join on ReversalAdvanceInvoiceRecId = CzCustAdvanceInvoiceTable.RecId

    Many ProjAdvanceInvoiceSettlement_W records → zero or one CzCustAdvanceInvoiceTable record

  • ProjInvoiceJour → ProjInvoiceJour

    Join on InvoiceJourRecId = ProjInvoiceJour.RecId

    Cardinality not set in the metadata.

  • ReversalCancellation → CzCustAdvanceInvoiceTable

    Join on ReversalCancellationRecId = CzCustAdvanceInvoiceTable.RecId

    Many ProjAdvanceInvoiceSettlement_W records → zero or one CzCustAdvanceInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk