Table

PurchTableVersion

Purchase order versions

Stores version records for purchase orders. Each row ties one purchase order, in one company, to the date and time of a change. The key is the purchase order ID, its company and the version date and time.

Table name
PurchTableVersion
Module
Procurement and sourcing
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
PurchVersionIdx
Key fields
PurchId, PurchIdDataAreaId, VersionDateTime
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchIdID of the purchase order that the version belongs to.String (20)
PurchIdBase
YesPurchTable.PurchIdNone
PurchIdDataAreaIdCompany (legal entity) of the purchase order.String
DataAreaId
YesPurchTable.dataAreaIdNone
VersionDateTimeDate and time of the change that created this version.UtcDateTime
VersioningTimeStamp
YesVRMPurchaseOrderConfirmationHeaderEntityVRMPurchaseOrderHeaderEntityVRMPurchaseOrderLineEntity
IsArchivedYes or No flag that shows whether the version is archived.Enum
VersioningIsVersionArchived
NoYes (enum)
NoVRMPurchaseOrderConfirmationHeaderEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProformaYes or No flag for a pro forma version.Enum
NoYes (enum)
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 (1)

Relations (1)

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

  • PurchaseOrder → PurchTable

    Join on PurchIdDataAreaId = PurchTable.dataAreaId, PurchId = PurchTable.PurchId

    Many PurchTableVersion records → exactly one PurchTable record

Get this data out

Tables are not exposed directly. These public entities read from PurchTableVersion; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk