Table
CustPrepaymentCustInvoice
Links a customer prepayment invoice to the customer invoice journal and to the source record, which relates to a sales order. Each row records an amount and a settlement posting date for that link. The key is the prepayment invoice reference, company and partition.
- Table name
CustPrepaymentCustInvoice- Module
Cross-module and platform- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
PrepaymentIdx- Replacement key
None- Key fields
CustPrepaymentInvoiceTable, DataAreaId, Partition- Model
Foundation
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CustPrepaymentInvoiceTablePoints to the prepayment invoice record in CustPrepaymentInvoiceTable by its system record ID. | Int64RefRecId | No | CustPrepaymentInvoiceTable.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 | |
AmountCurAmount in the transaction currency for this link. | RealAmountCur | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CustInvoiceJourPoints to a record in the customer invoice journal (CustInvoiceJour) by its system record ID. | Int64RefRecId | No | CustInvoiceJour.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | 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 | |
SettlementPostingDateDate on which the settlement is posted. | DateTransDate | No | None | |
SourceRecIdSystem record ID of the source record. The metadata relates it to a sales order. | Int64RefRecId | No | None | |
SourceTableIdID of the table that the source record belongs to. The metadata relates it to sales orders. | IntegerPrepaymentRefTableId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (5)
PrepaymentRefIdxCustPrepaymentInvoiceTable,SourceRecId,SourceTableId,DataAreaId,PartitionUnique.
PrepaymentInvJourIdxCustPrepaymentInvoiceTable,CustInvoiceJour,DataAreaId,PartitionUnique.
RefIdxSourceRecId,SourceTableId,DataAreaId,PartitionNot unique.
InvJourIdxCustInvoiceJour,DataAreaId,PartitionNot unique.
PrepaymentIdxPrimary indexCustPrepaymentInvoiceTable,DataAreaId,PartitionUnique.
Relations (3)
Each relation joins CustPrepaymentCustInvoice to another table on the fields shown.
CustPrepaymentInvoiceTable→CustPrepaymentInvoiceTableJoin on
CustPrepaymentInvoiceTable = CustPrepaymentInvoiceTable.RecIdMany CustPrepaymentCustInvoice records → zero or one CustPrepaymentInvoiceTable record
SalesTable→SalesTableJoin on
SourceRecId = SalesTable.RecId,SourceTableId = SalesTable.TableIdMany CustPrepaymentCustInvoice records → zero or one SalesTable record
CustInvoiceJour→CustInvoiceJourJoin on
CustInvoiceJour = CustInvoiceJour.RecIdMany CustPrepaymentCustInvoice records → zero or one CustInvoiceJour record
Get this data out
No public entity reads from CustPrepaymentCustInvoice. Its data is only reachable through the application, a custom entity or a database export.
Need help with CustPrepaymentCustInvoice in a report, an integration or a migration? Talk to Dr Dynamics.