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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
LayoutTypeKind of label the layout is for. Values are Container label, License Plate Label and Custom label. | EnumWHSLabelLayoutType (enum) | Yes | WHSLabelLayoutWithActiveVersionEntityWHSContainerLabelRoutingLineEntityWHSLabelLayoutVariableEntity | |
LabelLayoutIdIdentifier of the label layout. | String (20)WHSLabelLayoutId | Yes | WHSLabelLayoutWithActiveVersionEntityWHSDocumentRoutingLabelLayoutLineEntityWHSLabelLayoutVariableEntity | |
ActiveVersionPoints to the version of the layout that is currently active. | Int64RefRecId | No | WHSLabelLayoutVersion.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefinitionTypeHow the layout is defined. Values are ZPL, Variables and Variables (script). | EnumWHSLabelLayoutDefinitionType (enum) | No | WHSLabelLayoutWithActiveVersionEntity | |
DescriptionShort description of the label layout. | String (60)Description | No | WHSLabelLayoutWithActiveVersionEntity | |
EnableTemplateTranslatorYes/No flag for label template support. | EnumWHSLabelLayoutEnableTemplateTranslatorNoYes (enum) | No | WHSLabelLayoutWithActiveVersionEntity | |
LabelLayoutDataSourceData source used by the layout. Points to the label layout data source. | String (20)WHSLabelLayoutDataSourceId | No | WHSLabelLayoutDataSource.LabelLayoutDataSourceId | WHSLabelLayoutWithActiveVersionEntity |
LabelLocaleLanguage code that sets the date, time and number format used on the label. | String (7)LanguageId | No | WHSLabelLayoutWithActiveVersionEntity | |
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 | |
PrinterStockTypeNamePrinter stock type used for the label. Points to the printer stock type by name. | String (60)WHSPrinterStockTypeName | No | WHSPrinterStockType.Name | WHSLabelLayoutWithActiveVersionEntity |
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 |
Indexes (4)
LabelLayoutIdIdxPrimary indexReplacement keyUnique, alternate key.
LabelLayoutDataSourceIdxNot unique.
PrinterStockTypeNameIdxNot unique.
LabelLayoutIdActiveVersionIdxNot unique.
Relations (3)
Each relation joins WHSLabelLayout to another table on the fields shown.
WHSLabelLayoutDataSource→WHSLabelLayoutDataSourceJoin on
LabelLayoutDataSource = WHSLabelLayoutDataSource.LabelLayoutDataSourceIdZero or one WHSLabelLayout record → exactly one WHSLabelLayoutDataSource record
WHSLabelLayoutVersion→WHSLabelLayoutVersionJoin on
ActiveVersion = WHSLabelLayoutVersion.RecIdZero or one WHSLabelLayout record → exactly one WHSLabelLayoutVersion record
WHSPrinterStockType→WHSPrinterStockTypeJoin on
PrinterStockTypeName = WHSPrinterStockType.NameMany 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.
WHSLabelLayoutWithActiveVersionEntity· 8 fields from this tableWHSContainerLabelRoutingLineEntity· 1 field from this tableWHSDocumentRoutingLabelLayoutLineEntity· 1 field from this tableWHSLabelLayoutVariableEntity· 2 fields from this table
Need help with WHSLabelLayout in a report, an integration or a migration? Talk to Dr Dynamics.