Table

PurchParmSubTable

Purchase order header - updating table

Header update table that links an update parameter ID and line reference to an original purchase order. It is keyed by parameter ID, line reference and purchase order. It can also point to an accounting event.

Table name
PurchParmSubTable
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
ParmTableRefIdx
Replacement key
ParmTableRefIdx
Key fields
ParmId, TableRefId, OrigPurchId
Model
Foundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParmIdParameter ID that groups the update records. It links to the purchase order update table.String (20)
ParmId
YesPurchParmTable.ParmIdNone
TableRefIdLine reference within the update. It links to the purchase order update table.String (20)
TradeLineRefId
YesPurchParmTable.TableRefIdNone
OrigPurchIdOriginal purchase order.String (20)
PurchIdOrig
YesPurchTable.PurchIdNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PurchNameName on the purchase order.String (60)
PurchName
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
SourceAccountingEventSystem record ID of the accounting event.Int64
AccountingEventRecId
NoAccountingEvent.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (3)

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

  • PurchParmTable → PurchParmTable

    Join on ParmId = PurchParmTable.ParmId, TableRefId = PurchParmTable.TableRefId

    Many PurchParmSubTable records → exactly one PurchParmTable record

  • PurchTable → PurchTable

    Join on OrigPurchId = PurchTable.PurchId

    Many PurchParmSubTable records → exactly one PurchTable record

  • AccountingEvent → AccountingEvent

    Join on SourceAccountingEvent = AccountingEvent.RecId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk