Data entity
RetailReturnReasoncodePolicyLineEntity
Holds the lines of a return location policy. Each line is identified by the policy number and line number. It maps a reason code to a warehouse and location, with a block inventory setting and a pallet ID. It also shows the store and operating unit details.
- Entity name
RetailReturnReasoncodePolicyLineEntity- Public entity name
RetailReturnReasoncodePolicyLine- OData collection
RetailReturnReasoncodePolicyLines- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
PolicyNumber, LineNumber- Staging table
RetailReturnReasonCodePolicyLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailReturnReasoncodePolicyLines- Dataverse virtual table
mserp_retailreturnreasoncodepolicylineentity. 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
RetailReturnReasonCodePolicyLine· rootRetailReturnPolicy· InnerJoin toRetailReturnReasonCodePolicyLineRetailStoreTable· InnerJoin toRetailReturnReasonCodePolicyLine· read-onlyOMOperatingUnit· InnerJoin toRetailStoreTable
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WarehouseThe warehouse for this policy line. It points to a warehouse record. | StringInventLocationId | Yes | Yes | InventLocation.InventLocationId | RetailReturnPolicyLine.InventLocationId |
BlockItemYes/No value showing whether inventory is blocked for this policy line. | EnumRetailBlockItem
| No | Yes | RetailReturnPolicyLine.BlockItem | |
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 | |
DescriptionText describing the return location. | String (60)RetailReturnPolicyDescription | No | Yes | RetailReturnPolicy.Description | |
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 | |
ReasonCodeIdThe return reason code mapped to the policy line. It points to a return reason code record. | StringReturnReasonCodeId | Yes | Yes | ReturnReasonCode.ReasonCodeId | RetailReturnReasonCodePolicyLine.ReasonCodeId |
Foreign keys (5)
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, RetailAttributesLegalEntityLookupEntity
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
ReasonCodeId→ReturnReasonCode.ReasonCodeId(key of ReturnReasonCode)Many RetailReturnReasonCodePolicyLine records → exactly one ReturnReasonCode record
ReturnReasonCode details: see ReturnReasonCodeBiEntity
Need help with RetailReturnReasoncodePolicyLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.