Data entity
RetailSalesLineBiEntity
Read-only view of retail sales order lines, intended for BI and analytics. It covers fulfilment status, fulfilment store and pickup times. It also holds quantities picked, packed, invoiced, not processed and reserved. Prices, discounts, info codes and reason codes are included as well.
- Entity name
RetailSalesLineBiEntity- Public entity name
RetailSalesLineBiEntity- OData collection
RetailSalesLineBiEntities- Category
Document- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
Retail- Keys
SalesLine, FulfillmentStatus, FulfillmentStoreId, PickupEndTime, PickupStartTime, QuantityPicked, QuantityPacked, QuantityInvoiced, QuantityNotProcessed, QuantityColumnsVersion, QuantityPhysicallyReserved- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailSalesLineBiEntities- Dataverse virtual table
mserp_retailsaleslinebientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailSalesLine· root · read-only
Fields (40)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CatalogCatalog that the line relates to. | Int64CatalogRefRecId | No | Yes | Catalog.RecId | RetailSalesLine.Catalog |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailSalesLine.DataAreaId | |
FulfillmentStatusFulfilment stage of the line, from pending and picking through packed to invoiced. | Enum
| No | Yes | RetailSalesLine.FulfillmentStatus | |
FulfillmentStoreIdNumber of the store that fulfils the line. | StringRetailStoreId | No | Yes | RetailSalesLine.FulfillmentStoreId | |
InfocodeIdNumber of the info code attached to the line. | StringRetailInfocodeId | No | Yes | RetailSalesLine.InfocodeId | |
InformationFree text recorded for the info code, up to 100 characters. | String (100)RetailInfocodeInformation | No | Yes | RetailSalesLine.Information | |
InventTransIdLot ID of the sales line. | String (20)TradeInventTransId | No | Yes | RetailSalesLine.InventTransId | |
IsPriceKeyedInShows whether the price was typed in by hand. | EnumRetailPriceChange
| No | Yes | RetailSalesLine.IsPriceKeyedIn | |
IsPriceLockedShows whether the line price is locked. | EnumRetailPriceLock
| No | Yes | RetailSalesLine.IsPriceLocked | |
IsPriceOverriddenShows whether the price was changed from the original. | EnumRetailPriceChange
| No | Yes | RetailSalesLine.IsPriceOverridden | |
LineDscAmountDiscount amount on the line. | RealDiscAmount | No | Yes | RetailSalesLine.LineDscAmount | |
LineManualDiscountAmountDiscount amount entered manually on the line. | RealDiscAmount | No | Yes | RetailSalesLine.LineManualDiscountAmount | |
LineManualDiscountPercentageDiscount percentage entered manually on the line. | RealDiscPct | No | Yes | RetailSalesLine.LineManualDiscountPercentage | |
LinePercentageDiscountPercentage discount on the line. | RealDiscPct | No | Yes | RetailSalesLine.LinePercentageDiscount | |
ListingIdID of the channel listing for the product on the line. | String (50)RetailChannelListingId | No | Yes | RetailSalesLine.ListingId | |
OriginalPriceSales price of the item before any change. | RealSalesPrice | No | Yes | RetailSalesLine.OriginalPrice | |
PeriodicDiscountAmount of periodic discount on the line. | RealDiscAmount | No | Yes | RetailSalesLine.PeriodicDiscount | |
PeriodicPercentageDiscountPercentage of periodic discount on the line. | RealDiscPct | No | Yes | RetailSalesLine.PeriodicPercentageDiscount | |
PickupEndTimeEnd of the time slot for pickup. | TimeRetailPickupTimeslotEndTime | No | Yes | RetailSalesLine.PickupEndTime | |
PickupStartTimeStart of the time slot for pickup. | TimeRetailPickupTimeslotStartTime | No | Yes | RetailSalesLine.PickupStartTime | |
PriceOverrideReasonCodeReason code given for overriding the price. | StringRetailInformationSubcodeId | No | Yes | RetailSalesLine.PriceOverrideReasonCode | |
QuantityColumnsVersionVersion of the quantity columns used on the line: V0 or V1. | Enum
| No | Yes | RetailSalesLine.QuantityColumnsVersion | |
QuantityInvoicedQuantity that has been invoiced. | RealInventQty | No | Yes | RetailSalesLine.QuantityInvoiced | |
QuantityNotProcessedQuantity that has not yet been processed. | RealInventQty | No | Yes | RetailSalesLine.QuantityNotProcessed | |
QuantityPackedQuantity packed so far. | RealInventQty | No | Yes | RetailSalesLine.QuantityPacked | |
QuantityPhysicallyReservedQuantity that is reserved. | RealInventQty | No | Yes | RetailSalesLine.QuantityPhysicallyReserved | |
QuantityPickedQuantity picked so far. | RealInventQty | No | Yes | RetailSalesLine.QuantityPicked | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailSalesLine.RecId | |
SysRecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. | IntegerRecVersion | No | Yes | RetailSalesLine.RecVersion | |
RetailProductListLineUpdateIdID of the related product list line. | String (40)RetailProductListLineId | No | Yes | RetailSalesLine.RetailProductListLineUpdateId | |
ReturnReasonCodeIdReturn reason code given to the line. | StringReturnReasonCodeId | No | Yes | ReturnReasonCode.ReasonCodeId | RetailSalesLine.ReturnReasonCodeId |
SalesLineSystem record ID of the sales line that this record extends. | Int64RefRecId | No | Yes | SalesLine.RecId | RetailSalesLine.SalesLine |
SubInfocodeIdNumber of the subcode chosen under the info code. | StringRetailInformationSubcodeId | No | Yes | RetailSalesLine.SubInfocodeId | |
TaxExemptPriceInclusiveOriginalPriceLine price as it was before tax exemption, for prices that include tax. | RealRetailTaxExemptOriginalPrice | No | Yes | RetailSalesLine.TaxExemptPriceInclusiveOriginalPrice | |
TaxExemptPriceInclusiveReductionAmountAmount of tax removed by an exemption, for prices that include tax. | RealRetailTaxExemptReductionAmount | No | Yes | RetailSalesLine.TaxExemptPriceInclusiveReductionAmount | |
TenderDiscountDiscount amount linked to the tender type. | RealDiscAmount | No | Yes | RetailSalesLine.TenderDiscount | |
TenderDiscountPercentageDiscount percentage linked to the tender type. | RealDiscPct | No | Yes | RetailSalesLine.TenderDiscountPercentage | |
TotalDiscountTotal discount amount on the line. | RealDiscAmount | No | Yes | RetailSalesLine.TotalDiscount | |
TotalPctDiscountTotal discount as a percentage on the line. | RealDiscPct | No | Yes | RetailSalesLine.TotalPctDiscount | |
BlockItemReturnShows whether returns of the item are blocked. | EnumRetailBlockItemReturn
| No | Yes | RetailSalesLine.BlockItemReturn |
Foreign keys (3)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Catalog→Catalog.RecId(key of Catalog)Many RetailSalesLine records → zero or one Catalog record
Catalog details: see RetailCatalogEntity, CustomerHierarchyCatalogEntity, MCRCouponCatalogEntity
ReturnReasonCodeId→ReturnReasonCode.ReasonCodeId(key of ReturnReasonCode)Zero or one RetailSalesLine record → zero or one ReturnReasonCode record
ReturnReasonCode details: see ReturnReasonCodeBiEntity
SalesLine→SalesLine.RecId(key of SalesLine)Zero or one RetailSalesLine record → exactly one SalesLine record
SalesLine details: see SalesOrderLineV2Entity, SalesOrderLineV3Entity, ProjSalesItemRequirementEntity
Need help with RetailSalesLineBiEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.