Table

PurchAgreementHeaderDefault

Release purchase order defaulting policy

Holds default values for release purchase orders created from a purchase agreement. The key is the purchase agreement header. Defaults include buyer group, pool, payment method and specification, vendor bank account and invoice account.

Table name
PurchAgreementHeaderDefault
Module
Procurement and sourcing
Table group
WorksheetHeader
Table type
Regular
Data per company
No
Configuration key
TradeBlanketOrder
Primary index
None
Replacement key
PurchAgreementHeaderIdx
Key fields
PurchaseAgreementHeader
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PurchaseAgreementHeaderSystem record ID of the purchase agreement that the defaults belong to.Int64
AgreementHeaderRecId
YesPurchAgreementHeader.RecIdNone
BuyerGroupBuyer group that is used by default.String
ItemBuyerGroupId
NoInventBuyerGroup.GroupPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
BuyerGroupDataAreaIdCompany of the buyer group record.String
DataAreaId
NoInventBuyerGroup.dataAreaIdNone
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
IsIntegrationShows the integration type of the agreement: none or CLM.Enum
PurchAgreementIntegrationType (enum)
NoNone
MethodOfPaymentVendor method of payment that is used by default.String
VendPaymMode
NoVendPaymModeSpec.PaymModeVendPaymModeTable.PaymModePurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntityand 1 more
MethodOfPaymentDataAreaIdCompany of the method of payment record.String
DataAreaId
NoVendPaymModeTable.dataAreaIdNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentSpecificationPayment specification that is used by default.String
VendPaymSpec
NoVendPaymModeSpec.SpecificationPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntityand 1 more
PaymentSpecificationDataAreaIdCompany of the payment specification record.String
DataAreaId
NoVendPaymModeSpec.dataAreaIdNone
PurchasePoolPurchase pool that is used by default.String
PurchPoolId
NoPurchPool.PurchPoolIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
PurchasePoolDataAreaIdCompany of the purchase pool record.String
DataAreaId
NoPurchPool.dataAreaIdNone
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
VendAccount_PSNVendor account for the bank account. Used for public sector.String (20)
VendAccount
NoVendBankAccount.VendAccountNone
VendBankAccountDataAreaID_PSNCompany of the vendor bank account record. Used for public sector.String
DataAreaId
NoVendBankAccount.dataAreaIdNone
VendBankAccountID_PSNIdentifier of the vendor bank account. Used for public sector.String
BankAccountID
NoVendBankAccount.AccountIDPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity
VendorInvoiceAccountVendor account that invoices are sent to by default.String (20)
VendInvoiceAccount
NoVendTable.AccountNumPurchPurchaseAgreementHeaderV2EntityPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementHeaderEntityand 4 more
VendorInvoiceAccountDataAreaIdCompany of the invoice account record.String
DataAreaId
NoVendTable.dataAreaIdNone

Indexes (6)

Relations (7)

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

  • InventBuyerGroup → InventBuyerGroup

    Join on BuyerGroupDataAreaId = InventBuyerGroup.dataAreaId, BuyerGroup = InventBuyerGroup.Group

    Many PurchAgreementHeaderDefault records → zero or one InventBuyerGroup record

  • PurchaseAgreementHeader → PurchAgreementHeader

    Join on PurchaseAgreementHeader = PurchAgreementHeader.RecId

    Zero or one PurchAgreementHeaderDefault record → exactly one PurchAgreementHeader record

  • PurchPool → PurchPool

    Join on PurchasePoolDataAreaId = PurchPool.dataAreaId, PurchasePool = PurchPool.PurchPoolId

    Many PurchAgreementHeaderDefault records → zero or one PurchPool record

  • VendBankAccount → VendBankAccount

    Join on VendBankAccountDataAreaID_PSN = VendBankAccount.dataAreaId, VendBankAccountID_PSN = VendBankAccount.AccountID, VendAccount_PSN = VendBankAccount.VendAccount

    Many PurchAgreementHeaderDefault records → zero or one VendBankAccount record

  • VendInvoiceAccount → VendTable

    Join on VendorInvoiceAccountDataAreaId = VendTable.dataAreaId, VendorInvoiceAccount = VendTable.AccountNum

    Many PurchAgreementHeaderDefault records → zero or one VendTable record

  • VendPaymMode → VendPaymModeTable

    Join on MethodOfPaymentDataAreaId = VendPaymModeTable.dataAreaId, MethodOfPayment = VendPaymModeTable.PaymMode

    Many PurchAgreementHeaderDefault records → zero or one VendPaymModeTable record

  • VendPaymModeSpec → VendPaymModeSpec

    Join on PaymentSpecificationDataAreaId = VendPaymModeSpec.dataAreaId, PaymentSpecification = VendPaymModeSpec.Specification, MethodOfPayment = VendPaymModeSpec.PaymMode

    Many PurchAgreementHeaderDefault records → zero or one VendPaymModeSpec record

Get this data out

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

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

Email sales@drdynamics.co.uk