Table
SalesQuotationHeaderTmp
Quotations
Temporary table that holds quotation header data for the quotation printout. It has no key. Each row combines company details, bank and registration data, customer references, totals, discounts, sales tax amounts and print settings. Many amounts come in a normal version and an Euro version. It links to quotation journals, confirmation journals, sales orders and currencies.
- Table name
SalesQuotationHeaderTmp- 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 (81)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CashDiscCash discount amount. | RealCashDiscAmount | No | None | |
CashDiscEuroCash discount amount in the Euro version of the totals.low confidence | RealCashDiscAmount | No | None | |
CashDiscOnInvoiceYes/No flag about cash discount on the invoice; the exact meaning is not clear from 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. | String (250)Addressing | No | None | |
CompanyBankAccountNameName of the company bank account. | String (60)Name | No | None | |
CompanyBankAccountNumCompany bank account number. | String (48)BankAccount | No | None | |
CompanyBankAccountRegNumRouting number of the company bank. | String (12)BankRegNum | No | None | |
CompanyCommercialRegisterCommercial register where the company is kept. | String (40)CommercialRegister | No | None | |
CompanyCommercialRegisterInsetNumberInset number in the commercial register. | StringCommercialRegisterInsetNumber | No | None | |
CompanyCommercialRegisterSectionSection of the commercial register. | StringCommercialRegisterSection | No | None | |
CompanyCoRegNumCompany tax registration number. | String (25)CompanyCoRegNum | No | None | |
CompanyCurrencyCodeCurrency code of the company, pointing to the Currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
CompanyEmailCompany email address. | 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 image stored as a container. | ContainerBitmap | No | None | |
CompanyNameName of the company. | String (60)Name | No | None | |
CompanyPhoneCompany telephone number. | String (20)Phone | No | None | |
CompanyRegNumCompany routing or registration number.low confidence | String (25)CompanyRegNum | No | None | |
CompanyTelefaxCompany fax number. | String (20)TeleFax | No | None | |
CompanyVATNumTax exempt number of the company. | String (20)VATNum | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCodeCurrency code of the quotation, pointing to the Currency table. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
CustomerRefReference given by the customer. | String (60)CustRef | No | None | |
CustQuotationConfirmJourSystem record ID of the quotation confirmation header. | Int64CustQuotationConfirmJourRecId | No | CustQuotationConfirmJour.RecId | None |
CustQuotationJourSystem record ID of the quotation journal header. | Int64CustQuotationJourRecId | No | CustQuotationJour.RecId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeliveryAddressDelivery address. | String (250)LogisticsAddressing | No | None | |
DeliveryNameName of the delivery recipient. | String (160)CustName | No | None | |
DocuConclusionClosing text of the quotation document. | String (-1)smmQuotationDocuConclusionText | No | None | |
DocuIntroIntroduction text of the quotation document. | String (-1)smmQuotationDocuIntroText | No | None | |
DocuRefMainNotesMain note for the document. | String (-1)Notes | No | None | |
DocuTitleTitle of the quotation document. | String (70)smmQuotationDocuTitle | No | None | |
EndDiscTotal discount on the quotation header. | RealSalesEndDiscAmount | No | None | |
EndDiscEuroTotal discount in the Euro version of the totals.low confidence | RealSalesEndDiscAmount | No | None | |
Enterpriseregister_NODescription of the enterprise register, used for Norway.low confidence | String (60)Description | No | None | |
EuroCurrencyCodeTriangulation currency code, pointing to the Currency table. | String (3)EuroCurrencyCode | No | Currency.CurrencyCode | None |
FormLetterRemarksFree-form remark printed on the document. | String (-1)FormLetterTxt | No | None | |
NetAmountNet amount of the quotation in the transaction currency. | RealAmountCurNet | No | None | |
NetAmountEuroNet amount in the Euro version of the totals.low confidence | RealAmountCurNet | No | None | |
OrderAccountRegNumRouting or registration number of the ordering account.low confidence | String (25)CompanyRegNum | No | None | |
OrderAccountVATNumTax exempt number of the ordering customer. | 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 | |
PaymentCodePayment terms text. | String (-1)PaymTxt | No | None | |
PrePrintLevelLevel of preprinted paper used: blank paper, partly preprinted or preprinted. | EnumPrePrintLevel (enum) | No | None | |
PrintLogoYes/No flag for printing the company logo. | EnumNoYes (enum) | No | None | |
PrintTaxAmountSalesExchangeRateYes/No flag for printing the sales tax amount using the sales exchange rate.low confidence | EnumNoYes (enum) | No | None | |
PurchaseOrderCustomer requisition or purchase order number. | String (20)CustPurchaseOrder | No | None | |
QuotationAmountQuotation amount in the transaction currency. | RealAmountCur | No | None | |
QuotationAmountEuroQuotation amount in the Euro version of the totals.low confidence | RealAmountCur | No | None | |
QuotationDateDate of the quotation. | DateTransDate | No | None | |
QuotationDocNumDocument number of the quotation. | String (20)QuotationDocNum | No | None | |
QuotationIdQuotation number. | String (20)QuotationId | 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 | |
RespiteDateDeadline date for the quotation.low confidence | DateTransDate | No | None | |
RoundOffRounding amount. | RealRoundOff | No | None | |
RoundOffEuroRounding amount in the Euro version of the totals.low confidence | RealRoundOff | No | None | |
SalesAdministratorPersonnel number of the person who took the sale. | String (25)SalesTakerPersonnelNumber | No | None | |
SalesBalanceSales balance in the transaction currency. | RealAmountCur | No | None | |
SalesBalanceEuroSales balance in the Euro version of the totals.low confidence | RealAmountCur | No | None | |
SalesIdSales order number, pointing to the Sales orders table. | String (20)SalesIdBase | No | SalesTable.SalesId | None |
SalesTaxExchangeRateExchange rate used for sales tax reporting. | RealCurrencyExchangeRateReport | No | None | |
ShowCompanyVATNumYes/No flag for showing the company tax exempt number. | EnumNoYesIdNoYes (enum) | No | None | |
SumMarkupTotal charges. | RealMarkupSumSales | No | None | |
SumMarkupEuroTotal charges in the Euro version of the totals.low confidence | RealMarkupSumSales | No | None | |
SumTaxTotal sales tax amount; the currency is not stated in the metadata. | RealTaxAmountCur | No | None | |
SumTaxEuroTotal sales tax amount in the Euro version of the totals.low confidence | RealTaxAmountCur | No | None | |
SumTaxMSTTotal sales 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 balance in the Euro version of the totals.low confidence | RealTaxTaxableAmountCur | No | None | |
TaxFreeBalancePart of the balance that is not taxable. | RealTaxTaxFreeAmountCur | No | None | |
TaxFreeBalanceEuroNontaxable balance in the Euro version of the totals.low confidence | RealTaxTaxFreeAmountCur | No | None | |
TaxPrintTaxFreeBalanceYes/No flag to show the tax exempt balance separately on forms. | EnumTaxPrintTaxFreeBalanceNoYes (enum) | No | None | |
TaxSpecPrintLevelLevel of sales tax specification printed, such as none or registration currency. | EnumTaxSpecPrintLevel (enum) | No | None | |
TotalTaxBaseAmountTotal original amount on which sales tax is based. | RealTaxBaseCur | No | None | |
TotalTaxBaseAmountEuroTotal tax base amount in the Euro version of the totals.low confidence | RealTaxBaseCur | No | None |
Relations (6)
Each relation joins SalesQuotationHeaderTmp to another table on the fields shown.
CompanyCurrency→CurrencyJoin on
CompanyCurrencyCode = Currency.CurrencyCodeMany SalesQuotationHeaderTmp records → zero or one Currency record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SalesQuotationHeaderTmp records → zero or one Currency record
EuroCurrency→CurrencyJoin on
EuroCurrencyCode = Currency.CurrencyCodeMany SalesQuotationHeaderTmp records → zero or one Currency record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany SalesQuotationHeaderTmp records → zero or one SalesTable record
CustQuotationConfirmJour→CustQuotationConfirmJourJoin on
CustQuotationConfirmJour = CustQuotationConfirmJour.RecIdMany SalesQuotationHeaderTmp records → exactly one CustQuotationConfirmJour record
CustQuotationJour→CustQuotationJourJoin on
CustQuotationJour = CustQuotationJour.RecIdMany SalesQuotationHeaderTmp records → exactly one CustQuotationJour record
Get this data out
No public entity reads from SalesQuotationHeaderTmp. Its data is only reachable through the application, a custom entity or a database export.
Need help with SalesQuotationHeaderTmp in a report, an integration or a migration? Talk to Dr Dynamics.