Table
RetailPricingSimulatorSalesLine
Pricing simulator sales transaction lines
Holds the lines of a simulated sales transaction in the retail pricing simulator. Each line has the item, variant, quantity, prices, discount and margin. Lines link to the simulator sales transaction header, and to the item, product, variant, unit and inventory dimensions.
- Table name
RetailPricingSimulatorSalesLine- Module
Commerce merchandising- 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 (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountAmountCash discount amount on the line. | RealDiscAmount | No | None | |
DiscPctDiscount percentage on the line. | RealDiscPct | No | None | |
DisplayProductNumberItem number shown for the line; points to the item. | String (20)ItemIdSmall | No | InventTable.ItemId | None |
DisplayProductVariantNumberProduct variant number shown for the line. | StringRetailVariantId | No | None | |
GUPFreeItemLineRecIdRecord ID related to a free item line; the label and relation are missing.low confidence | Int64RecId | No | None | |
InventDimIdIdentifier of the inventory dimension combination for the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
IsFreeItemLineYes/No flag showing whether the line is a free item line. | EnumNoYesIdNoYes (enum) | No | None | |
LineNumText value labelled as a line number; its exact use is not stated in the metadata.low confidence | String (255)String255 | No | None | |
MarginMargin on the line, as a percentage. | RealPercent | No | None | |
OfferNameName of the offer linked to the line.low confidence | String (255)String255 | No | None | |
OriginalPricePrice of the line before the simulation changes it. | RealPrice | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductPoints to the product record. | Int64EcoResProductRecId | No | EcoResProduct.RecId | None |
ProductNameName of the product. | String (60)Name | No | None | |
QuantityQuantity of units on the line. | RealUnitQty | 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 | |
RetailPricingSimulatorSalesTransactionPoints to the simulator sales transaction header that the line belongs to. | Int64RefRecId | No | RetailPricingSimulatorSalesTransaction.RecId | None |
SalesLineNumLine number of the sales line. | RealLineNum | No | None | |
SalesPriceSales price of the line. | RealPrice | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UoMPoints to the unit of measure for the line. | Int64UnitOfMeasureRecId | No | UnitOfMeasure.RecId | None |
VariantPoints to the product variant record. | Int64EcoResDistinctProductVariantRecId | No | EcoResDistinctProductVariant.RecId | None |
Indexes (1)
SimulatorSalesLineIdxRetailPricingSimulatorSalesTransaction,SalesLineNumNot unique.
Relations (6)
Each relation joins RetailPricingSimulatorSalesLine to another table on the fields shown.
EcoResDistinctProductVariant→EcoResDistinctProductVariantJoin on
Variant = EcoResDistinctProductVariant.RecIdMany RetailPricingSimulatorSalesLine records → zero or one EcoResDistinctProductVariant record
EcoResProduct→EcoResProductJoin on
Product = EcoResProduct.RecIdMany RetailPricingSimulatorSalesLine records → exactly one EcoResProduct record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimIdMany RetailPricingSimulatorSalesLine records → zero or one InventDim record
InventTable→InventTableJoin on
DisplayProductNumber = InventTable.ItemIdMany RetailPricingSimulatorSalesLine records → zero or one InventTable record
RetailPricingSimulatorSalesTransaction→RetailPricingSimulatorSalesTransactionJoin on
RetailPricingSimulatorSalesTransaction = RetailPricingSimulatorSalesTransaction.RecIdMany RetailPricingSimulatorSalesLine records → exactly one RetailPricingSimulatorSalesTransaction record
UnitOfMeasure→UnitOfMeasureJoin on
UoM = UnitOfMeasure.RecIdMany RetailPricingSimulatorSalesLine records → zero or one UnitOfMeasure record
Get this data out
No public entity reads from RetailPricingSimulatorSalesLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailPricingSimulatorSalesLine in a report, an integration or a migration? Talk to Dr Dynamics.