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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
WaveTemplateNameName of the wave template. It is the key of the table. | String (20)WHSWaveTemplateName | Yes | WHSWarehouseWaveTemplateV4EntityWHSWarehouseWaveTemplateGroupEntity | |
AssignableWaveYes/No setting for whether work can be assigned to waves that are still open. | EnumWHSAssignableWaveNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
AutoCreateWaveYes/No setting for automatic creation of waves from this template. | EnumWHSAutoCreateWaveNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
AutoExecuteWaveAtLoadPostYes/No setting for processing the wave when the load is released to the warehouse. | EnumWHSAutoExecuteWaveAtLoadPostNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
AutoExecuteWaveAtThresholdYes/No setting for processing the wave automatically once a threshold is reached. | EnumWHSAutoExecuteWaveAtThresholdNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
AutoReleaseReplenWorkYes/No setting for automatic release of replenishment work. | EnumWHSAutoReleaseReplenWorkNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
AutoReleaseWaveYes/No setting for automatic release of the wave. | EnumWHSAutoReleaseWaveNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventLocationIdThe warehouse the template applies to, taken from the warehouse records. | StringInventLocationId | No | InventLocation.InventLocationId | WHSWarehouseWaveTemplateV4Entity |
InventSiteIdThe site the template applies to, taken from the site records. | StringInventSiteId | No | InventSite.SiteId | WHSWarehouseWaveTemplateV4Entity |
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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ValidShows whether the template is valid. | EnumValidboolean (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
WarehouseGroupAllChooses how warehouses are selected: one warehouse, a warehouse group, or all. | EnumWhsWarehouseGroupAll (enum) | No | WHSWarehouseWaveTemplateV4Entity | |
WarehouseGroupIdThe warehouse group the template applies to. | String (20)WhsWarehouseGroupId | No | WhsWarehouseGroup.WarehouseGroupId | WHSWarehouseWaveTemplateV4Entity |
WaveAttributeCodeCode of the first wave attribute linked to the template. | StringWHSWaveAttributeCode | No | None | |
WaveLineThresholdNumber of lines used as the threshold for the wave. | IntegerWHSWaveLineThreshold | No | WHSWarehouseWaveTemplateV4Entity | |
WaveMaxWeightWeight limit used as the threshold for the wave. | RealWHSWaveMaxWeight | No | WHSWarehouseWaveTemplateV4Entity | |
WaveNotificationPolicyPoints to the wave notification policy record used by this template. | Int64WhsWaveNotificationPolicyRecId | No | WhsWaveNotificationPolicy.RecId | None |
WaveShipmentLimitNumber of shipments used as the threshold for the wave. | IntegerWHSWaveShipmentLimit | No | WHSWarehouseWaveTemplateV4Entity | |
WaveTemplateDescShort text describing the wave template. | String (60)WHSWaveTemplateDesc | No | WHSWarehouseWaveTemplateV4Entity | |
WaveTemplateQueryStored query that defines which records the template selects. It is held as a container. | ContainerWHSWaveTemplateQuery | No | WHSWarehouseWaveTemplateV4Entity | |
WaveTemplateSequenceNumber that sets the order of this template among the others. | IntegerWHSWaveTemplateSequence | No | WHSWarehouseWaveTemplateV4Entity | |
WaveTemplateTypeType of wave template: none, shipping, production orders or kanban. | EnumWHSWaveTemplateType (enum) | Yes | WHSWarehouseWaveTemplateV4Entity | |
WorkCreateOnReservationFailureYes/No setting for whether wave processing carries on when work cannot be created. | EnumWHSWorkCreateOnReservationFailureNoYes (enum) | No | WHSWarehouseWaveTemplateV4Entity |
Indexes (3)
TemplateSequenceTypeIdxWaveTemplateType,WaveTemplateSequenceNot unique.
TemplateNameIdxPrimary indexReplacement keyUnique, alternate key.
WarehouseGroupIdIdxNot unique.
Relations (8)
Each relation joins WHSWaveTemplateTable to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdMany WHSWaveTemplateTable records → exactly one InventLocation record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany WHSWaveTemplateTable records → exactly one InventSite record
WaveAttributeCode1→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute1,WaveAttributeCode[1] = WHSWaveAttributes.AttributeNumMany WHSWaveTemplateTable records → zero or one WHSWaveAttributes record
WaveAttributeCode2→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute2,WaveAttributeCode[2] = WHSWaveAttributes.AttributeNumMany WHSWaveTemplateTable records → zero or one WHSWaveAttributes record
WaveAttributeCode3→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute3,WaveAttributeCode[3] = WHSWaveAttributes.AttributeNumMany WHSWaveTemplateTable records → zero or one WHSWaveAttributes record
WaveAttributeCode4→WHSWaveAttributesJoin on
WHSWaveAttributes.AttributeTitle = WHSAttributeTitle::Attribute4,WaveAttributeCode[4] = WHSWaveAttributes.AttributeNumMany WHSWaveTemplateTable records → zero or one WHSWaveAttributes record
WhsWaveNotificationPolicy→WhsWaveNotificationPolicyJoin on
WaveNotificationPolicy = WhsWaveNotificationPolicy.RecIdMany WHSWaveTemplateTable records → zero or one WhsWaveNotificationPolicy record
WhsWarehouseGroup→WhsWarehouseGroupJoin on
WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupIdMany 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.
WHSWarehouseWaveTemplateV4Entity· 20 fields from this tableWHSWarehouseWaveTemplateGroupEntity· 1 field from this table
Need help with WHSWaveTemplateTable in a report, an integration or a migration? Talk to Dr Dynamics.