Table
WHSLocationLimitVariant
Location quantity limits for product variants
Stores quantity limits for a product variant at a location. A limit can apply to a warehouse, a warehouse group or all warehouses, and can be tied to a location profile or a single location. It can also allow unlimited quantity.
- Table name
WHSLocationLimitVariant- 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 (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AllowUnlimitedQtyYes/No flag that allows unlimited quantity instead of a fixed limit. | EnumWHSAllowUnlimitedQtyNoYes (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventDimIDProductDimInventory dimension number that identifies the product variant. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
InventLocationIdWarehouse the limit applies to. | StringInventLocationId | No | InventLocation.InventLocationId | None |
ItemIdItem the limit applies to. | String (20)ItemId | Yes | InventTable.ItemId | None |
LocProfileIdLocation profile the limit applies to. | String (20)WHSLocProfileId | No | WHSLocationProfile.LocProfileId | 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 | |
QtyQuantity limit for the variant. | RealProductQuantity | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnitIdUnit of measure of the quantity. | StringUnitOfMeasureSymbol | No | UnitOfMeasure.Symbol | None |
WarehouseGroupAllScope of the limit: one warehouse, a warehouse group or all. | EnumWhsWarehouseGroupAll (enum) | No | None | |
WarehouseGroupIdWarehouse group the limit applies to. | String (20)WhsWarehouseGroupId | No | WhsWarehouseGroup.WarehouseGroupId | None |
WMSLocationIdLocation the limit applies to. | StringWMSLocationId | No | None |
Indexes (5)
InventWMSProfItemCategoryIdxInventLocationId,ItemId,InventDimIDProductDim,WMSLocationId,LocProfileId,UnitId,WarehouseGroupAll,WarehouseGroupIdUnique.
InventWMSItemUnitIdxInventLocationId,ItemId,InventDimIDProductDim,WMSLocationId,UnitIdNot unique.
InventProfItemUnitIdxInventLocationId,ItemId,InventDimIDProductDim,LocProfileId,UnitIdNot unique.
WarehouseGroupIdNot unique.
WarehouseGroupAllNot unique.
Relations (7)
Each relation joins WHSLocationLimitVariant to another table on the fields shown.
InventDim→InventDimJoin on
InventDimIDProductDim = InventDim.inventDimIdMany WHSLocationLimitVariant records → exactly one InventDim record
InventLocation→InventLocationJoin on
InventLocationId = InventLocation.InventLocationIdOne or more WHSLocationLimitVariant records → exactly one InventLocation record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdExactly one WHSLocationLimitVariant record → exactly one InventTable record
UnitOfMeasure→UnitOfMeasureJoin on
UnitId = UnitOfMeasure.SymbolMany WHSLocationLimitVariant records → zero or one UnitOfMeasure record
WHSLocationProfile→WHSLocationProfileJoin on
LocProfileId = WHSLocationProfile.LocProfileIdMany WHSLocationLimitVariant records → zero or one WHSLocationProfile record
WMSLocation→WMSLocationJoin on
WMSLocationId = WMSLocation.wMSLocationIdMany WHSLocationLimitVariant records → zero or one WMSLocation record
WarehouseGroupId→WhsWarehouseGroupJoin on
WarehouseGroupId = WhsWarehouseGroup.WarehouseGroupIdMany WHSLocationLimitVariant records → zero or one WhsWarehouseGroup record
Get this data out
No public entity reads from WHSLocationLimitVariant. Its data is only reachable through the application, a custom entity or a database export.
Need help with WHSLocationLimitVariant in a report, an integration or a migration? Talk to Dr Dynamics.