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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ReplenishTemplateIdUnique ID of the replenishment template.String (20)
WHSReplenishTemplateId
YesWHSWarehouseReplenishmentTemplateEntityWHSWarehouseReplenishmentTemplateUnitOfMeasureRestrictionEntity
CancelReplenWhenDemandCanceledYes/No setting: whether replenishment is cancelled if its demand is cancelled.Enum
WHSCancelReplenWhenDemandCanceled
NoYes (enum)
NoWHSWarehouseReplenishmentTemplateEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionDescription of the template.String (60)
Description
NoWHSWarehouseReplenishmentTemplateEntity
ItemStoragePolicyIdItem storage policy used by the template.String (20)
WHSItemStoragePolicyId
NoWHSItemStoragePolicy.IdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplenishmentTypeKind of replenishment: minimum or maximum, wave demand, load demand or item storage policy.Enum
WHSReplenishmentType (enum)
NoWHSWarehouseReplenishmentTemplateEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UseExistingImmediateReplenishmentWorkCrossUnitYes/No setting that lets the template use unreserved quantities from immediate replenishment work that already exists, across different units.Enum
WHSUseExistingImmediateReplenishmentWorkCrossUnit
NoYes (enum)
NoWHSWarehouseReplenishmentTemplateEntity
UseWorkForWaveReplenYes/No setting: whether wave demand may use unreserved quantities.Enum
WHSUseWorkForWaveReplen
NoYes (enum)
NoWHSWarehouseReplenishmentTemplateEntity
WaveStepCodeWave step code linked to the template.String
WHSWaveStepCode
NoWHSWarehouseReplenishmentTemplateEntity

Indexes (2)

Relations (1)

Each relation joins WHSReplenishmentTemplate to another table on the fields shown.

  • WHSItemStoragePolicy → WHSItemStoragePolicy

    Join on ItemStoragePolicyId = WHSItemStoragePolicy.Id

    Many 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.

Need help with WHSReplenishmentTemplate in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk