Table

WHSWaveTemplateTable

Wave template

Holds wave templates, which are set-up records identified by the wave template name. Each template has a type, a sequence, a query and settings for creating, releasing and processing waves. It can be limited to a warehouse, a site or a warehouse group, and it can link to a wave notification policy.

Table name
WHSWaveTemplateTable
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
TemplateNameIdx
Replacement key
TemplateNameIdx
Key fields
WaveTemplateName
Model
Foundation

Fields (29)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
WaveTemplateNameName of the wave template. It is the key of the table.String (20)
WHSWaveTemplateName
YesWHSWarehouseWaveTemplateV4EntityWHSWarehouseWaveTemplateGroupEntity
AssignableWaveYes/No setting for whether work can be assigned to waves that are still open.Enum
WHSAssignableWave
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
AutoCreateWaveYes/No setting for automatic creation of waves from this template.Enum
WHSAutoCreateWave
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
AutoExecuteWaveAtLoadPostYes/No setting for processing the wave when the load is released to the warehouse.Enum
WHSAutoExecuteWaveAtLoadPost
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
AutoExecuteWaveAtThresholdYes/No setting for processing the wave automatically once a threshold is reached.Enum
WHSAutoExecuteWaveAtThreshold
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
AutoReleaseReplenWorkYes/No setting for automatic release of replenishment work.Enum
WHSAutoReleaseReplenWork
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
AutoReleaseWaveYes/No setting for automatic release of the wave.Enum
WHSAutoReleaseWave
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventLocationIdThe warehouse the template applies to, taken from the warehouse records.String
InventLocationId
NoInventLocation.InventLocationIdWHSWarehouseWaveTemplateV4Entity
InventSiteIdThe site the template applies to, taken from the site records.String
InventSiteId
NoInventSite.SiteIdWHSWarehouseWaveTemplateV4Entity
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ValidShows whether the template is valid.Enum
Valid
boolean (enum)
NoWHSWarehouseWaveTemplateV4Entity
WarehouseGroupAllChooses how warehouses are selected: one warehouse, a warehouse group, or all.Enum
WhsWarehouseGroupAll (enum)
NoWHSWarehouseWaveTemplateV4Entity
WarehouseGroupIdThe warehouse group the template applies to.String (20)
WhsWarehouseGroupId
NoWhsWarehouseGroup.WarehouseGroupIdWHSWarehouseWaveTemplateV4Entity
WaveAttributeCodeCode of the first wave attribute linked to the template.String
WHSWaveAttributeCode
NoNone
WaveLineThresholdNumber of lines used as the threshold for the wave.Integer
WHSWaveLineThreshold
NoWHSWarehouseWaveTemplateV4Entity
WaveMaxWeightWeight limit used as the threshold for the wave.Real
WHSWaveMaxWeight
NoWHSWarehouseWaveTemplateV4Entity
WaveNotificationPolicyPoints to the wave notification policy record used by this template.Int64
WhsWaveNotificationPolicyRecId
NoWhsWaveNotificationPolicy.RecIdNone
WaveShipmentLimitNumber of shipments used as the threshold for the wave.Integer
WHSWaveShipmentLimit
NoWHSWarehouseWaveTemplateV4Entity
WaveTemplateDescShort text describing the wave template.String (60)
WHSWaveTemplateDesc
NoWHSWarehouseWaveTemplateV4Entity
WaveTemplateQueryStored query that defines which records the template selects. It is held as a container.Container
WHSWaveTemplateQuery
NoWHSWarehouseWaveTemplateV4Entity
WaveTemplateSequenceNumber that sets the order of this template among the others.Integer
WHSWaveTemplateSequence
NoWHSWarehouseWaveTemplateV4Entity
WaveTemplateTypeType of wave template: none, shipping, production orders or kanban.Enum
WHSWaveTemplateType (enum)
YesWHSWarehouseWaveTemplateV4Entity
WorkCreateOnReservationFailureYes/No setting for whether wave processing carries on when work cannot be created.Enum
WHSWorkCreateOnReservationFailure
NoYes (enum)
NoWHSWarehouseWaveTemplateV4Entity

Indexes (3)

Relations (8)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSWaveTemplateTable records → exactly one InventLocation record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many WHSWaveTemplateTable records → exactly one InventSite record

  • WaveAttributeCode1 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute1, WaveAttributeCode[1] = WHSWaveAttributes.AttributeNum

    Many WHSWaveTemplateTable records → zero or one WHSWaveAttributes record

  • WaveAttributeCode2 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute2, WaveAttributeCode[2] = WHSWaveAttributes.AttributeNum

    Many WHSWaveTemplateTable records → zero or one WHSWaveAttributes record

  • WaveAttributeCode3 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute3, WaveAttributeCode[3] = WHSWaveAttributes.AttributeNum

    Many WHSWaveTemplateTable records → zero or one WHSWaveAttributes record

  • WaveAttributeCode4 → WHSWaveAttributes

    Join on WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute4, WaveAttributeCode[4] = WHSWaveAttributes.AttributeNum

    Many WHSWaveTemplateTable records → zero or one WHSWaveAttributes record

  • WhsWaveNotificationPolicy → WhsWaveNotificationPolicy

    Join on WaveNotificationPolicy = WhsWaveNotificationPolicy.RecId

    Many WHSWaveTemplateTable records → zero or one WhsWaveNotificationPolicy record

  • WhsWarehouseGroup → WhsWarehouseGroup

    Join on WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupId

    Many WHSWaveTemplateTable records → zero or one WhsWarehouseGroup record

Get this data out

Tables are not exposed directly. These public entities read from WHSWaveTemplateTable; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk