Data entity
WHSReturnLineDetailEntity
Read-only list of return lines. Each row is identified by return ID and line number. It holds the item, lot ID, quantity, unit and return-until date, plus inventory dimensions such as site, warehouse, batch and serial number, and the owner.
- Entity name
WHSReturnLineDetailEntity- Public entity name
ReturnLineDetail- OData collection
ReturnLineDetails- Category
Not set- Module
WMS- Read-only
Yes- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
ReturnID, LineNum- Staging table
WHSReturnLineDetailStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ReturnLineDetails- Dataverse virtual table
mserp_whsreturnlinedetailentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
WHSReturnLineDetail· rootInventDim· OuterJoin toWHSReturnLineDetail· read-only
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ReturnIDReturn this line belongs to. Points to the return detail record. | String (20)WHSReturnID | Yes | Yes | WHSReturnDetail.ReturnID | WHSReturnLineDetail.ReturnID |
LineNumNumber of the line within the return. | RealLineNum | Yes | Yes | WHSReturnLineDetail.LineNum | |
OrderTypeKind of order the line comes from: unsupported, sales order or outbound shipment order. | Enum
| No | Yes | WHSReturnLineDetail.OrderType | |
LotIdLot ID that links the line to an inventory transaction or a sales line. | String (20)InventTransId | Yes | Yes | InventTransOrigin.InventTransIdSalesLine.InventTransId | WHSReturnLineDetail.InventTransId |
ItemIdItem being returned. Points to an item. | String (20)ItemId | Yes | Yes | InventTable.ItemId | WHSReturnLineDetail.ItemId |
InventDimIdInventory dimensions of the returned item. Points to an inventory dimension record. | String (20)InventDimId | Yes | Yes | InventDim.inventDimId | WHSReturnLineDetail.InventDimId |
QuantityQuantity of the item on the line. | RealWHSReturnLineDetailQty | Yes | Yes | WHSReturnLineDetail.Qty | |
UnitUnit of measure for the quantity. Points to a unit. | StringUnitOfMeasureSymbol | Yes | Yes | UnitOfMeasure.Symbol | WHSReturnLineDetail.Unit |
ReturnUntilDateDate and time, in UTC, up to which the return is accepted. | UtcDateTimeWHSReturnUntilUTCDateTime | No | Yes | WHSReturnLineDetail.ReturnUntilUTCDateTime | |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
InventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
InventorySiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ItemSerialNumberSerial number of the inventory. | String (20)InventSerialId | No | Yes | InventDim.inventSerialId | |
InventoryOwnerIdInventory owner; used for Russia. | String (40)InventOwnerId | No | Yes | InventOwner_RU.InventOwnerId | InventDim.InventOwnerId_RU |
WarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
Foreign keys (15)
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.
ReturnID→WHSReturnDetail.ReturnID(key of WHSReturnDetail)Many WHSReturnLineDetail records → exactly one WHSReturnDetail record
WHSReturnDetail details: see WHSReturnDetailEntity
LotId→InventTransOrigin.InventTransId(key of InventTransOrigin)Many WHSReturnLineDetail records → exactly one InventTransOrigin record
InventTransOrigin details: see WHSOrderCommittedLicensePlateReservationEntity, InventTransOriginBiEntity, InventTransOriginCDREntity
LotId→SalesLine.InventTransId(key of SalesLine)Relation also requires OrderType = WHSReturnDetailOrderType::SalesOrder.
Many WHSReturnLineDetail records → zero or one SalesLine record
SalesLine details: see SalesOrderLineV2Entity, SalesOrderLineV3Entity, ProjSalesItemRequirementEntity
ItemId→InventTable.ItemId(key of InventTable)Many WHSReturnLineDetail records → exactly one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
InventDimId→InventDim.inventDimId(key of InventDim)Many WHSReturnLineDetail records → exactly one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
Unit→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many WHSReturnLineDetail records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
InventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
InventorySiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
InventoryOwnerId→InventOwner_RU.InventOwnerId(key of InventOwner_RU)Many InventDim records → zero or one InventOwner_RU record
InventOwner_RU details: see ConsignmentInventoryOwnerEntity
WarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
Need help with WHSReturnLineDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.