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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PurchaseAgreementHeaderSystem record ID of the purchase agreement that the defaults belong to. | Int64AgreementHeaderRecId | Yes | PurchAgreementHeader.RecId | None |
BuyerGroupBuyer group that is used by default. | StringItemBuyerGroupId | No | InventBuyerGroup.Group | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity |
BuyerGroupDataAreaIdCompany of the buyer group record. | StringDataAreaId | No | InventBuyerGroup.dataAreaId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
IsIntegrationShows the integration type of the agreement: none or CLM. | EnumPurchAgreementIntegrationType (enum) | No | None | |
MethodOfPaymentVendor method of payment that is used by default. | StringVendPaymMode | No | VendPaymModeSpec.PaymModeVendPaymModeTable.PaymMode | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntityand 1 more |
MethodOfPaymentDataAreaIdCompany of the method of payment record. | StringDataAreaId | No | VendPaymModeTable.dataAreaId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentSpecificationPayment specification that is used by default. | StringVendPaymSpec | No | VendPaymModeSpec.Specification | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntityand 1 more |
PaymentSpecificationDataAreaIdCompany of the payment specification record. | StringDataAreaId | No | VendPaymModeSpec.dataAreaId | None |
PurchasePoolPurchase pool that is used by default. | StringPurchPoolId | No | PurchPool.PurchPoolId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity |
PurchasePoolDataAreaIdCompany of the purchase pool record. | StringDataAreaId | No | PurchPool.dataAreaId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendAccount_PSNVendor account for the bank account. Used for public sector. | String (20)VendAccount | No | VendBankAccount.VendAccount | None |
VendBankAccountDataAreaID_PSNCompany of the vendor bank account record. Used for public sector. | StringDataAreaId | No | VendBankAccount.dataAreaId | None |
VendBankAccountID_PSNIdentifier of the vendor bank account. Used for public sector. | StringBankAccountID | No | VendBankAccount.AccountID | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntityCLMIntegrationValidationPurchaseAgreementHeaderEntity |
VendorInvoiceAccountVendor account that invoices are sent to by default. | String (20)VendInvoiceAccount | No | VendTable.AccountNum | PurchPurchaseAgreementHeaderV2EntityPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementHeaderEntityand 4 more |
VendorInvoiceAccountDataAreaIdCompany of the invoice account record. | StringDataAreaId | No | VendTable.dataAreaId | None |
Indexes (6)
InventBuyerGroupIdxBuyerGroupDataAreaId,BuyerGroupNot unique.
DefaultVendorInvoiceAccountIdxVendorInvoiceAccountDataAreaId,VendorInvoiceAccountNot unique.
PurchPoolIdxPurchasePoolDataAreaId,PurchasePoolNot unique.
VendPaymModeTableIdxMethodOfPaymentDataAreaId,MethodOfPaymentNot unique.
VendPaymModeSpecIdxPaymentSpecificationDataAreaId,PaymentSpecification,MethodOfPaymentNot unique.
PurchAgreementHeaderIdxReplacement keyUnique, alternate key.
Relations (7)
Each relation joins PurchAgreementHeaderDefault to another table on the fields shown.
InventBuyerGroup→InventBuyerGroupJoin on
BuyerGroupDataAreaId = InventBuyerGroup.dataAreaId,BuyerGroup = InventBuyerGroup.GroupMany PurchAgreementHeaderDefault records → zero or one InventBuyerGroup record
PurchaseAgreementHeader→PurchAgreementHeaderJoin on
PurchaseAgreementHeader = PurchAgreementHeader.RecIdZero or one PurchAgreementHeaderDefault record → exactly one PurchAgreementHeader record
PurchPool→PurchPoolJoin on
PurchasePoolDataAreaId = PurchPool.dataAreaId,PurchasePool = PurchPool.PurchPoolIdMany PurchAgreementHeaderDefault records → zero or one PurchPool record
VendBankAccount→VendBankAccountJoin on
VendBankAccountDataAreaID_PSN = VendBankAccount.dataAreaId,VendBankAccountID_PSN = VendBankAccount.AccountID,VendAccount_PSN = VendBankAccount.VendAccountMany PurchAgreementHeaderDefault records → zero or one VendBankAccount record
VendInvoiceAccount→VendTableJoin on
VendorInvoiceAccountDataAreaId = VendTable.dataAreaId,VendorInvoiceAccount = VendTable.AccountNumMany PurchAgreementHeaderDefault records → zero or one VendTable record
VendPaymMode→VendPaymModeTableJoin on
MethodOfPaymentDataAreaId = VendPaymModeTable.dataAreaId,MethodOfPayment = VendPaymModeTable.PaymModeMany PurchAgreementHeaderDefault records → zero or one VendPaymModeTable record
VendPaymModeSpec→VendPaymModeSpecJoin on
PaymentSpecificationDataAreaId = VendPaymModeSpec.dataAreaId,PaymentSpecification = VendPaymModeSpec.Specification,MethodOfPayment = VendPaymModeSpec.PaymModeMany 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.
PurchPurchaseAgreementHeaderV2Entity· 6 fields from this tablePurchPurchaseAgreementLineV2Entity· 1 field from this tableCLMIntegrationPurchaseAgreementHeaderEntity· 6 fields from this tableCLMIntegrationPurchaseAgreementLineEntity· 1 field from this tableCLMIntegrationValidateInsertPurchaseAgreementLineEntity· 1 field from this tableCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntity· 1 field from this tableCLMIntegrationValidationPurchaseAgreementHeaderEntity· 6 fields from this tablePurchPurchaseAgreementHeaderAIEntity· 2 fields from this table
Need help with PurchAgreementHeaderDefault in a report, an integration or a migration? Talk to Dr Dynamics.