Table

SalesQuotationDetailsTmp

Quotations

Temporary table that holds quotation line details for the quotation printout. It has no key. Each row carries line values such as item, quantity, price, discount and sales tax, plus kit and catch weight details. It links to quotation lines, quotation confirmation lines, items, currencies and sales tax codes.

Table name
SalesQuotationDetailsTmp
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 (42)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountLine amount shown on the quotation; the currency is not stated in the metadata.Real
Amount
NoNone
CashDiscAmountCash discount amount for the line.Real
CashDiscAmount
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCodeCurrency code of the quotation, pointing to the Currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
CustQuotationConfirmTransSystem record ID of the related quotation confirmation line.Int64
CustQuotationConfirmTransRecId
NoCustQuotationConfirmTrans.RecIdNone
CustQuotationTransSystem record ID of the related quotation line.Int64
CustQuotationTransRecId
NoCustQuotationTrans.RecIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscAmountDiscount amount given on the line.Real
SalesDiscAmount
NoNone
DiscPercentDiscount given on the line, as a percentage.Real
SalesDiscPercent
NoNone
DlvDateDate the goods are planned to ship.Date
SalesShippingDate
NoNone
ExternalItemIdItem number used by the customer or an outside party.String (20)
ExternalItemId
NoNone
InventDimProductPrinted text that describes the product dimensions of the line.String (255)
InventDimPrint
NoNone
InventDimQtyPrintPrinted text that describes the inventory dimensions linked to the quantity.String (255)
InventDimPrint
NoNone
ItemIdItem number, pointing to the Items table.String (20)
ItemId
NoInventTable.ItemIdNone
KittingBOMIdBill of materials (BOM) number for a kit.String (20)
BOMId
NoNone
KittingKitItemIdItem number of the kit item.String (20)
KittingKitItemIdReport
NoNone
KittingSeparatorYes/No flag used as a separator in kit reporting.low confidenceEnum
KittingSeparatorReport
NoYes (enum)
NoNone
KittingTradeInventTransIdLot ID that links the line to its inventory transaction.String (20)
TradeInventTransId
NoNone
LineAmountLine amount in the transaction currency.Real
AmountCur
NoNone
LineHeaderHeading text for the line.String (80)
LineHeader
NoNone
NameFree text description of the item on the line.String (1000)
ItemFreeTxt
NoNone
NotesFree-form note for the line.String (-1)
Notes
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
pdsCWQtyQuantity in the catch weight unit.Real
PdsCWInventQty
NoNone
pdsCWUnitIdCatch weight unit of measure.String
PdsCWUnitId
NoNone
PrintCodeCode used when printing the sales tax; it uses the tax write code type.low confidenceString
TaxWriteCode
NoNone
ProjTransTypeType of project transaction for the line: none, fee, hour, expense or item.Enum
QuotationProjTransType (enum)
NoNone
QtyQuantity quoted on the line.Real
SalesQuotationQty
NoNone
QuotationTransOrTaxTransYes/No flag that appears to tell quotation lines apart from tax lines; its meaning is not clear from the metadata.low confidenceEnum
NoYes (enum)
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
SalesPriceSales price per unit on the line.Real
SalesPrice
NoNone
SalesUnitTxtUnit of measure text printed for the line.String
UnitOfMeasureReportingText
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount; the currency is not stated in the metadata.Real
TaxAmountCur
NoNone
TaxAmountMSTSales tax amount in the accounting currency.Real
TaxAmount
NoNone
TaxBaseAmountOriginal amount on which sales tax is based; the currency is not stated in the metadata.Real
TaxBaseCur
NoNone
TaxBaseAmountMSTOriginal amount on which sales tax is based, in the accounting currency.Real
TaxBase
NoNone
TaxBaseQtyQuantity on which sales tax is based.Real
TaxQty
NoNone
TaxCodeSales tax code, pointing to the Sales tax codes table.String
TaxCode
NoTaxTable.TaxCodeNone
TaxExemptDescriptionShort description related to tax exemption.low confidenceString (60)
Description
NoNone

Relations (5)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SalesQuotationDetailsTmp records → zero or one Currency record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SalesQuotationDetailsTmp records → zero or one InventTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many SalesQuotationDetailsTmp records → zero or one TaxTable record

  • CustQuotationConfirmTrans → CustQuotationConfirmTrans

    Join on CustQuotationConfirmTrans = CustQuotationConfirmTrans.RecId

    Many SalesQuotationDetailsTmp records → zero or one CustQuotationConfirmTrans record

  • CustQuotationTrans → CustQuotationTrans

    Join on CustQuotationTrans = CustQuotationTrans.RecId

    Many SalesQuotationDetailsTmp records → zero or one CustQuotationTrans record

Get this data out

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

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

Email sales@drdynamics.co.uk