Table
WHSReplenishmentTemplate
Replenishment templates
Holds replenishment templates, keyed by template ID. Each template has a replenishment type, such as minimum or maximum, wave demand, load demand or item storage policy. Its lines are stored in WHSReplenishmentTemplateLine.
- Table name
WHSReplenishmentTemplate- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
WHSReplenishmentTemplateIdx- Replacement key
WHSReplenishmentTemplateIdx- Key fields
ReplenishTemplateId- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ReplenishTemplateIdUnique ID of the replenishment template. | String (20)WHSReplenishTemplateId | Yes | WHSWarehouseReplenishmentTemplateEntityWHSWarehouseReplenishmentTemplateUnitOfMeasureRestrictionEntity | |
CancelReplenWhenDemandCanceledYes/No setting: whether replenishment is cancelled if its demand is cancelled. | EnumWHSCancelReplenWhenDemandCanceledNoYes (enum) | No | WHSWarehouseReplenishmentTemplateEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionDescription of the template. | String (60)Description | No | WHSWarehouseReplenishmentTemplateEntity | |
ItemStoragePolicyIdItem storage policy used by the template. | String (20)WHSItemStoragePolicyId | No | WHSItemStoragePolicy.Id | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplenishmentTypeKind of replenishment: minimum or maximum, wave demand, load demand or item storage policy. | EnumWHSReplenishmentType (enum) | No | WHSWarehouseReplenishmentTemplateEntity | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UseExistingImmediateReplenishmentWorkCrossUnitYes/No setting that lets the template use unreserved quantities from immediate replenishment work that already exists, across different units. | EnumWHSUseExistingImmediateReplenishmentWorkCrossUnitNoYes (enum) | No | WHSWarehouseReplenishmentTemplateEntity | |
UseWorkForWaveReplenYes/No setting: whether wave demand may use unreserved quantities. | EnumWHSUseWorkForWaveReplenNoYes (enum) | No | WHSWarehouseReplenishmentTemplateEntity | |
WaveStepCodeWave step code linked to the template. | StringWHSWaveStepCode | No | WHSWarehouseReplenishmentTemplateEntity |
Indexes (2)
WHSReplenishmentTemplateIdxPrimary indexReplacement keyUnique, alternate key.
WaveStepCodeIdxNot unique.
Relations (1)
Each relation joins WHSReplenishmentTemplate to another table on the fields shown.
WHSItemStoragePolicy→WHSItemStoragePolicyJoin on
ItemStoragePolicyId = WHSItemStoragePolicy.IdMany WHSReplenishmentTemplate records → zero or one WHSItemStoragePolicy record
Get this data out
Tables are not exposed directly. These public entities read from WHSReplenishmentTemplate; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseReplenishmentTemplateEntity· 7 fields from this tableWHSWarehouseReplenishmentTemplateUnitOfMeasureRestrictionEntity· 1 field from this table
Need help with WHSReplenishmentTemplate in a report, an integration or a migration? Talk to Dr Dynamics.