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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscCash discount amount for the confirmation. | RealCashDiscAmount | No | None | |
CashDiscEuroCash discount amount in the Euro version of the figures. | RealCashDiscAmount | No | None | |
CashDiscOnInvoiceYes/No flag for cash discount on the invoice. The exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
CashDiscPercentCash discount as a percentage. | RealDiscPct | No | None | |
CashDiscTxtFree text describing the cash discount. | String (160)CashDiscFreeTxt | No | None | |
CompanyAddressAddress of the company issuing the confirmation. | String (250)Addressing | No | None | |
CompanyBankAccountNameName of the company's bank account. | String (60)Name | No | None | |
CompanyBankAccountNumBank account number of the company. | String (48)BankAccount | No | None | |
CompanyBankAccountRegNumBank routing number for the company's bank account. | String (12)BankRegNum | No | None | |
CompanyCommercialRegisterName of the commercial register where the company is kept. | String (40)CommercialRegister | No | None | |
CompanyCommercialRegisterInsetNumberInset number in the commercial register for the company. | StringCommercialRegisterInsetNumber | No | None | |
CompanyCommercialRegisterSectionSection of the commercial register for the company. | StringCommercialRegisterSection | No | None | |
CompanyCoRegNumTax registration number of the company. | String (25)CompanyCoRegNum | No | None | |
CompanyCurrencyCodeCurrency code of the company, pointing to a record in the Currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CompanyEmailEmail address of the company. | String (80)Email | No | None | |
CompanyEnterpriseNumberEnterprise number of the company for tax purposes. | String (50)TaxEnterpriseNumber | No | None | |
CompanyGiroBank giro number of the company. | String (48)GiroNum | No | None | |
CompanyLogoCompany logo stored as an image in a container field. | ContainerBitmap | No | None | |
CompanyNameName of the company issuing the confirmation. | String (60)Name | No | None | |
CompanyPhoneTelephone number of the company. | String (20)Phone | No | None | |
CompanyRegNumCompany routing or registration number. | String (25)CompanyRegNum | No | None | |
CompanyTeleFaxFax number of the company. | String (20)TeleFax | No | None | |
CompanyVATNumTax exempt number of the company. | String (20)VATNum | No | None | |
ConfirmAmountConfirmation amount in the transaction currency. | RealAmountCur | No | None | |
ConfirmAmountEuroConfirmation amount in the transaction currency, in the Euro version of the figures. | RealAmountCur | No | None | |
ConfirmDateDate of the confirmation. | DateTransDate | No | None | |
ConfirmDocNumDocument number of the sales order confirmation. | String (20)CustConfirmDocNum | No | None | |
ConfirmIdIdentifier of the confirmation. | String (20)ConfirmId | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCodeCustomer currency code for the confirmation, pointing to the Currency table. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
CurrencyCodeEuroCurrency code used for the Euro version of the figures, pointing to the Currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CustomerRefReference given by the customer. | String (60)CustRef | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryAddressDelivery address as a single text. | String (250)LogisticsAddressing | No | None | |
DeliveryNameName of the delivery recipient. | String (160)CustName | No | None | |
EndDiscDiscount amount for the whole order header, based on trade agreements. Line-level discounts are not included. | RealSalesEndDiscAmount | No | None | |
EndDiscEuroHeader discount amount, apparently in euro by its name; currency not stated in the metadata.low confidence | RealSalesEndDiscAmount | No | None | |
Enterpriseregister_NODescription text for the enterprise register, used for Norway. | String (60)Description | No | None | |
EuroCurrencyCodeCurrency code for the Euro figures, pointing to the Currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
FormLetterRemarksFree-text remark shown on the confirmation form. | String (-1)FormLetterTxt | No | None | |
IsProFormaYes/No flag that marks the confirmation as pro forma. | EnumNoYes (enum) | No | None | |
JournalRecIdSystem record ID of the related sales order confirmation journal. | Int64RefRecId | Yes | CustConfirmJour.RecId | None |
MainNotesFree-text note for the confirmation. | String (-1)Notes | No | None | |
NetAmountNet amount in the transaction currency. | RealAmountCurNet | No | None | |
NetAmountEuroNet amount in the Euro version of the figures. | RealAmountCurNet | No | None | |
OrderAccountRegNumRouting or registration number of the order account. | String (25)CompanyRegNum | No | None | |
OrderAccountVATNumTax exempt number of the order account. | String (20)VATNum | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentConditionFree text describing the payment terms. | String (-1)PaymTxt | No | None | |
PrePrintLevelLevel of preprinting on the paper: blank paper, partly preprinted or preprinted. | EnumPrePrintLevel (enum) | No | None | |
PrintLogoYes/No flag for whether the logo is printed. | EnumNoYes (enum) | No | None | |
PrintTaxAmountSalesExchangeRateYes/No flag linked to printing the tax amount and sales exchange rate. The exact meaning is not stated in the metadata.low confidence | EnumNoYes (enum) | No | None | |
PurchaseOrderCustomer's own purchase order or requisition number. | String (20)CustPurchaseOrder | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RoundOffRound-off amount. | RealRoundOff | No | None | |
RoundOffEuroRound-off amount in the Euro version of the figures. | RealRoundOff | No | None | |
SalesAdministratorName of the worker who handles the sales order. | String (160)HcmWorkerName | No | None | |
SalesBalanceSales balance in the transaction currency. | RealAmountCur | No | None | |
SalesBalanceEuroSales balance in the Euro version of the figures. | RealAmountCur | No | None | |
SalesIdSales order this confirmation belongs to, pointing to the Sales orders table. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
SalesTaxExchangeRateExchange rate used for sales tax. | RealCurrencyExchangeRateReport | No | None | |
ShowCompanyVATNumYes/No flag for showing the company tax exempt number. | EnumNoYesIdNoYes (enum) | No | None | |
SumMarkupTotal charges on the order. | RealMarkupSumSales | No | None | |
SumMarkupEuroTotal charges in the Euro version of the figures. | RealMarkupSumSales | No | None | |
SumTaxSales tax amount in the transaction currency. | RealTaxAmountCur | No | None | |
SumTaxEuroSales tax amount in the Euro version of the figures. | RealTaxAmountCur | No | None | |
SumTaxMSTSales tax amount in the accounting currency. | RealTaxAmount | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxableBalancePart of the balance that is taxable. | RealTaxTaxableAmountCur | No | None | |
TaxableBalanceEuroTaxable part of the balance in the Euro version of the figures. | RealTaxTaxableAmountCur | No | None | |
TaxFreeBalancePart of the balance that is not taxable. | RealTaxTaxFreeAmountCur | No | None | |
TaxFreeBalanceEuroNon-taxable part of the balance in the Euro version of the figures. | RealTaxTaxFreeAmountCur | No | None | |
TaxPrintTaxFreeBalanceYes/No flag for showing a separate tax exempt balance on forms. | EnumTaxPrintTaxFreeBalanceNoYes (enum) | No | None | |
TaxSpecPrintLevelLevel of sales tax specification shown, for example none or registration currency. | EnumTaxSpecPrintLevel (enum) | No | None | |
TotalTaxBaseAmountOriginal amount used as the tax base. | RealTaxBaseCur | No | None | |
TotalTaxBaseAmountEuroOriginal tax base amount in the Euro version of the figures. | RealTaxBaseCur | No | None |
Indexes (2)
JournalRecIdNot unique.
CreatedTransactionIdNot unique.
Relations (6)
Each relation joins SalesConfirmHeaderTmp to another table on the fields shown.
CompanyCurrencyCode→CurrencyJoin on
CompanyCurrencyCode = Currency.CurrencyCodeMany SalesConfirmHeaderTmp records → zero or one Currency record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SalesConfirmHeaderTmp records → zero or one Currency record
CurrencyEuro→CurrencyJoin on
CurrencyCodeEuro = Currency.CurrencyCodeMany SalesConfirmHeaderTmp records → zero or one Currency record
CustConfirmJour→CustConfirmJourJoin on
JournalRecId = CustConfirmJour.RecIdMany SalesConfirmHeaderTmp records → exactly one CustConfirmJour record
EuroCurrency→CurrencyJoin on
EuroCurrencyCode = Currency.CurrencyCodeMany SalesConfirmHeaderTmp records → zero or one Currency record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany 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.