Data entity

RetailReplenishmentRuleLineV2Entity

Holds the lines of a replenishment rule. The key is rule, type and reference. Lines can point to organisation units or retail channels such as stores, direct sales, call centre and online channels. Each line has a weight and a percent, with default values, and replenishment hierarchy validity dates.

Entity name
RetailReplenishmentRuleLineV2Entity
Public entity name
ReplenishmentRuleLinesV2
OData collection
ReplenishmentRuleLinesV2
Category
Not set
Module
Inventory and advanced warehouse
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
ReplenishmentRule, Type, RelationId
Staging table
RetailReplenishmentRuleLineV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ReplenishmentRuleLinesV2
Dataverse virtual table
mserp_retailreplenishmentrulelinev2entity. 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

  • RetailReplenishmentRuleLines · root
  • RetailReplenishmentRuleTable · OuterJoin to RetailReplenishmentRuleLines · read-only
  • OMHierarchyRelationship · OuterJoin to RetailReplenishmentRuleLines · read-only
  • OMHierarchyType · OuterJoin to OMHierarchyRelationship · read-only
  • OMInternalOrganization · OuterJoin to OMHierarchyRelationship · read-only
  • CompanyInfo · Derived to OMInternalOrganization
  • OMOperatingUnit · Derived to OMInternalOrganization
  • OMTeam · Derived to OMInternalOrganization
  • RetailChannelTable · OuterJoin to RetailReplenishmentRuleLines · read-only
  • RetailChannelTable_RetailStoreTable (table RetailStoreTable) · Derived to RetailChannelTable
  • RetailChannelTable_RetailDirectSalesChannel (table RetailDirectSalesChannel) · Derived to RetailChannelTable
  • RetailChannelTable_RetailMCRChannelTable (table RetailMCRChannelTable) · Derived to RetailChannelTable
  • RetailChannelTable_RetailOnlineChannelTable (table RetailOnlineChannelTable) · Derived to RetailChannelTable

Fields (13)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ReplenishmentRuleThe replenishment rule that the line belongs to.String
RetailReplenishmentRuleId
YesYesRetailReplenishmentRuleTable.RuleIdRetailReplenishmentRuleLines.RuleId
TypeShows whether the line refers to a replenishment hierarchy or a channel.Enum
RetailReplenishmentRuleType
  • GroupType 0
  • LocationType 1
YesYesRetailReplenishmentRuleLines.Type
RelationIdPoints to the hierarchy relationship or channel that the line applies to, depending on the type.Int64
RefRecId
YesYesOMHierarchyRelationship.RecIdRetailChannelTable.RecIdRetailReplenishmentRuleLines.RelationId
ReplenishmentHierarchyTypeNameName of the hierarchy type.String (60)
Name
NoYesOMHierarchyType.Name
ReplenishmentOrganizationPartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
ReplenishmentHierarchyValidFromThe date and time from which the relationship is valid.UtcDateTime
ValidFromDateTime
NoYesOMHierarchyRelationship.ValidFrom
ReplenishmentHierarchyValidToThe date and time until which the relationship is valid.UtcDateTime
ValidToDateTime
NoYesOMHierarchyRelationship.ValidTo
RetailChannelIdIdentifier of the retail channel.String (15)
RetailChannelId
NoYesRetailChannelTable.RetailChannelId
DescriptionShort description of the line.String (40)
RetailDescriptionEx1
NoYesRetailReplenishmentRuleLines.Description
WeightWeight value for the line.Real
RetailWeightEx1
NoYesRetailReplenishmentRuleLines.QtyWeight
PercentPercentage value for the line.Real
RetailPercent
NoYesRetailReplenishmentRuleLines.QtyPercent
DefaultWeightDefault weight value for the line.Real
RetailWeightEx1
NoYesRetailReplenishmentRuleLines.DefaultWeight
DefaultPercentDefault percentage value for the line.Real
RetailPercent
NoYesRetailReplenishmentRuleLines.DefaultPercent

Foreign keys (3)

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 RetailReplenishmentRuleLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk