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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SubPurchIdPurchase order ID of the linked sub order.String (20)
PurchId
YesPurchTable.PurchIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MainPurchIdPurchase order ID of the main order that the sub order is linked to.String (20)
PurchIdBlanket
YesPurchTable.PurchIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (2)

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

  • MainPurchTable → PurchTable

    Join on MainPurchId = PurchTable.PurchId

    Many PurchTableLinks records → exactly one PurchTable record

  • PurchTable → PurchTable

    Join on SubPurchId = PurchTable.PurchId

    Zero 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.

Email sales@drdynamics.co.uk