Table

WHSLabelLayout

Label layout

Holds label layouts used for warehouse labels. A layout is identified by its type and its layout ID. It stores a description, a data source, the active version and the definition type (ZPL, Variables or Variables (script)).

Table name
WHSLabelLayout
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
LabelLayoutIdIdx
Replacement key
LabelLayoutIdIdx
Key fields
LayoutType, LabelLayoutId
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LayoutTypeKind of label the layout is for. Values are Container label, License Plate Label and Custom label.Enum
WHSLabelLayoutType (enum)
YesWHSLabelLayoutWithActiveVersionEntityWHSContainerLabelRoutingLineEntityWHSLabelLayoutVariableEntity
LabelLayoutIdIdentifier of the label layout.String (20)
WHSLabelLayoutId
YesWHSLabelLayoutWithActiveVersionEntityWHSDocumentRoutingLabelLayoutLineEntityWHSLabelLayoutVariableEntity
ActiveVersionPoints to the version of the layout that is currently active.Int64
RefRecId
NoWHSLabelLayoutVersion.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefinitionTypeHow the layout is defined. Values are ZPL, Variables and Variables (script).Enum
WHSLabelLayoutDefinitionType (enum)
NoWHSLabelLayoutWithActiveVersionEntity
DescriptionShort description of the label layout.String (60)
Description
NoWHSLabelLayoutWithActiveVersionEntity
EnableTemplateTranslatorYes/No flag for label template support.Enum
WHSLabelLayoutEnableTemplateTranslator
NoYes (enum)
NoWHSLabelLayoutWithActiveVersionEntity
LabelLayoutDataSourceData source used by the layout. Points to the label layout data source.String (20)
WHSLabelLayoutDataSourceId
NoWHSLabelLayoutDataSource.LabelLayoutDataSourceIdWHSLabelLayoutWithActiveVersionEntity
LabelLocaleLanguage code that sets the date, time and number format used on the label.String (7)
LanguageId
NoWHSLabelLayoutWithActiveVersionEntity
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
PrinterStockTypeNamePrinter stock type used for the label. Points to the printer stock type by name.String (60)
WHSPrinterStockTypeName
NoWHSPrinterStockType.NameWHSLabelLayoutWithActiveVersionEntity
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

Indexes (4)

Relations (3)

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

  • WHSLabelLayoutDataSource → WHSLabelLayoutDataSource

    Join on LabelLayoutDataSource = WHSLabelLayoutDataSource.LabelLayoutDataSourceId

    Zero or one WHSLabelLayout record → exactly one WHSLabelLayoutDataSource record

  • WHSLabelLayoutVersion → WHSLabelLayoutVersion

    Join on ActiveVersion = WHSLabelLayoutVersion.RecId

    Zero or one WHSLabelLayout record → exactly one WHSLabelLayoutVersion record

  • WHSPrinterStockType → WHSPrinterStockType

    Join on PrinterStockTypeName = WHSPrinterStockType.Name

    Many WHSLabelLayout records → zero or one WHSPrinterStockType record

Get this data out

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

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

Email sales@drdynamics.co.uk