Table
WHSWorkUserDefaultLabelPrinterTable
Work user default label printer
Stores the default label printer for a warehouse work user. The key is the printer stock type, warehouse and user. It links to the label printer record that matches the stock type.
- Table name
WHSWorkUserDefaultLabelPrinterTable- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
PrinterStockTypeWhsUserPrinterIdx- Replacement key
PrinterStockTypeWhsUserPrinterIdx- Key fields
PrinterStockTypeName, InventLocationId, UserId- Model
Foundation
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PrinterStockTypeNamePrinter stock type that the default printer applies to. Points to a printer stock type record. | String (60)WHSPrinterStockTypeName | No | WHSPrinterStockType.Name | WHSWarehouseWorkUserDefaultLabelPrinterV1Entity |
InventLocationIdWarehouse where the default printer applies. Points to a warehouse record. | StringInventLocationId | No | InventLocation.InventLocationId | WHSWarehouseWorkUserDefaultLabelPrinterV1Entity |
UserIdWarehouse work user who has this default printer. Points to a work user record. | StringWHSUserId | Yes | WHSWorkUser.UserId | WHSWarehouseWorkUserDefaultLabelPrinterV1Entity |
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 | |
PrinterNameLabel printer chosen as the default. It is matched with the printer stock type. | String (60)WHSPrinterName | Yes | WHSSysCorpNetPrinters.PrinterName | WHSWarehouseWorkUserDefaultLabelPrinterV1Entity |
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)
PrinterStockTypeWhsUserPrinterIdxPrimary indexReplacement keyPrinterStockTypeName,InventLocationId,UserIdUnique, alternate key.
PrinterNameStockTypeIdxPrinterName,PrinterStockTypeNameNot unique.
InventLocationIdIdxNot unique.
UserIdIdxNot unique.
Relations (4)
Each relation joins WHSWorkUserDefaultLabelPrinterTable to another table on the fields shown.
WHSPrinterStockType→WHSPrinterStockTypeJoin on
PrinterStockTypeName = WHSPrinterStockType.NameMany WHSWorkUserDefaultLabelPrinterTable records → zero or one WHSPrinterStockType record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationId,InventLocation.WHSEnabled = NoYes::YesMany WHSWorkUserDefaultLabelPrinterTable records → zero or one InventLocation record
WHSWorkUser→WHSWorkUserJoin on
UserId = WHSWorkUser.UserIdMany WHSWorkUserDefaultLabelPrinterTable records → exactly one WHSWorkUser record
WHSSysCorpNetPrinters→WHSSysCorpNetPrintersJoin on
PrinterStockTypeName = WHSSysCorpNetPrinters.PrinterStockTypeName,PrinterName = WHSSysCorpNetPrinters.PrinterNameMany WHSWorkUserDefaultLabelPrinterTable records → exactly one WHSSysCorpNetPrinters record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkUserDefaultLabelPrinterTable; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseWorkUserDefaultLabelPrinterV1Entity· 4 fields from this table
Need help with WHSWorkUserDefaultLabelPrinterTable in a report, an integration or a migration? Talk to Dr Dynamics.