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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchLineDataAreaIdCompany of the linked purchase order line. | StringDataAreaId | Yes | PurchLine.dataAreaId | None |
PurchLineInventTransIdLot ID that identifies the purchase order line within its company. | String (20)InventTransId | Yes | PurchLine.InventTransId | None |
InventTransOriginPoints to the inventory transactions originator linked to the purchase order line. | Int64InventTransOriginId | Yes | InventTransOrigin.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PurchLineIdxReplacement keyPurchLineDataAreaId,PurchLineInventTransIdUnique, alternate key.
InventTransOriginIdxUnique, alternate key.
Relations (2)
Each relation joins InventTransOriginPurchLine to another table on the fields shown.
InventTransOrigin→InventTransOriginJoin on
InventTransOrigin = InventTransOrigin.RecIdZero or one InventTransOriginPurchLine record → exactly one InventTransOrigin record
PurchLine→PurchLineJoin on
PurchLineDataAreaId = PurchLine.dataAreaId,PurchLineInventTransId = PurchLine.InventTransIdZero 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.