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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscountAmountCash discount amount on the line.Real
DiscAmount
NoNone
DiscPctDiscount percentage on the line.Real
DiscPct
NoNone
DisplayProductNumberItem number shown for the line; points to the item.String (20)
ItemIdSmall
NoInventTable.ItemIdNone
DisplayProductVariantNumberProduct variant number shown for the line.String
RetailVariantId
NoNone
GUPFreeItemLineRecIdRecord ID related to a free item line; the label and relation are missing.low confidenceInt64
RecId
NoNone
InventDimIdIdentifier of the inventory dimension combination for the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
IsFreeItemLineYes/No flag showing whether the line is a free item line.Enum
NoYesId
NoYes (enum)
NoNone
LineNumText value labelled as a line number; its exact use is not stated in the metadata.low confidenceString (255)
String255
NoNone
MarginMargin on the line, as a percentage.Real
Percent
NoNone
OfferNameName of the offer linked to the line.low confidenceString (255)
String255
NoNone
OriginalPricePrice of the line before the simulation changes it.Real
Price
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductPoints to the product record.Int64
EcoResProductRecId
NoEcoResProduct.RecIdNone
ProductNameName of the product.String (60)
Name
NoNone
QuantityQuantity of units on the line.Real
UnitQty
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
RetailPricingSimulatorSalesTransactionPoints to the simulator sales transaction header that the line belongs to.Int64
RefRecId
NoRetailPricingSimulatorSalesTransaction.RecIdNone
SalesLineNumLine number of the sales line.Real
LineNum
NoNone
SalesPriceSales price of the line.Real
Price
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UoMPoints to the unit of measure for the line.Int64
UnitOfMeasureRecId
NoUnitOfMeasure.RecIdNone
VariantPoints to the product variant record.Int64
EcoResDistinctProductVariantRecId
NoEcoResDistinctProductVariant.RecIdNone

Indexes (1)

Relations (6)

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

  • EcoResDistinctProductVariant → EcoResDistinctProductVariant

    Join on Variant = EcoResDistinctProductVariant.RecId

    Many RetailPricingSimulatorSalesLine records → zero or one EcoResDistinctProductVariant record

  • EcoResProduct → EcoResProduct

    Join on Product = EcoResProduct.RecId

    Many RetailPricingSimulatorSalesLine records → exactly one EcoResProduct record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many RetailPricingSimulatorSalesLine records → zero or one InventDim record

  • InventTable → InventTable

    Join on DisplayProductNumber = InventTable.ItemId

    Many RetailPricingSimulatorSalesLine records → zero or one InventTable record

  • RetailPricingSimulatorSalesTransaction → RetailPricingSimulatorSalesTransaction

    Join on RetailPricingSimulatorSalesTransaction = RetailPricingSimulatorSalesTransaction.RecId

    Many RetailPricingSimulatorSalesLine records → exactly one RetailPricingSimulatorSalesTransaction record

  • UnitOfMeasure → UnitOfMeasure

    Join on UoM = UnitOfMeasure.RecId

    Many 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.

Email sales@drdynamics.co.uk