Table

SalesQuotationBasketLine

Sales quotation basket lines

Holds the lines of a sales quotation basket, one row per line. Each line belongs to a basket through the basket ID. It stores the item, quantity, unit price, discounts, charges and ship date, plus project details for project quotations.

Table name
SalesQuotationBasketLine
Module
Sales and marketing
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
QuotationBasic
Primary index
SalesQuotationBasketLineIdx
Replacement key
None
Key fields
SalesQuotationBasketId, RecId
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SalesQuotationBasketIdID of the quotation basket the line belongs to.String (20)
SalesQuotationBasketId
YesSalesQuotationBasket.SalesQuotationBasketIdNone
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
BasketTransIdLot ID that links the line to its inventory transaction origin.String (20)
TradeInventTransId
NoInventTransOrigin.InventTransIdNone
ConfirmedDlvShip date for the line.Date
SalesShippingDate
NoNone
CostPriceReturn cost price; the metadata does not state the currency.low confidenceReal
ReturnCostPrice
NoNone
CurrencyCodeCurrency code, linked to the currency table.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventDimIdInventory dimension number, linked to the inventory dimensions table.String (20)
InventDimId
NoInventDim.inventDimIdNone
ItemBomIdSub-BOM ID, linked to the bills of materials table.String (20)
ItemBOMId
NoBOMTable.BOMIdNone
ItemIdItem number, linked to the items table.String (20)
ItemId
YesInventTable.ItemIdNone
ItemRouteIdSubroute ID, linked to the routes table.String (20)
ItemRouteId
NoRouteTable.RouteIdNone
LineAmountNet amount of the line.Real
SalesLineAmount
NoNone
LineDiscDiscount amount on the line.Real
SalesLineDisc
NoNone
LinePercentDiscount percentage on the line.Real
SalesLinePercent
NoNone
LinePropertyIdLine property, linked to the project line property table.String
ProjLinePropertyId
NoProjLineProperty.LinePropertyIdNone
MarkupSales charges amount for the line.Real
SalesMarkup
NoNone
MultiLnDiscMultiline discount amount.Real
SalesMultiLnDisc
NoNone
MultiLnPercentMultiline discount percentage.Real
SalesMultiLnPercent
NoNone
NameFree text for the line, up to 1000 characters.String (1000)
ItemFreeTxt
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceUnitNumber of units that the unit price applies to.Real
PriceUnit
NoNone
ProjCategoryIdProject category, linked to the project category table.String (30)
QuotationProjCategory
NoProjCategory.CategoryIdNone
ProjDescriptionShort description of the project line.String (60)
Description
NoNone
ProjectResourcePoints to the resource for the project line.Int64
ResourceRecId
NoResourceView.RecIdNone
ProjectWorkerPoints to the worker for the project line.Int64
ProjWorkerRecId
NoNone
ProjTransTypeKind of project transaction: fee, hour, expense or item.Enum
QuotationProjTransType (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SalesPriceUnit price of the item.Real
SalesPrice
NoNone
SalesQtyQuantity quoted.Real
SalesQty
NoNone
SalesUnitUnit of measure, linked to the units table.String
SalesUnit
NoUnitOfMeasure.SymbolNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransDateProject date of the line.Date
ProjTransDate
NoNone

Indexes (2)

Relations (14)

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

  • BOMTable → BOMTable

    Join on ItemBomId = BOMTable.BOMId

    Many SalesQuotationBasketLine records → zero or one BOMTable record

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many SalesQuotationBasketLine records → zero or one Currency record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many SalesQuotationBasketLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many SalesQuotationBasketLine records → exactly one InventTable record

  • InventTransOrigin → InventTransOrigin

    Join on BasketTransId = InventTransOrigin.InventTransId

    Many SalesQuotationBasketLine records → zero or one InventTransOrigin record

  • ProjCategoryCost → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Cost, ProjTransType = QuotationProjTransType::Expense, ProjCategoryId = ProjCategory.CategoryId

    Many SalesQuotationBasketLine records → zero or one ProjCategory record

  • ProjCategoryFee → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Revenue, ProjTransType = QuotationProjTransType::Fee, ProjCategoryId = ProjCategory.CategoryId

    Many SalesQuotationBasketLine records → zero or one ProjCategory record

  • ProjCategoryHour → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Hour, ProjTransType = QuotationProjTransType::Hour, ProjCategoryId = ProjCategory.CategoryId

    Many SalesQuotationBasketLine records → zero or one ProjCategory record

  • ProjCategoryItem → ProjCategory

    Join on ProjCategory.CategoryType = ProjCategoryType::Item, ProjTransType = QuotationProjTransType::Item, ProjCategoryId = ProjCategory.CategoryId

    Many SalesQuotationBasketLine records → zero or one ProjCategory record

  • ProjectResource → ResourceView

    Join on ProjectResource = ResourceView.RecId

    Many SalesQuotationBasketLine records → zero or one ResourceView record

  • ProjLineProperty → ProjLineProperty

    Join on LinePropertyId = ProjLineProperty.LinePropertyId

    Many SalesQuotationBasketLine records → zero or one ProjLineProperty record

  • RouteTable → RouteTable

    Join on ItemRouteId = RouteTable.RouteId

    Many SalesQuotationBasketLine records → zero or one RouteTable record

  • SalesQuotationBasket → SalesQuotationBasket

    Join on SalesQuotationBasketId = SalesQuotationBasket.SalesQuotationBasketId

    Many SalesQuotationBasketLine records → exactly one SalesQuotationBasket record

  • SalesUnit → UnitOfMeasure

    Join on SalesUnit = UnitOfMeasure.Symbol

    Many SalesQuotationBasketLine records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk