Table

CustInvoiceTmp Temporary

Open invoice transactions

Purpose not clear from the metadata.

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

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BillingClassificationNo descriptionString (15)
BillingClassification
NoNone
CurrencyCodeNo descriptionString (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
DeliveryNameNo descriptionString (160)
CustName
NoNone
DimensionFocusDisplayValueNo descriptionString (500)
DimensionDisplayValue
NoNone
FiscalEstablishmentIdNo descriptionString
FiscalEstablishmentId_BR
NoNone
InvoiceAccountNo descriptionString (20)
CustInvoiceAccount
NoCustTable.AccountNumNone
InvoiceAmountNo descriptionReal
AmountCur
NoNone
InvoiceAmountMSTNo descriptionReal
AmountMST
NoNone
InvoiceDateNo descriptionDate
TransDate
NoNone
InvoiceIdNo descriptionString (20)
CustInvoiceId
NoNone
OrderAccountNo descriptionString (20)
CustAccount
NoCustTable.AccountNumNone
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)
SalesIdBase
NoSalesTable.SalesIdNone
SumMarkupNo descriptionReal
MarkupSumSales
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (4)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustInvoiceTmp records → zero or one Currency record

  • CustTable → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many CustInvoiceTmp records → zero or one CustTable record

  • CustTable_OrderAccount → CustTable

    Join on OrderAccount = CustTable.AccountNum

    Many CustInvoiceTmp records → zero or one CustTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CustInvoiceTmp records → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk