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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SalesQuotationBasketIdID of the quotation basket the line belongs to. | String (20)SalesQuotationBasketId | Yes | SalesQuotationBasket.SalesQuotationBasketId | 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 | |
BasketTransIdLot ID that links the line to its inventory transaction origin. | String (20)TradeInventTransId | No | InventTransOrigin.InventTransId | None |
ConfirmedDlvShip date for the line. | DateSalesShippingDate | No | None | |
CostPriceReturn cost price; the metadata does not state the currency.low confidence | RealReturnCostPrice | No | None | |
CurrencyCodeCurrency code, linked to the currency table. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIdInventory dimension number, linked to the inventory dimensions table. | String (20)InventDimId | No | InventDim.inventDimId | None |
ItemBomIdSub-BOM ID, linked to the bills of materials table. | String (20)ItemBOMId | No | BOMTable.BOMId | None |
ItemIdItem number, linked to the items table. | String (20)ItemId | Yes | InventTable.ItemId | None |
ItemRouteIdSubroute ID, linked to the routes table. | String (20)ItemRouteId | No | RouteTable.RouteId | None |
LineAmountNet amount of the line. | RealSalesLineAmount | No | None | |
LineDiscDiscount amount on the line. | RealSalesLineDisc | No | None | |
LinePercentDiscount percentage on the line. | RealSalesLinePercent | No | None | |
LinePropertyIdLine property, linked to the project line property table. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | None |
MarkupSales charges amount for the line. | RealSalesMarkup | No | None | |
MultiLnDiscMultiline discount amount. | RealSalesMultiLnDisc | No | None | |
MultiLnPercentMultiline discount percentage. | RealSalesMultiLnPercent | No | None | |
NameFree text for the line, up to 1000 characters. | String (1000)ItemFreeTxt | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | None | |
ProjCategoryIdProject category, linked to the project category table. | String (30)QuotationProjCategory | No | ProjCategory.CategoryId | None |
ProjDescriptionShort description of the project line. | String (60)Description | No | None | |
ProjectResourcePoints to the resource for the project line. | Int64ResourceRecId | No | ResourceView.RecId | None |
ProjectWorkerPoints to the worker for the project line. | Int64ProjWorkerRecId | No | None | |
ProjTransTypeKind of project transaction: fee, hour, expense or item. | EnumQuotationProjTransType (enum) | 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 | |
SalesPriceUnit price of the item. | RealSalesPrice | No | None | |
SalesQtyQuantity quoted. | RealSalesQty | No | None | |
SalesUnitUnit of measure, linked to the units table. | StringSalesUnit | No | UnitOfMeasure.Symbol | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransDateProject date of the line. | DateProjTransDate | No | None |
Indexes (2)
SalesQuotationBasketLineIdxPrimary indexUnique.
ProjectResourceIdxNot unique.
Relations (14)
Each relation joins SalesQuotationBasketLine to another table on the fields shown.
BOMTable→BOMTableJoin on
ItemBomId = BOMTable.BOMIdMany SalesQuotationBasketLine records → zero or one BOMTable record
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany SalesQuotationBasketLine records → zero or one Currency record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany SalesQuotationBasketLine records → zero or one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany SalesQuotationBasketLine records → exactly one InventTable record
InventTransOrigin→InventTransOriginJoin on
BasketTransId = InventTransOrigin.InventTransIdMany SalesQuotationBasketLine records → zero or one InventTransOrigin record
ProjCategoryCost→ProjCategoryJoin on
ProjCategory.CategoryType = ProjCategoryType::Cost,ProjTransType = QuotationProjTransType::Expense,ProjCategoryId = ProjCategory.CategoryIdMany SalesQuotationBasketLine records → zero or one ProjCategory record
ProjCategoryFee→ProjCategoryJoin on
ProjCategory.CategoryType = ProjCategoryType::Revenue,ProjTransType = QuotationProjTransType::Fee,ProjCategoryId = ProjCategory.CategoryIdMany SalesQuotationBasketLine records → zero or one ProjCategory record
ProjCategoryHour→ProjCategoryJoin on
ProjCategory.CategoryType = ProjCategoryType::Hour,ProjTransType = QuotationProjTransType::Hour,ProjCategoryId = ProjCategory.CategoryIdMany SalesQuotationBasketLine records → zero or one ProjCategory record
ProjCategoryItem→ProjCategoryJoin on
ProjCategory.CategoryType = ProjCategoryType::Item,ProjTransType = QuotationProjTransType::Item,ProjCategoryId = ProjCategory.CategoryIdMany SalesQuotationBasketLine records → zero or one ProjCategory record
ProjectResource→ResourceViewJoin on
ProjectResource = ResourceView.RecIdMany SalesQuotationBasketLine records → zero or one ResourceView record
ProjLineProperty→ProjLinePropertyJoin on
LinePropertyId = ProjLineProperty.LinePropertyIdMany SalesQuotationBasketLine records → zero or one ProjLineProperty record
RouteTable→RouteTableJoin on
ItemRouteId = RouteTable.RouteIdMany SalesQuotationBasketLine records → zero or one RouteTable record
SalesQuotationBasket→SalesQuotationBasketJoin on
SalesQuotationBasketId = SalesQuotationBasket.SalesQuotationBasketIdMany SalesQuotationBasketLine records → exactly one SalesQuotationBasket record
SalesUnit→UnitOfMeasureJoin on
SalesUnit = UnitOfMeasure.SymbolMany 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.