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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdvanceInvoiceRecIdSystem record ID of the advance invoice that is settled. | Int64CzCustAdvanceInvoiceRecId | No | CzCustAdvanceInvoiceTable.RecId | None |
InvoiceJourRecIdSystem record ID of the project invoice the advance payment relates to. | Int64RefRecId | No | ProjInvoiceJour.RecId | None |
ReversalAdvanceInvoiceRecIdSystem record ID of the advance invoice used when this settlement is reversed. | Int64CzCustAdvanceInvoiceRecId | No | CzCustAdvanceInvoiceTable.RecId | None |
ReversalCancellationRecIdSystem record ID of the advance invoice used when this settlement is cancelled. | Int64CzCustAdvanceInvoiceRecId | No | CzCustAdvanceInvoiceTable.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentAmountAmount paid, in the transaction currency. | RealAmountCur | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
AdvanceInvoiceIdxPrimary indexAdvanceInvoiceRecId,InvoiceJourRecId,ReversalAdvanceInvoiceRecId,ReversalCancellationRecIdUnique, alternate key.
Relations (4)
Each relation joins ProjAdvanceInvoiceSettlement_W to another table on the fields shown.
AdvanceInvoice→CzCustAdvanceInvoiceTableJoin on
AdvanceInvoiceRecId = CzCustAdvanceInvoiceTable.RecIdMany ProjAdvanceInvoiceSettlement_W records → zero or one CzCustAdvanceInvoiceTable record
ReversalAdvanceInvoice→CzCustAdvanceInvoiceTableJoin on
ReversalAdvanceInvoiceRecId = CzCustAdvanceInvoiceTable.RecIdMany ProjAdvanceInvoiceSettlement_W records → zero or one CzCustAdvanceInvoiceTable record
ProjInvoiceJour→ProjInvoiceJourJoin on
InvoiceJourRecId = ProjInvoiceJour.RecIdCardinality not set in the metadata.
ReversalCancellation→CzCustAdvanceInvoiceTableJoin on
ReversalCancellationRecId = CzCustAdvanceInvoiceTable.RecIdMany 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.