Data entity
WHSWarehouseReplenishmentTemplateLineV2Entity
Holds the lines of a replenishment template. Each line is identified by the template and a sequence number. It stores the quantity limits, unit, request type, directive code, work template and replenishment strategy. It also stores product, location, variant and zone queries and the warehouse selection.
- Entity name
WHSWarehouseReplenishmentTemplateLineV2Entity- Public entity name
WarehouseReplenishmentTemplateLineV2- OData collection
WarehouseReplenishmentTemplateLinesV2- Category
Not set- Module
WMS- Read-only
No- Data management enabled
Yes- Configuration key
WHSandTMS- Keys
WarehouseReplenishmentTemplateId, SequenceNumber- Staging table
WHSWarehouseReplenishmentTemplateLineV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/WarehouseReplenishmentTemplateLinesV2- Dataverse virtual table
mserp_whswarehousereplenishmenttemplatelinev2entity. 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
WHSReplenishmentTemplateLine· root
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
WarehouseReplenishmentTemplateIdReplenishment template the line belongs to. | String (20)WHSReplenishTemplateId | Yes | Yes | WHSReplenishmentTemplate.ReplenishTemplateId | WHSReplenishmentTemplateLine.ReplenishTemplateId |
SequenceNumberSequence number of the line within the template. | IntegerWHSSeqNum | Yes | Yes | WHSReplenishmentTemplateLine.SeqNum | |
LineDescriptionDescription of the line. | String (60)Description | No | Yes | WHSReplenishmentTemplateLine.Description | |
ReplenishmentUnitSymbolUnit used for replenishment. | StringWHSReplenishmentUOM | Yes | Yes | UnitOfMeasure.Symbol | WHSReplenishmentTemplateLine.ReplenishmentUOM |
WarehouseReplenishmentRequestTypeIdRequest type used by the line. | StringWHSRequestTypeId | No | Yes | WHSRequestType.RequestTypeId | WHSReplenishmentTemplateLine.RequestTypeId |
WarehouseLocationDirectiveCodeDirective code used by the line. | String (20)WHSLocDirHintCode | No | Yes | WHSLocDirHint.LocDirHintCode | WHSReplenishmentTemplateLine.LocDirHintCode |
WarehouseWorkTemplateIdWork template used by the line. | String (20)WHSWorkTemplateCode | No | Yes | WHSReplenishmentTemplateLine.WorkTemplateCode | |
MinimumReplenishmentQuantityMinimum quantity for the line. | RealWHSMinQty | No | Yes | WHSReplenishmentTemplateLine.MinQty | |
MaximumReplenishmentQuantityMaximum quantity for the line. | RealWHSMaxQty | No | Yes | WHSReplenishmentTemplateLine.MaxQty | |
ReplenishmentQuantityUnitSymbolUnit of the minimum and maximum quantities. | StringWHSQtyUOM | No | Yes | UnitOfMeasure.Symbol | WHSReplenishmentTemplateLine.QtyUOM |
DemandIncrementRoundingMethodWhether demand is rounded up or down. | Enum
| No | Yes | WHSReplenishmentTemplateLine.DemandIncrement | |
WillTemplateReplenishEmptyFixedLocationsYes/No setting: whether empty fixed locations are replenished. | EnumWHSEvalEmptyFixed
| No | Yes | WHSReplenishmentTemplateLine.EvalEmptyFixed | |
WillTemplateReplenishOnlyFixedLocationsYes/No setting: whether only fixed locations are replenished. | EnumWHSReplenFixedOnly
| No | Yes | WHSReplenishmentTemplateLine.ReplenFixedOnly | |
ApplicableDemandMethodWhich demand applies: full quantity or loose quantity. | Enum
| No | Yes | WHSReplenishmentTemplateLine.ApplicableDemand | |
ProductQueryModeWhether items are selected by a product query or a product variant query. | Enum
| No | Yes | WHSReplenishmentTemplateLine.ProductQueryMode | |
ProductQuerySaved query that selects items, held as a container value. | ContainerWHSItemQuery | No | Yes | WHSReplenishmentTemplateLine.ItemQuery | |
LocationQuerySaved query that selects locations, held as a container value. | ContainerWHSLocationQuery | No | Yes | WHSReplenishmentTemplateLine.LocationQuery | |
ProductVariantQuerySaved query that selects product variants, held as a container value. | ContainerWHSProductVariantQuery | No | Yes | WHSReplenishmentTemplateLine.ProductVariantQuery | |
WarehouseWorkTemplateWorkOrderTypeThe work order type that the line applies to. | Enum
| No | Yes | computed | |
ReplenishmentStrategyReplenishment strategy: wave demand quantity, or maximum location capacity. | EnumWHSReplenishmentStrategyType
| No | Yes | WHSReplenishmentTemplateLine.ReplenishmentStrategy | |
ReplenishmentThresholdScopeScope of the replenishment threshold: location or zone. | Enum
| No | Yes | WHSReplenishmentTemplateLine.ReplenishmentThresholdScope | |
ZoneQuerySaved query that selects zones, held as a container value. | ContainerWHSZoneQuery | No | Yes | WHSReplenishmentTemplateLine.ZoneQuery | |
ReplenishmentWarehouseIdWarehouse the line applies to. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | WHSReplenishmentTemplateLine.InventLocationId |
ProductQueryJsonThe product query written in JSON text format. | String | No | Yes | virtual | |
LocationQueryJsonThe location query written in JSON text format. | String | No | Yes | virtual | |
ProductVariantQueryJsonThe product variant query written in JSON text format. | String | No | Yes | virtual | |
ZoneQueryJsonThe zone query written in JSON text format. | String | No | Yes | virtual | |
ReplenishmentWarehouseGroupIdWarehouse group the line applies to. | String (20)WhsWarehouseGroupId | No | Yes | WhsWarehouseGroup.WarehouseGroupId | WHSReplenishmentTemplateLine.WarehouseGroupId |
ReplenishmentWarehouseSelectionHow warehouses are selected: one warehouse, a warehouse group, or all. | Enum
| No | Yes | WHSReplenishmentTemplateLine.WarehouseGroupAll |
Foreign keys (7)
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.
WarehouseReplenishmentTemplateId→WHSReplenishmentTemplate.ReplenishTemplateId(key of WHSReplenishmentTemplate)Many WHSReplenishmentTemplateLine records → exactly one WHSReplenishmentTemplate record
WHSReplenishmentTemplate details: see WHSWarehouseReplenishmentTemplateEntity, WHSWarehouseReplenishmentTemplateUnitOfMeasureRestrictionEntity
ReplenishmentUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many WHSReplenishmentTemplateLine records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
WarehouseReplenishmentRequestTypeId→WHSRequestType.RequestTypeId(key of WHSRequestType)Many WHSReplenishmentTemplateLine records → zero or one WHSRequestType record
WHSRequestType details: see WHSWarehouseReplenishmentRequestTypeEntity
WarehouseLocationDirectiveCode→WHSLocDirHint.LocDirHintCode(key of WHSLocDirHint)Many WHSReplenishmentTemplateLine records → zero or one WHSLocDirHint record
WHSLocDirHint details: see WHSWarehouseLocationDirectiveCodeEntity
ReplenishmentQuantityUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many WHSReplenishmentTemplateLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ReplenishmentWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many WHSReplenishmentTemplateLine records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ReplenishmentWarehouseGroupId→WhsWarehouseGroup.WarehouseGroupId(key of WhsWarehouseGroup)Many WHSReplenishmentTemplateLine records → zero or one WhsWarehouseGroup record
WhsWarehouseGroup details: see WhsWarehouseGroupEntity
Need help with WHSWarehouseReplenishmentTemplateLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.