Table
WHSInventoryOnhandReportLine
Warehouse on-hand inventory report lines
Holds the lines of a warehouse on-hand inventory report. Each line gives an on-hand quantity for an item, together with the dimensions that the report includes, such as warehouse, location, batch or serial number. Lines link to the report by its report ID and to the item and its dimensions.
- Table name
WHSInventoryOnhandReportLine- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
WHSandTMS- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InventoryGtdIdGTD number of the stock. Used for Russia. | String (30)InventGTDId_RU | No | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity | |
InventoryOwnerIdOwner of the stock. Points to the inventory owner record. | String (40)InventOwnerId | No | InventOwner_RU.InventOwnerId | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
InventoryProfileIdInventory profile of the stock. Used for Russia. | StringInventProfileId_RU | No | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity | |
InventoryStatusIdInventory status of the stock. Points to the inventory status record. | StringWHSInventStatusId | No | WHSInventStatus.InventStatusId | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
ItemBatchNumberBatch number of the stock. | String (20)InventBatchId | No | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity | |
ItemIdItem number. Points to the item record. | String (20)ItemId | Yes | InventTable.ItemId | WHSInventoryOnhandReportLineEntity |
ItemSerialNumberSerial number of the stock. | String (20)InventSerialId | No | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity | |
OnHandQuantityOn-hand quantity for this line. | RealInventQtyOnHand | Yes | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductColorIdProduct colour of the item. Points to the colour by name. | StringEcoResItemColorName | No | EcoResColor.Name | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
ProductConfigurationIdProduct configuration of the item. Points to the configuration by name. | String (50)EcoResItemConfigurationName | No | EcoResConfiguration.Name | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
ProductInventDimIdInventory dimension number for the line. Points to the inventory dimension record. | String (20)InventDimId | No | InventDim.inventDimId | None |
ProductSizeIdProduct size of the item. Points to the size by name. | StringEcoResItemSizeName | No | EcoResSize.Name | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
ProductStyleIdProduct style of the item. Points to the style by name. | StringEcoResItemStyleName | No | EcoResStyle.Name | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
ProductVersionIdProduct version of the item. Points to the version by name. | StringEcoResItemVersionName | No | EcoResVersion.Name | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
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 | |
ReportIdIdentifier of the on-hand inventory report that this line belongs to. | GuidWHSInventoryOnhandReportId | Yes | WHSInventoryOnhandReport.ReportId | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WarehouseIdWarehouse that holds the stock. Points to the warehouse record. | StringInventLocationId | No | InventLocation.InventLocationId | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
WarehouseLocationIdLocation in the warehouse where the stock is held. | StringWMSLocationId | No | WHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity |
Indexes (1)
LineIdxReportId,ItemId,ProductConfigurationId,ProductSizeId,ProductColorId,ProductStyleId,ProductVersionId,WarehouseId,WarehouseLocationId,InventoryStatusId,ItemBatchNumber,ItemSerialNumber,InventoryGtdId,InventoryOwnerId,InventoryProfileIdUnique, alternate key.
Relations (14)
Each relation joins WHSInventoryOnhandReportLine to another table on the fields shown.
WHSInventoryOnhandReport→WHSInventoryOnhandReportJoin on
ReportId = WHSInventoryOnhandReport.ReportIdMany WHSInventoryOnhandReportLine records → exactly one WHSInventoryOnhandReport record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany WHSInventoryOnhandReportLine records → exactly one InventTable record
EcoResConfiguration→EcoResConfigurationJoin on
ProductConfigurationId = EcoResConfiguration.NameMany WHSInventoryOnhandReportLine records → zero or one EcoResConfiguration record
EcoResSize→EcoResSizeJoin on
ProductSizeId = EcoResSize.NameMany WHSInventoryOnhandReportLine records → zero or one EcoResSize record
EcoResColor→EcoResColorJoin on
ProductColorId = EcoResColor.NameMany WHSInventoryOnhandReportLine records → zero or one EcoResColor record
EcoResStyle→EcoResStyleJoin on
ProductStyleId = EcoResStyle.NameMany WHSInventoryOnhandReportLine records → zero or one EcoResStyle record
EcoResVersion→EcoResVersionJoin on
ProductVersionId = EcoResVersion.NameMany WHSInventoryOnhandReportLine records → zero or one EcoResVersion record
InventLocation→InventLocationJoin on
WarehouseId = InventLocation.InventLocationIdMany WHSInventoryOnhandReportLine records → zero or one InventLocation record
WHSInventStatus→WHSInventStatusJoin on
InventoryStatusId = WHSInventStatus.InventStatusIdMany WHSInventoryOnhandReportLine records → zero or one WHSInventStatus record
InventBatch→InventBatchJoin on
ItemBatchNumber = InventBatch.inventBatchIdMany WHSInventoryOnhandReportLine records → zero or one InventBatch record
InventSerial→InventSerialJoin on
ItemSerialNumber = InventSerial.InventSerialIdMany WHSInventoryOnhandReportLine records → zero or one InventSerial record
InventOwner_RU→InventOwner_RUJoin on
InventoryOwnerId = InventOwner_RU.InventOwnerIdMany WHSInventoryOnhandReportLine records → zero or one InventOwner_RU record
WMSLocation→WMSLocationJoin on
WarehouseLocationId = WMSLocation.wMSLocationIdMany WHSInventoryOnhandReportLine records → zero or one WMSLocation record
ProductInventDim→InventDimJoin on
ProductInventDimId = InventDim.inventDimIdMany WHSInventoryOnhandReportLine records → exactly one InventDim record
Get this data out
Tables are not exposed directly. These public entities read from WHSInventoryOnhandReportLine; use one of them in Power BI, Power Platform or a data management project.
WHSInventoryOnhandReportLineEntity· 16 fields from this tableWHSSourceSystemInventoryOnhandReportLineEntity· 15 fields from this table
Need help with WHSInventoryOnhandReportLine in a report, an integration or a migration? Talk to Dr Dynamics.