Data entity
RetailReturnPolicyLineEntity
Holds the lines of a return location policy. Each line gives the warehouse, location, pallet ID and block inventory setting for a store or operating unit. The key is the policy number plus the line number.
- Entity name
RetailReturnPolicyLineEntity- Public entity name
RetailReturnPolicyLine- OData collection
RetailReturnPolicyLines- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
PolicyNumber, LineNumber- Staging table
RetailReturnPolicyLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailReturnPolicyLines- Dataverse virtual table
mserp_retailreturnpolicylineentity. 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
RetailReturnPolicyLine· rootRetailReturnPolicy· InnerJoin toRetailReturnPolicyLine· read-onlyRetailStoreTable· OuterJoin toRetailReturnPolicyLine· read-onlyOMOperatingUnit· InnerJoin toRetailStoreTable· read-onlyRetailReturnInfocodePolicyLine· Derived toRetailReturnPolicyLineRetailReturnReasonCodePolicyLine· Derived toRetailReturnPolicyLine
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BlockItemYes/No value showing whether inventory is blocked for this policy line. | EnumRetailBlockItem
| No | Yes | RetailReturnPolicyLine.BlockItem | |
WarehouseThe warehouse for this policy line. It points to a warehouse record. | StringInventLocationId | Yes | Yes | InventLocation.InventLocationId | RetailReturnPolicyLine.InventLocationId |
PolicyPoints to the return policy that owns this line. | Int64RefRecId | Yes | No (private) | RetailReturnPolicy.RecId | RetailReturnPolicyLine.Policy |
LocationIdThe warehouse location for this policy line, used together with the warehouse. | StringWMSLocationId | No | Yes | WMSLocation.wMSLocationId | RetailReturnPolicyLine.WMSLocationId |
PalletIdIdentifier of the pallet for this policy line. | String (18)WMSPalletId | No | Yes | RetailReturnPolicyLine.wMSPalletId | |
PolicyNumberName that identifies the return location. | StringRetailReturnPolicyNumber | Yes | Yes | RetailReturnPolicy.PolicyNumber | |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
RetailStoreTablePoints to the store that this policy line applies to. | Int64RefRecId | Yes | No (private) | RetailStoreTable.RecId | RetailReturnPolicyLine.RetailStoreTable |
LineNumberNumber that orders the lines of the policy. | RealLineNum | No | Yes | RetailReturnPolicyLine.LineNum |
Foreign keys (4)
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.
Warehouse→InventLocation.InventLocationId(key of InventLocation)Many RetailReturnPolicyLine records → exactly one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
Policy→RetailReturnPolicy.RecId(key of RetailReturnPolicy)Many RetailReturnPolicyLine records → exactly one RetailReturnPolicy record
RetailReturnPolicy details: see RetailReturnPolicyEntity, RetailReturnInfocodePolicyLineEntity, RetailReturnReasoncodePolicyLineEntity
LocationId→WMSLocation.wMSLocationId(key of WMSLocation)Join on all of:
LocationId=WMSLocation.wMSLocationId,Warehouse=WMSLocation.inventLocationIdMany RetailReturnPolicyLine records → zero or one WMSLocation record
WMSLocation details: see WMSWarehouseLocationEntity, WHSWarehouseSlottingTemplateDetailsV3Entity, WHSWarehouseLocationAdvancedWarehouseManagementProcessEnablementRequestEntity
RetailStoreTable→RetailStoreTable.RecId(key of RetailStoreTable)Many RetailReturnPolicyLine records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
Need help with RetailReturnPolicyLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.