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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PrinterStockTypeNamePrinter stock type that the default printer is set for. | String (60)WHSPrinterStockTypeName | No | WHSPrinterStockType.Name | WHSWarehouseLocationDefaultLabelPrinterEntity |
InventLocationIdWarehouse that the default printer applies to. | StringInventLocationId | Yes | InventLocation.InventLocationId | WHSWarehouseLocationDefaultLabelPrinterEntity |
PrinterLocationScopeTypeSays whether the scope is a location or a zone. | EnumWHSPrinterLocationScopeType (enum) | Yes | WHSWarehouseLocationDefaultLabelPrinterEntity | |
PrinterLocationScopeIdentifier of the scope, referring to a warehouse zone. | String (20)WHSPrinterLocationScope | Yes | WHSZone.ZoneId | WHSWarehouseLocationDefaultLabelPrinterEntity |
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 | |
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 | |
PrinterNameName of the label printer chosen as the default. | String (60)WHSPrinterName | Yes | WHSSysCorpNetPrinters.PrinterName | WHSWarehouseLocationDefaultLabelPrinterEntity |
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)
PrinterStockTypeWhsScopeTypeScopeIdxPrimary indexReplacement keyPrinterStockTypeName,InventLocationId,PrinterLocationScopeType,PrinterLocationScopeUnique, alternate key.
PrinterNameStockTypeIdxPrinterName,PrinterStockTypeNameNot unique.
InventLocationIdIdxNot unique.
ScopeTypeScopeWhsIdxPrinterLocationScopeType,PrinterLocationScope,InventLocationIdNot unique.
Relations (5)
Each relation joins WHSLocationDefaultLabelPrinter to another table on the fields shown.
WHSPrinterStockType→WHSPrinterStockTypeJoin on
PrinterStockTypeName = WHSPrinterStockType.NameMany WHSLocationDefaultLabelPrinter records → zero or one WHSPrinterStockType record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationId,InventLocation.WHSEnabled = NoYes::YesMany WHSLocationDefaultLabelPrinter records → zero or one InventLocation record
WHSSysCorpNetPrinters→WHSSysCorpNetPrintersJoin on
PrinterStockTypeName = WHSSysCorpNetPrinters.PrinterStockTypeName,PrinterName = WHSSysCorpNetPrinters.PrinterNameMany WHSLocationDefaultLabelPrinter records → exactly one WHSSysCorpNetPrinters record
WHSZone→WHSZoneJoin on
PrinterLocationScope = WHSZone.ZoneId,PrinterLocationScopeType = WHSPrinterLocationScopeType::ZoneMany WHSLocationDefaultLabelPrinter records → zero or one WHSZone record
WMSLocation→WMSLocationJoin on
InventLocationId = WMSLocation.inventLocationId,PrinterLocationScope = WMSLocation.wMSLocationId,PrinterLocationScopeType = WHSPrinterLocationScopeType::LocationMany 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.
WHSWarehouseLocationDefaultLabelPrinterEntity· 5 fields from this table
Need help with WHSLocationDefaultLabelPrinter in a report, an integration or a migration? Talk to Dr Dynamics.