Table

InventTransOriginPurchLine

Relationship between the purchase order line and the inventory transactions originator

Links a purchase order line to an inventory transactions originator. The key is the company plus the inventory transaction lot ID of the line. It lets you join purchase lines to inventory transaction records.

Table name
InventTransOriginPurchLine
Module
Inventory
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
PurchLineIdx
Key fields
PurchLineDataAreaId, PurchLineInventTransId
Model
Foundation

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchLineDataAreaIdCompany of the linked purchase order line.String
DataAreaId
YesPurchLine.dataAreaIdNone
PurchLineInventTransIdLot ID that identifies the purchase order line within its company.String (20)
InventTransId
YesPurchLine.InventTransIdNone
InventTransOriginPoints to the inventory transactions originator linked to the purchase order line.Int64
InventTransOriginId
YesInventTransOrigin.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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 (2)

Relations (2)

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

  • InventTransOrigin → InventTransOrigin

    Join on InventTransOrigin = InventTransOrigin.RecId

    Zero or one InventTransOriginPurchLine record → exactly one InventTransOrigin record

  • PurchLine → PurchLine

    Join on PurchLineDataAreaId = PurchLine.dataAreaId, PurchLineInventTransId = PurchLine.InventTransId

    Zero or one InventTransOriginPurchLine record → exactly one PurchLine record

Get this data out

No public entity reads from InventTransOriginPurchLine. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk