Table

CustInvoiceSpecTmp Temporary

Invoice specification

Purpose not clear from the metadata.

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

Fields (49)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BillingClassificationNo descriptionString (15)
BillingClassification
NoNone
ContributionMarginNo descriptionReal
SalesContributionMargin
NoNone
ContributionRatioNo descriptionReal
SalesContributionRatio
NoNone
CurrencyCodeNo descriptionString (3)
CustCurrencyCode
YesCurrency.CurrencyCodeNone
CustInvJourRecIdNo descriptionInt64
RefRecId
NoNone
CustInvTransRecIdNo descriptionInt64
RefRecId
NoNone
DefaultDimensionRecIdNo descriptionInt64
RefRecId
NoNone
DimensionDescriptionNo descriptionString (60)
Str60
NoNone
DiscAmountNo descriptionReal
SalesDiscAmount
NoNone
DisplayValueNo descriptionString (30)
DimensionValue
NoNone
DocumentDateNo descriptionDate
DocumentDate
NoNone
DocumentNumNo descriptionString (20)
DocumentNum
NoNone
DueDateNo descriptionDate
DueDate
NoNone
EndDiscNo descriptionReal
SalesEndDiscAmount
NoNone
ExchRateNo descriptionReal
CustExchRate
NoNone
GrossAmountNo descriptionReal
AmountCur
NoNone
InvoiceAccountNo descriptionString (20)
CustInvoiceAccount
YesCustTable.AccountNumNone
InvoiceAccountNameNo descriptionString (160)
CustName
NoNone
InvoiceAmountNo descriptionReal
AmountCur
NoNone
InvoiceDateNo descriptionDate
TransDate
YesNone
InvoiceIdNo descriptionString (20)
CustInvoiceId
NoNone
InvoiceRoundOffNo descriptionReal
RoundOff
NoNone
IsTaxTransSectionNo descriptionEnum
NoYes (enum)
NoNone
ItemIdNo descriptionString (20)
ItemId
NoInventTable.ItemIdNone
LineAmountInclTaxNo descriptionReal
LineAmount
NoNone
NameNo descriptionString (1000)
ItemFreeTxtBase
NoNone
NewPageGroupByNo descriptionString (60)
Name
NoNone
OrderAccountNo descriptionString (20)
CustAccount
YesCustTable.AccountNumNone
OrderAccountNameNo descriptionString (160)
CustName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintCodeNo descriptionString
TaxWriteCode
NoNone
QtyNo descriptionReal
SalesInvoicedQty
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
ReportColumnNameNo descriptionString (60)
Name
NoNone
SalesBalanceNo descriptionReal
AmountCur
NoNone
SalesIdNo descriptionString (20)
SalesIdBase
NoSalesTable.SalesIdNone
SalesNameNo descriptionString (60)
SalesName
NoNone
SalesPriceNo descriptionReal
SalesPrice
NoNone
SumMarkupNo descriptionReal
MarkupSumSales
NoNone
SumTaxNo descriptionReal
TaxAmountCur
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountNo descriptionReal
TaxAmountCur
NoNone
TaxBaseAmountNo descriptionReal
TaxBaseCur
NoNone
TaxBaseQtyNo descriptionReal
TaxQty
NoNone
TaxCodeNo descriptionString
TaxCode
NoTaxTable.TaxCodeNone
TaxTransRecIdNo descriptionInt64
RefRecId
NoNone
TaxWriteCodeNo descriptionString
TaxWriteCode
NoNone
WorkerSalesTakerNo descriptionString (160)
HcmWorkerName
NoNone

Relations (6)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many CustInvoiceSpecTmp records → exactly one Currency record

  • CustTable_InvoiceAccount → CustTable

    Join on InvoiceAccount = CustTable.AccountNum

    Many CustInvoiceSpecTmp records → exactly one CustTable record

  • CustTable_OrderAccount → CustTable

    Join on OrderAccount = CustTable.AccountNum

    Many CustInvoiceSpecTmp records → exactly one CustTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many CustInvoiceSpecTmp records → zero or one InventTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many CustInvoiceSpecTmp records → zero or one SalesTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many CustInvoiceSpecTmp records → zero or one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk