Table
PurchTableLinks
Interattached purchase orders
Links purchase orders that are attached to each other. Each record is keyed by the sub purchase order and points to a main purchase order. Both columns refer to the purchase order table.
- Table name
PurchTableLinks- Module
Procurement and sourcing- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
PurchTable- Replacement key
None- Key fields
SubPurchId- Model
Foundation
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SubPurchIdPurchase order ID of the linked sub order. | String (20)PurchId | Yes | PurchTable.PurchId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MainPurchIdPurchase order ID of the main order that the sub order is linked to. | String (20)PurchIdBlanket | Yes | PurchTable.PurchId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PurchTablePrimary indexUnique, alternate key.
PurchTableMainUnique.
Relations (2)
Each relation joins PurchTableLinks to another table on the fields shown.
MainPurchTable→PurchTableJoin on
MainPurchId = PurchTable.PurchIdMany PurchTableLinks records → exactly one PurchTable record
PurchTable→PurchTableJoin on
SubPurchId = PurchTable.PurchIdZero or one PurchTableLinks record → exactly one PurchTable record
Get this data out
No public entity reads from PurchTableLinks. Its data is only reachable through the application, a custom entity or a database export.
Need help with PurchTableLinks in a report, an integration or a migration? Talk to Dr Dynamics.