Table

SalesConfirmHeaderTmp

Show confirmation

Holds header-level data for a sales order confirmation, such as company and bank details, delivery address, amounts, charges, discounts and sales tax. Many amounts appear twice, once as the main value and once with a Euro suffix. It links to the sales order, the sales order confirmation journal and currencies. It has no key defined.

Table name
SalesConfirmHeaderTmp
Module
Sales and marketing
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (79)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CashDiscCash discount amount for the confirmation.Real
CashDiscAmount
NoNone
CashDiscEuroCash discount amount in the Euro version of the figures.Real
CashDiscAmount
NoNone
CashDiscOnInvoiceYes/No flag for cash discount on the invoice. The exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
CashDiscPercentCash discount as a percentage.Real
DiscPct
NoNone
CashDiscTxtFree text describing the cash discount.String (160)
CashDiscFreeTxt
NoNone
CompanyAddressAddress of the company issuing the confirmation.String (250)
Addressing
NoNone
CompanyBankAccountNameName of the company's bank account.String (60)
Name
NoNone
CompanyBankAccountNumBank account number of the company.String (48)
BankAccount
NoNone
CompanyBankAccountRegNumBank routing number for the company's bank account.String (12)
BankRegNum
NoNone
CompanyCommercialRegisterName of the commercial register where the company is kept.String (40)
CommercialRegister
NoNone
CompanyCommercialRegisterInsetNumberInset number in the commercial register for the company.String
CommercialRegisterInsetNumber
NoNone
CompanyCommercialRegisterSectionSection of the commercial register for the company.String
CommercialRegisterSection
NoNone
CompanyCoRegNumTax registration number of the company.String (25)
CompanyCoRegNum
NoNone
CompanyCurrencyCodeCurrency code of the company, pointing to a record in the Currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CompanyEmailEmail address of the company.String (80)
Email
NoNone
CompanyEnterpriseNumberEnterprise number of the company for tax purposes.String (50)
TaxEnterpriseNumber
NoNone
CompanyGiroBank giro number of the company.String (48)
GiroNum
NoNone
Container
Bitmap
NoNone
CompanyNameName of the company issuing the confirmation.String (60)
Name
NoNone
CompanyPhoneTelephone number of the company.String (20)
Phone
NoNone
CompanyRegNumCompany routing or registration number.String (25)
CompanyRegNum
NoNone
CompanyTeleFaxFax number of the company.String (20)
TeleFax
NoNone
CompanyVATNumTax exempt number of the company.String (20)
VATNum
NoNone
ConfirmAmountConfirmation amount in the transaction currency.Real
AmountCur
NoNone
ConfirmAmountEuroConfirmation amount in the transaction currency, in the Euro version of the figures.Real
AmountCur
NoNone
ConfirmDateDate of the confirmation.Date
TransDate
NoNone
ConfirmDocNumDocument number of the sales order confirmation.String (20)
CustConfirmDocNum
NoNone
ConfirmIdIdentifier of the confirmation.String (20)
ConfirmId
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
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCodeCustomer currency code for the confirmation, pointing to the Currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CurrencyCodeEuroCurrency code used for the Euro version of the figures, pointing to the Currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
CustomerRefReference given by the customer.String (60)
CustRef
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DeliveryAddressDelivery address as a single text.String (250)
LogisticsAddressing
NoNone
DeliveryNameName of the delivery recipient.String (160)
CustName
NoNone
EndDiscDiscount amount for the whole order header, based on trade agreements. Line-level discounts are not included.Real
SalesEndDiscAmount
NoNone
EndDiscEuroHeader discount amount, apparently in euro by its name; currency not stated in the metadata.low confidenceReal
SalesEndDiscAmount
NoNone
Enterpriseregister_NODescription text for the enterprise register, used for Norway.String (60)
Description
NoNone
EuroCurrencyCodeCurrency code for the Euro figures, pointing to the Currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
FormLetterRemarksFree-text remark shown on the confirmation form.String (-1)
FormLetterTxt
NoNone
IsProFormaYes/No flag that marks the confirmation as pro forma.Enum
NoYes (enum)
NoNone
JournalRecIdSystem record ID of the related sales order confirmation journal.Int64
RefRecId
YesCustConfirmJour.RecIdNone
MainNotesFree-text note for the confirmation.String (-1)
Notes
NoNone
NetAmountNet amount in the transaction currency.Real
AmountCurNet
NoNone
NetAmountEuroNet amount in the Euro version of the figures.Real
AmountCurNet
NoNone
OrderAccountRegNumRouting or registration number of the order account.String (25)
CompanyRegNum
NoNone
OrderAccountVATNumTax exempt number of the order account.String (20)
VATNum
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentConditionFree text describing the payment terms.String (-1)
PaymTxt
NoNone
PrePrintLevelLevel of preprinting on the paper: blank paper, partly preprinted or preprinted.Enum
PrePrintLevel (enum)
NoNone
Enum
NoYes (enum)
NoNone
PrintTaxAmountSalesExchangeRateYes/No flag linked to printing the tax amount and sales exchange rate. The exact meaning is not stated in the metadata.low confidenceEnum
NoYes (enum)
NoNone
PurchaseOrderCustomer's own purchase order or requisition number.String (20)
CustPurchaseOrder
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
RoundOffRound-off amount.Real
RoundOff
NoNone
RoundOffEuroRound-off amount in the Euro version of the figures.Real
RoundOff
NoNone
SalesAdministratorName of the worker who handles the sales order.String (160)
HcmWorkerName
NoNone
SalesBalanceSales balance in the transaction currency.Real
AmountCur
NoNone
SalesBalanceEuroSales balance in the Euro version of the figures.Real
AmountCur
NoNone
SalesIdSales order this confirmation belongs to, pointing to the Sales orders table.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
SalesTaxExchangeRateExchange rate used for sales tax.Real
CurrencyExchangeRateReport
NoNone
ShowCompanyVATNumYes/No flag for showing the company tax exempt number.Enum
NoYesId
NoYes (enum)
NoNone
SumMarkupTotal charges on the order.Real
MarkupSumSales
NoNone
SumMarkupEuroTotal charges in the Euro version of the figures.Real
MarkupSumSales
NoNone
SumTaxSales tax amount in the transaction currency.Real
TaxAmountCur
NoNone
SumTaxEuroSales tax amount in the Euro version of the figures.Real
TaxAmountCur
NoNone
SumTaxMSTSales tax amount in the accounting currency.Real
TaxAmount
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxableBalancePart of the balance that is taxable.Real
TaxTaxableAmountCur
NoNone
TaxableBalanceEuroTaxable part of the balance in the Euro version of the figures.Real
TaxTaxableAmountCur
NoNone
TaxFreeBalancePart of the balance that is not taxable.Real
TaxTaxFreeAmountCur
NoNone
TaxFreeBalanceEuroNon-taxable part of the balance in the Euro version of the figures.Real
TaxTaxFreeAmountCur
NoNone
TaxPrintTaxFreeBalanceYes/No flag for showing a separate tax exempt balance on forms.Enum
TaxPrintTaxFreeBalance
NoYes (enum)
NoNone
TaxSpecPrintLevelLevel of sales tax specification shown, for example none or registration currency.Enum
TaxSpecPrintLevel (enum)
NoNone
TotalTaxBaseAmountOriginal amount used as the tax base.Real
TaxBaseCur
NoNone
TotalTaxBaseAmountEuroOriginal tax base amount in the Euro version of the figures.Real
TaxBaseCur
NoNone

Indexes (2)

Relations (6)

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

  • CompanyCurrencyCode → Currency

    Join on CompanyCurrencyCode = Currency.CurrencyCode

    Many SalesConfirmHeaderTmp records → zero or one Currency record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SalesConfirmHeaderTmp records → zero or one Currency record

  • CurrencyEuro → Currency

    Join on CurrencyCodeEuro = Currency.CurrencyCode

    Many SalesConfirmHeaderTmp records → zero or one Currency record

  • CustConfirmJour → CustConfirmJour

    Join on JournalRecId = CustConfirmJour.RecId

    Many SalesConfirmHeaderTmp records → exactly one CustConfirmJour record

  • EuroCurrency → Currency

    Join on EuroCurrencyCode = Currency.CurrencyCode

    Many SalesConfirmHeaderTmp records → zero or one Currency record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many SalesConfirmHeaderTmp records → zero or one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk