Data entity
RetailReturnInfocodePolicyLineEntity
Holds policy lines that map info codes and subcodes to a return location. Each line also shows the warehouse, location, pallet ID and block inventory setting. The key is the policy number plus the line number. It joins to stores and operating units.
- Entity name
RetailReturnInfocodePolicyLineEntity- Public entity name
RetailReturnInfocodePolicyLine- OData collection
RetailReturnInfocodePolicyLines- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
PolicyNumber, LineNumber- Staging table
RetailReturnInfocodePolicyLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailReturnInfocodePolicyLines- Dataverse virtual table
mserp_retailreturninfocodepolicylineentity. 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
RetailReturnInfocodePolicyLine· rootRetailReturnPolicy· InnerJoin toRetailReturnInfocodePolicyLineRetailStoreTable· InnerJoin toRetailReturnInfocodePolicyLine· read-onlyOMOperatingUnit· InnerJoin toRetailStoreTable
Fields (12)
| 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 | |
InfocodeIdInfo code that is mapped. | StringRetailInfocodeId | Yes | Yes | RetailInfocodeTable.infocodeId | RetailReturnInfocodePolicyLine.InfocodeId |
SubcodeIdSubcode of the info code that is mapped. | StringRetailInformationSubcodeId | Yes | Yes | RetailInformationSubcodeTable.subcodeId | RetailReturnInfocodePolicyLine.SubcodeId |
Foreign keys (6)
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, RetailReturnReasoncodePolicyLineEntity, 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
InfocodeId→RetailInfocodeTable.infocodeId(key of RetailInfocodeTable)Many RetailReturnInfocodePolicyLine records → exactly one RetailInfocodeTable record
RetailInfocodeTable details: see RetailInfocodeTranslationEntity, RetailInfocodeEntity
SubcodeId→RetailInformationSubcodeTable.subcodeId(key of RetailInformationSubcodeTable)Join on all of:
SubcodeId=RetailInformationSubcodeTable.subcodeId,InfocodeId=RetailInformationSubcodeTable.infocodeIdMany RetailReturnInfocodePolicyLine records → exactly one RetailInformationSubcodeTable record
RetailInformationSubcodeTable details: see RetailInformationSubcodeEntity, RetailInformationSubcodeTranslationEntity
Need help with RetailReturnInfocodePolicyLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.