Table

WHSOutboundSortTemplate

Outbound sorting template table

Holds outbound sorting templates, identified by a template ID. A template has a type (container or wave demand), rules for assigning, verifying and closing sort positions, and a warehouse or warehouse group scope. It can link to a location and a packing profile.

Table name
WHSOutboundSortTemplate
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
SortTemplateIdx
Replacement key
None
Key fields
SortTemplateId
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SortTemplateIdThe unique ID of the sorting template.String
WHSOutboundSortTemplateId
YesWHSOutboundSortingTemplateV3Entity
AssignSortPositionCriteriaSets whether a position is assumed empty or only empty positions are used.Enum
WHSAssignSortPositionCriteria (enum)
NoWHSOutboundSortingTemplateV3Entity
AutoCloseSortPositionYes/no flag for closing a sort position automatically.Enum
WHSAutoCloseSortPosition
NoYes (enum)
NoWHSOutboundSortingTemplateV3Entity
AutoPackSortPositionYes/no flag for packing a sort position automatically.Enum
WHSAutoPackSortPosition
NoYes (enum)
NoWHSOutboundSortingTemplateV3Entity
CreateWorkOnPositionCloseYes/no flag for creating work when a sort position is closed.Enum
WHSCreateWorkOnPositionClose
NoYes (enum)
NoWHSOutboundSortingTemplateV3Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionA short text describing the template.String (60)
Description
NoWHSOutboundSortingTemplateV3Entity
InventLocationIdThe warehouse the template applies to.String
InventLocationId
NoInventLocation.InventLocationIdWHSOutboundSortingTemplateV3Entity
NumberOfSortPositionsThe number of sort positions.Integer
WHSNumberOfSortPositions
NoWHSOutboundSortingTemplateV3Entity
PackedQueryRunThe stored query that filters what the template covers.Container
PackedQueryRun
NoWHSOutboundSortingTemplateV3Entity
PackProfileIdThe packing profile linked to the template.String (20)
WHSPackProfileId
NoWHSPackProfile.PackProfileIdWHSOutboundSortingTemplateV3Entity
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
SortPositionAssignmentSets whether sort positions are assigned manually or automatically.Enum
WHSOutboundSortPositionAssignment (enum)
NoWHSOutboundSortingTemplateV3Entity
SortPositionPrefixThe prefix used in sort position names.String
WHSSortPositionPrefix
NoWHSOutboundSortingTemplateV3Entity
SortTemplateTypeThe template type: container or wave demand.Enum
WHSOutboundSortTemplateType (enum)
YesWHSOutboundSortingTemplateV3Entity
SortVerificationSets how a sort is verified: none, license plate scan or position scan.Enum
WHSOutboundSortVerification (enum)
NoWHSOutboundSortingTemplateV3Entity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WarehouseGroupAllShows whether the template applies to one warehouse, a warehouse group or all warehouses.Enum
WhsWarehouseGroupAll (enum)
NoWHSOutboundSortingTemplateV3Entity
WarehouseGroupIdThe warehouse group the template applies to.String (20)
WhsWarehouseGroupId
NoWhsWarehouseGroup.WarehouseGroupIdWHSOutboundSortingTemplateV3Entity
WaveStepCodeThe wave step code linked to the template.String
WHSWaveStepCode
NoWHSOutboundSortingTemplateV3Entity
WMSLocationIdThe location used by the template.String
WMSLocationId
NoWMSLocation.wMSLocationIdWHSOutboundSortingTemplateV3Entity

Indexes (3)

Relations (4)

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

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId

    Many WHSOutboundSortTemplate records → exactly one InventLocation record

  • Location → WMSLocation

    Join on WMSLocationId = WMSLocation.wMSLocationId, InventLocationId = WMSLocation.inventLocationId

    Many WHSOutboundSortTemplate records → exactly one WMSLocation record

  • WHSPackProfile → WHSPackProfile

    Join on PackProfileId = WHSPackProfile.PackProfileId

    Many WHSOutboundSortTemplate records → zero or one WHSPackProfile record

  • WhsWarehouseGroup → WhsWarehouseGroup

    Join on WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupId

    Many WHSOutboundSortTemplate records → zero or one WhsWarehouseGroup record

Get this data out

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

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

Email sales@drdynamics.co.uk