Table

WHSLocationDefaultLabelPrinter

Location default label printer

Sets a default label printer for a printer stock type in a warehouse. The default applies to a scope, which is either a location or a zone. Records link to warehouses, printer stock types, label printers and warehouse zones.

Table name
WHSLocationDefaultLabelPrinter
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
PrinterStockTypeWhsScopeTypeScopeIdx
Replacement key
PrinterStockTypeWhsScopeTypeScopeIdx
Key fields
PrinterStockTypeName, InventLocationId, PrinterLocationScopeType, PrinterLocationScope
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PrinterStockTypeNamePrinter stock type that the default printer is set for.String (60)
WHSPrinterStockTypeName
NoWHSPrinterStockType.NameWHSWarehouseLocationDefaultLabelPrinterEntity
InventLocationIdWarehouse that the default printer applies to.String
InventLocationId
YesInventLocation.InventLocationIdWHSWarehouseLocationDefaultLabelPrinterEntity
PrinterLocationScopeTypeSays whether the scope is a location or a zone.Enum
WHSPrinterLocationScopeType (enum)
YesWHSWarehouseLocationDefaultLabelPrinterEntity
PrinterLocationScopeIdentifier of the scope, referring to a warehouse zone.String (20)
WHSPrinterLocationScope
YesWHSZone.ZoneIdWHSWarehouseLocationDefaultLabelPrinterEntity
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
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
PrinterNameName of the label printer chosen as the default.String (60)
WHSPrinterName
YesWHSSysCorpNetPrinters.PrinterNameWHSWarehouseLocationDefaultLabelPrinterEntity
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 (5)

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

  • WHSPrinterStockType → WHSPrinterStockType

    Join on PrinterStockTypeName = WHSPrinterStockType.Name

    Many WHSLocationDefaultLabelPrinter records → zero or one WHSPrinterStockType record

  • InventLocation → InventLocation

    Join on InventLocationId = InventLocation.InventLocationId, InventLocation.WHSEnabled = NoYes::Yes

    Many WHSLocationDefaultLabelPrinter records → zero or one InventLocation record

  • WHSSysCorpNetPrinters → WHSSysCorpNetPrinters

    Join on PrinterStockTypeName = WHSSysCorpNetPrinters.PrinterStockTypeName, PrinterName = WHSSysCorpNetPrinters.PrinterName

    Many WHSLocationDefaultLabelPrinter records → exactly one WHSSysCorpNetPrinters record

  • WHSZone → WHSZone

    Join on PrinterLocationScope = WHSZone.ZoneId, PrinterLocationScopeType = WHSPrinterLocationScopeType::Zone

    Many WHSLocationDefaultLabelPrinter records → zero or one WHSZone record

  • WMSLocation → WMSLocation

    Join on InventLocationId = WMSLocation.inventLocationId, PrinterLocationScope = WMSLocation.wMSLocationId, PrinterLocationScopeType = WHSPrinterLocationScopeType::Location

    Many WHSLocationDefaultLabelPrinter records → zero or one WMSLocation record

Get this data out

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

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

Email sales@drdynamics.co.uk