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 descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ItemCodeShows whether the policy applies to one item, an item group or all items.Enum
WHSReturnItemCode
TableGroupAll
  • Table 0
  • GroupId 1
  • All 2
NoYesWHSReturnItemPolicy.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
NoYesInventItemGroup.ItemGroupIdInventTable.ItemIdWHSReturnItemPolicy.ItemRelation
ReturnAcceptanceRule for accepting returns: always allowed, never allowed, or allowed for a number of days after shipment.Enum
WHSReturnItemPolicyReturnAcceptance
  • AlwaysAllowed 0
  • NeverAllowed 1
  • AllowedDaysAfterShipment 2
NoYesWHSReturnItemPolicy.ReturnAcceptance
AllowedDaysForReturnNumber of days after shipment in which a return is allowed.Integer
WHSReturnItemPolicyAllowedDaysForReturn
NoYesWHSReturnItemPolicy.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.

Need help with WHSReturnItemPolicyEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk