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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InventoryGtdIdGTD number of the stock. Used for Russia.String (30)
InventGTDId_RU
NoWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
InventoryOwnerIdOwner of the stock. Points to the inventory owner record.String (40)
InventOwnerId
NoInventOwner_RU.InventOwnerIdWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
InventoryProfileIdInventory profile of the stock. Used for Russia.String
InventProfileId_RU
NoWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
InventoryStatusIdInventory status of the stock. Points to the inventory status record.String
WHSInventStatusId
NoWHSInventStatus.InventStatusIdWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ItemBatchNumberBatch number of the stock.String (20)
InventBatchId
NoWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ItemIdItem number. Points to the item record.String (20)
ItemId
YesInventTable.ItemIdWHSInventoryOnhandReportLineEntity
ItemSerialNumberSerial number of the stock.String (20)
InventSerialId
NoWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
OnHandQuantityOn-hand quantity for this line.Real
InventQtyOnHand
YesWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductColorIdProduct colour of the item. Points to the colour by name.String
EcoResItemColorName
NoEcoResColor.NameWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ProductConfigurationIdProduct configuration of the item. Points to the configuration by name.String (50)
EcoResItemConfigurationName
NoEcoResConfiguration.NameWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ProductInventDimIdInventory dimension number for the line. Points to the inventory dimension record.String (20)
InventDimId
NoInventDim.inventDimIdNone
ProductSizeIdProduct size of the item. Points to the size by name.String
EcoResItemSizeName
NoEcoResSize.NameWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ProductStyleIdProduct style of the item. Points to the style by name.String
EcoResItemStyleName
NoEcoResStyle.NameWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
ProductVersionIdProduct version of the item. Points to the version by name.String
EcoResItemVersionName
NoEcoResVersion.NameWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportIdIdentifier of the on-hand inventory report that this line belongs to.Guid
WHSInventoryOnhandReportId
YesWHSInventoryOnhandReport.ReportIdWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WarehouseIdWarehouse that holds the stock. Points to the warehouse record.String
InventLocationId
NoInventLocation.InventLocationIdWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity
WarehouseLocationIdLocation in the warehouse where the stock is held.String
WMSLocationId
NoWHSInventoryOnhandReportLineEntityWHSSourceSystemInventoryOnhandReportLineEntity

Indexes (1)

Relations (14)

Each relation joins WHSInventoryOnhandReportLine to another table on the fields shown.

  • WHSInventoryOnhandReport → WHSInventoryOnhandReport

    Join on ReportId = WHSInventoryOnhandReport.ReportId

    Many WHSInventoryOnhandReportLine records → exactly one WHSInventoryOnhandReport record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many WHSInventoryOnhandReportLine records → exactly one InventTable record

  • EcoResConfiguration → EcoResConfiguration

    Join on ProductConfigurationId = EcoResConfiguration.Name

    Many WHSInventoryOnhandReportLine records → zero or one EcoResConfiguration record

  • EcoResSize → EcoResSize

    Join on ProductSizeId = EcoResSize.Name

    Many WHSInventoryOnhandReportLine records → zero or one EcoResSize record

  • EcoResColor → EcoResColor

    Join on ProductColorId = EcoResColor.Name

    Many WHSInventoryOnhandReportLine records → zero or one EcoResColor record

  • EcoResStyle → EcoResStyle

    Join on ProductStyleId = EcoResStyle.Name

    Many WHSInventoryOnhandReportLine records → zero or one EcoResStyle record

  • EcoResVersion → EcoResVersion

    Join on ProductVersionId = EcoResVersion.Name

    Many WHSInventoryOnhandReportLine records → zero or one EcoResVersion record

  • InventLocation → InventLocation

    Join on WarehouseId = InventLocation.InventLocationId

    Many WHSInventoryOnhandReportLine records → zero or one InventLocation record

  • WHSInventStatus → WHSInventStatus

    Join on InventoryStatusId = WHSInventStatus.InventStatusId

    Many WHSInventoryOnhandReportLine records → zero or one WHSInventStatus record

  • InventBatch → InventBatch

    Join on ItemBatchNumber = InventBatch.inventBatchId

    Many WHSInventoryOnhandReportLine records → zero or one InventBatch record

  • InventSerial → InventSerial

    Join on ItemSerialNumber = InventSerial.InventSerialId

    Many WHSInventoryOnhandReportLine records → zero or one InventSerial record

  • InventOwner_RU → InventOwner_RU

    Join on InventoryOwnerId = InventOwner_RU.InventOwnerId

    Many WHSInventoryOnhandReportLine records → zero or one InventOwner_RU record

  • WMSLocation → WMSLocation

    Join on WarehouseLocationId = WMSLocation.wMSLocationId

    Many WHSInventoryOnhandReportLine records → zero or one WMSLocation record

  • ProductInventDim → InventDim

    Join on ProductInventDimId = InventDim.inventDimId

    Many 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.

Need help with WHSInventoryOnhandReportLine in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk