Data entity

WHSLabelLayoutWithActiveVersionEntity

Holds label layouts together with details from their active version. The key is the label layout type and the layout ID. Fields include the data source ID, the ZPL content, the definition type, the printer stock type and the number format. There is also a setting for label template support.

Entity name
WHSLabelLayoutWithActiveVersionEntity
Public entity name
LabelLayoutWithActiveVersion
OData collection
LabelLayoutWithActiveVersions
Category
Reference
Module
WMS
Read-only
No
Data management enabled
Yes
Configuration key
WHSandTMS
Keys
LabelLayoutType, LabelLayoutId
Staging table
WHSLabelLayoutWithActiveVersionStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/LabelLayoutWithActiveVersions
Dataverse virtual table
mserp_whslabellayoutwithactiveversionentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • WHSLabelLayout · root
  • WHSLabelLayoutVersion · OuterJoin to WHSLabelLayout

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LabelLayoutTypeKind of label the layout is for. Values are Container label, License Plate Label and Custom label.Enum
WHSLabelLayoutType
  • ContainerLabel 0
  • LicensePlateLabel 1
  • CustomLabel 2
YesYesWHSLabelLayout.LayoutType
LabelLayoutIdIdentifier of the label layout.String (20)
WHSLabelLayoutId
YesYesWHSLabelLayout.LabelLayoutId
DescriptionShort description of the label layout.String (60)
Description
NoYesWHSLabelLayout.Description
LabelLayoutDataSourceData source used by the layout. Points to the label layout data source.String (20)
WHSLabelLayoutDataSourceId
NoYesWHSLabelLayoutDataSource.LabelLayoutDataSourceIdWHSLabelLayout.LabelLayoutDataSource
IsTemplateTranslatorEnabledYes/No flag for label template support.Enum
WHSLabelLayoutEnableTemplateTranslator
NoYes

Platform enum: values not in the metadata extract.

NoYesWHSLabelLayout.EnableTemplateTranslator
DateTimeNumberLocaleLanguage code that sets the date, time and number format used on the label.String (7)
LanguageId
NoYesWHSLabelLayout.LabelLocale
ActiveVersionNumberSequence number of the version within the layout.Integer
WHSSeqNum
YesYesWHSLabelLayoutVersion.VersionNumber
LabelLayoutLabel definition text in ZPL, a printer command language.String (-1)
WHSZPL
NoYesWHSLabelLayoutVersion.ZPL
DefinitionTypeHow the layout is defined. Values are ZPL, Variables and Variables (script).Enum
WHSLabelLayoutDefinitionType
  • ZPL 0
  • Variables 1
  • VariablesScript 2
NoYesWHSLabelLayout.DefinitionType
PrinterStockTypeNamePrinter stock type used for the label. Points to the printer stock type by name.String (60)
WHSPrinterStockTypeName
NoYesWHSPrinterStockType.NameWHSLabelLayout.PrinterStockTypeName

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • LabelLayoutDataSource → WHSLabelLayoutDataSource.LabelLayoutDataSourceId (key of WHSLabelLayoutDataSource)

    Zero or one WHSLabelLayout record → exactly one WHSLabelLayoutDataSource record

    WHSLabelLayoutDataSource details: see WHSLabelLayoutDataSourceV2Entity, WHSLabelLayoutDataSourceEntity

  • PrinterStockTypeName → WHSPrinterStockType.Name (key of WHSPrinterStockType)

    Many WHSLabelLayout records → zero or one WHSPrinterStockType record

    WHSPrinterStockType details: see WHSWarehousePrinterStockTypeEntity

Need help with WHSLabelLayoutWithActiveVersionEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk