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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CustPrepaymentInvoiceTablePoints to the prepayment invoice record in CustPrepaymentInvoiceTable by its system record ID.Int64
RefRecId
NoCustPrepaymentInvoiceTable.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
AmountCurAmount in the transaction currency for this link.Real
AmountCur
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CustInvoiceJourPoints to a record in the customer invoice journal (CustInvoiceJour) by its system record ID.Int64
RefRecId
NoCustInvoiceJour.RecIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
SettlementPostingDateDate on which the settlement is posted.Date
TransDate
NoNone
SourceRecIdSystem record ID of the source record. The metadata relates it to a sales order.Int64
RefRecId
NoNone
SourceTableIdID of the table that the source record belongs to. The metadata relates it to sales orders.Integer
PrepaymentRefTableId
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

Indexes (5)

Relations (3)

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

  • CustPrepaymentInvoiceTable → CustPrepaymentInvoiceTable

    Join on CustPrepaymentInvoiceTable = CustPrepaymentInvoiceTable.RecId

    Many CustPrepaymentCustInvoice records → zero or one CustPrepaymentInvoiceTable record

  • SalesTable → SalesTable

    Join on SourceRecId = SalesTable.RecId, SourceTableId = SalesTable.TableId

    Many CustPrepaymentCustInvoice records → zero or one SalesTable record

  • CustInvoiceJour → CustInvoiceJour

    Join on CustInvoiceJour = CustInvoiceJour.RecId

    Many 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.

Email sales@drdynamics.co.uk