Table
WHSWorkUserWarehouse
User Allowed Warehouses
Links work users to the warehouses they may use. Each record pairs one warehouse with one user. The key is the warehouse plus the user ID.
- Table name
WHSWorkUserWarehouse- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
UserIdInventLocationIdIdx- Replacement key
UserIdInventLocationIdIdx- Key fields
InventLocationId, UserId- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventLocationIdWarehouse the user is allowed to use. | StringInventLocationId | Yes | InventLocation.InventLocationId | WHSWarehouseMobileDeviceUserAssignedWarehouseEntity |
UserIdWork user who is allowed in the warehouse. | StringWHSUserId | Yes | WHSWorkUser.UserId | WHSWarehouseMobileDeviceUserAssignedWarehouseEntity |
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 | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
UserIdInventLocationIdIdxPrimary indexReplacement keyUnique, alternate key.
Relations (2)
Each relation joins WHSWorkUserWarehouse to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdOne or more WHSWorkUserWarehouse records → exactly one InventLocation record
WHSWorkUser→WHSWorkUserJoin on
UserId = WHSWorkUser.UserIdMany WHSWorkUserWarehouse records → exactly one WHSWorkUser record
Get this data out
Tables are not exposed directly. These public entities read from WHSWorkUserWarehouse; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseMobileDeviceUserAssignedWarehouseEntity· 2 fields from this table
Need help with WHSWorkUserWarehouse in a report, an integration or a migration? Talk to Dr Dynamics.