Table

WHSPurchLine

Purchase Order Additional Fields

Holds extra warehouse fields for purchase order lines, with one row per line. It is keyed by the inventory transaction ID (lot ID) and links to the purchase line and its inventory transaction origin.

Table name
WHSPurchLine
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 (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
InventTransIdLot ID that ties this row to one purchase order line and its inventory transaction origin.String (20)
InventTransId
YesInventTransOrigin.InventTransIdPurchLine.InventTransIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CrossDockYes/No flag showing whether the line is set up for cross docking.Enum
WHSCrossDock
NoYes (enum)
NoPurchPurchaseOrderLineV2EntityPurchPurchaseOrderLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QtyLeftToLoadQuantity on the line that is still waiting to be loaded.Real
WHSQtyLeftToLoad
NoNone
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
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 WHSPurchLine to another table on the fields shown.

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Zero or one WHSPurchLine record → exactly one InventTransOrigin record

  • PurchLine → PurchLine

    Join on InventTransId = PurchLine.InventTransId

    Zero or one WHSPurchLine record → exactly one PurchLine record

Get this data out

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

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

Email sales@drdynamics.co.uk