Table
WHSLocationLimit
Location quantity limits for products
Holds quantity limits for products at warehouse locations. A limit can be set per item, pack size category, location profile or location, and for a warehouse, a warehouse group or all warehouses. It has no defined key in the metadata.
- Table name
WHSLocationLimit- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AllowUnlimitedQtyYes/no flag showing whether the quantity is unlimited. | EnumWHSAllowUnlimitedQtyNoYes (enum) | No | WHSWarehouseStockingLimitV2Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventLocationIdThe warehouse the limit applies to. | StringInventLocationId | No | InventLocation.InventLocationId | WHSWarehouseStockingLimitV2Entity |
ItemIdThe item the limit applies to, pointing to an item record. | String (20)ItemId | No | InventTable.ItemId | WHSWarehouseStockingLimitV2Entity |
LocProfileIdThe location profile the limit applies to. | String (20)WHSLocProfileId | No | WHSLocationProfile.LocProfileId | WHSWarehouseStockingLimitV2Entity |
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 | |
PackSizeCateogryIdThe pack size category the limit applies to. | String (20)WHSPackSizeCateogryId | No | WHSPackSizeCategory.PackSizeCateogryId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QtyThe limit quantity. | RealWHSLocationLimitQty | No | WHSWarehouseStockingLimitV2Entity | |
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 | |
UnitIdThe unit of measure in which the limit is given. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | WHSWarehouseStockingLimitV2Entity |
WarehouseGroupAllShows whether the limit applies to one warehouse, a warehouse group or all warehouses. | EnumWhsWarehouseGroupAll (enum) | No | WHSWarehouseStockingLimitV2Entity | |
WarehouseGroupIdThe warehouse group the limit applies to. | String (20)WhsWarehouseGroupId | No | WhsWarehouseGroup.WarehouseGroupId | WHSWarehouseStockingLimitV2Entity |
WMSLocationIdThe specific location the limit applies to. | StringWMSLocationId | No | WHSWarehouseStockingLimitV2Entity |
Indexes (7)
InventWMSProfItemCategoryIdxInventLocationId,WMSLocationId,LocProfileId,ItemId,PackSizeCateogryId,UnitId,WarehouseGroupId,WarehouseGroupAllUnique.
InventWMSItemUnitIdxInventLocationId,ItemId,WMSLocationId,UnitIdNot unique.
InventProfItemUnitIdxInventLocationId,ItemId,LocProfileId,UnitIdNot unique.
InventWMSCategoryUnitIdxInventLocationId,WMSLocationId,UnitId,PackSizeCateogryIdNot unique.
InventProfCategoryUnitIdxInventLocationId,LocProfileId,UnitId,PackSizeCateogryIdNot unique.
WarehouseGroupIdNot unique.
WarehouseGroupAllNot unique.
Relations (7)
Each relation joins WHSLocationLimit to another table on the fields shown.
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdOne or more WHSLocationLimit records → exactly one InventLocation record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSLocationLimit records → zero or one InventTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany WHSLocationLimit records → zero or one UnitOfMeasure record
WHSLocationProfile→WHSLocationProfileJoin on
LocProfileId = WHSLocationProfile.LocProfileIdMany WHSLocationLimit records → zero or one WHSLocationProfile record
WHSPackSizeCategory→WHSPackSizeCategoryJoin on
PackSizeCateogryId = WHSPackSizeCategory.PackSizeCateogryIdMany WHSLocationLimit records → zero or one WHSPackSizeCategory record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationIdMany WHSLocationLimit records → zero or one WMSLocation record
WarehouseGroupId→WhsWarehouseGroupJoin on
WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupIdMany WHSLocationLimit records → zero or one WhsWarehouseGroup record
Get this data out
Tables are not exposed directly. These public entities read from WHSLocationLimit; use one of them in Power BI, Power Platform or a data management project.
WHSWarehouseStockingLimitV2Entity· 9 fields from this table
Need help with WHSLocationLimit in a report, an integration or a migration? Talk to Dr Dynamics.