Table

WHSSalesLine

Sales Line Additional Fields

Adds warehouse quantities to a sales order line, keyed by the lot ID of the line. It shows amounts such as quantity on wave, packing quantity, quantity left to load and released quantity. It links to the inventory transaction origin and the sales line.

Table name
WHSSalesLine
Module
Inventory
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
WHSandTMS
Primary index
InventTransIdx
Replacement key
InventTransIdx
Key fields
InventTransId
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventTransIdLot ID that links this record to the sales line and its inventory transaction origin.String (20)
InventTransId
YesInventTransOrigin.InventTransIdSalesLine.InventTransIdWHSSalesLineBiEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoWHSSalesLineBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoWHSSalesLineBiEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoWHSSalesLineBiEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoWHSSalesLineBiEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoWHSSalesLineBiEntity
OnWaveYes or no flag showing whether the line is on a wave.Enum
WHSOnWave
NoYes (enum)
NoWHSSalesLineBiEntity
OnWaveQtyQuantity of the line that is on a wave.Real
WHSOnWaveQty
NoWHSSalesLineBiEntity
PackingQtyQuantity of the line for packing.Real
WHSPackingQty
NoWHSSalesLineBiEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyLeftToLoadQuantity of the line that still has to be loaded.Real
WHSQtyLeftToLoad
NoWHSSalesLineBiEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoWHSSalesLineBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoWHSSalesLineBiEntity
ReleasedQtyQuantity of the line that has been released.Real
WHSReleasedQty
NoWHSSalesLineBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • InventTransIdxPrimary indexReplacement key

    InventTransId

    Unique, alternate key.

Relations (2)

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

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Zero or one WHSSalesLine record → exactly one InventTransOrigin record

  • SalesLine → SalesLine

    Join on InventTransId = SalesLine.InventTransId

    Zero or one WHSSalesLine record → exactly one SalesLine record

Get this data out

Tables are not exposed directly. These public entities read from WHSSalesLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk