Table

tmpSalesPrepaymentInvoice Temporary

Select prepayments to apply

Purpose not clear from the metadata.

Table name
tmpSalesPrepaymentInvoice
Module
Cross-module and platform
Table group
Miscellaneous
Table type
InMemory
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AdvanceAmountNo descriptionReal
AmountCur
NoNone
AdvanceRemainingNo descriptionReal
AmountCur
NoNone
AppliedAmountNo descriptionReal
AmountCur
NoNone
CurrencyCodeNo descriptionString (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
InvoiceAccountNo descriptionString (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
InvoiceAmountNo descriptionReal
AmountCur
NoNone
InvoiceDateNo descriptionDate
TransDate
NoNone
InvoiceNumNo descriptionString (50)
VendInvoiceId
NoNone
InvoiceRecIdNo descriptionInt64
RefRecId
NoCustPrepaymentInvoiceTable.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SalesIdNo descriptionString (20)
SalesId
NoSalesTable.SalesIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (4)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many tmpSalesPrepaymentInvoice records → zero or one Currency record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many tmpSalesPrepaymentInvoice records → zero or one SalesTable record

  • CustTable → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many tmpSalesPrepaymentInvoice records → zero or one CustTable record

  • CustPrepaymentInvoiceTable → CustPrepaymentInvoiceTable

    Join on InvoiceRecId = CustPrepaymentInvoiceTable.RecId

    Many tmpSalesPrepaymentInvoice records → zero or one CustPrepaymentInvoiceTable record

Get this data out

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

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

Email sales@drdynamics.co.uk