Data entity
WHSReturnItemPolicyEntity
Holds return policies for items. Each row has an item code and item relation, a return acceptance setting and the number of days allowed for a return. The key is the item code and item relation.
- Entity name
WHSReturnItemPolicyEntity- Public entity name
ReturnItemPolicy- OData collection
ReturnItemPolicies- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
ItemCode, ItemRelation- Staging table
WHSReturnItemPolicyStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/ReturnItemPolicies- Dataverse virtual table
mserp_whsreturnitempolicyentity. 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
WHSReturnItemPolicy· root
Fields (4)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ItemCodeShows whether the policy applies to one item, an item group or all items. | EnumWHSReturnItemCode
| No | Yes | WHSReturnItemPolicy.ItemCode | |
ItemRelationThe item or item group the policy applies to. Points to an item or an item group, depending on the item code. | String (20)WHSReturnItemRelation | No | Yes | InventItemGroup.ItemGroupIdInventTable.ItemId | WHSReturnItemPolicy.ItemRelation |
ReturnAcceptanceRule for accepting returns: always allowed, never allowed, or allowed for a number of days after shipment. | Enum
| No | Yes | WHSReturnItemPolicy.ReturnAcceptance | |
AllowedDaysForReturnNumber of days after shipment in which a return is allowed. | IntegerWHSReturnItemPolicyAllowedDaysForReturn | No | Yes | WHSReturnItemPolicy.AllowedDaysForReturn |
Foreign keys (2)
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.
ItemRelation→InventItemGroup.ItemGroupId(key of InventItemGroup)Relation also requires ItemCode = TableGroupAll::GroupId.
Zero or one WHSReturnItemPolicy record → zero or one InventItemGroup record
InventItemGroup details: see InventProductGroupEntity, RAssetInventIssueQuotasEntity, InventItemGroupBiEntity
ItemRelation→InventTable.ItemId(key of InventTable)Relation also requires ItemCode = TableGroupAll::Table.
Zero or one WHSReturnItemPolicy record → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
Need help with WHSReturnItemPolicyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.