Table
AgreementHeader
Agreement
Holds the header of a purchase agreement. It records status, currency, language, default dimensions and the effective and expiry date ranges. It links to the agreement classification, a person who is the reference and a financial tag. It has no defined key.
- Table name
AgreementHeader- Module
Procurement and sourcing- Table group
WorksheetHeader- Table type
Regular- Data per company
No- Configuration key
TradeBlanketOrder- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (26)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementClassificationClassification of the agreement. | Int64AgreementClassificationRecId | Yes | AgreementClassification.RecId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
AgreementStateStatus of the agreement: on hold, effective or closed. | EnumAgreementState (enum) | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more | |
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 | PurchPurchaseAgreementHeaderAIEntity | |
CurrencyCurrency code of the agreement. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more |
DefaultAgreementLineEffectiveDateDefault effective date for new agreement lines. | DateEffectiveDate | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more | |
DefaultAgreementLineExpirationDateDefault expiry date for new agreement lines. | DateExpirationDate | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more | |
DefaultAgreementLineTypeDefault commitment type for new lines, such as quantity or value. | EnumCommitmentType (enum) | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more | |
DefaultDimensionDefault financial dimension values for the agreement. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
DocumentExternalReferenceReference to an external document. | String (60)AgreementDocumentExternalReference | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more | |
DocumentTitleTitle of the agreement document. | String (20)AgreementDocumentTitle | No | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 3 more | |
EarliestLineEffectiveDateEarliest effective date among the agreement lines. | DateEarliestEffectiveDate | No | None | |
FinTagFinancial tag linked to the agreement. | Int64FinTagRecId | No | FinTag.RecId | None |
InstanceRelationTypeTechnical type ID of the record.low confidence | Int64RelationType | No | None | |
InterCompanySkipUpdateControls whether internal or intercompany updates are skipped. | EnumInterCompanySkipUpdate (enum) | No | None | |
IsDeletedYes/no flag showing the record is deleted.low confidence | EnumNoYes (enum) | No | None | |
LanguageLanguage of the agreement. | String (7)LanguageId | No | LanguageTable.LanguageId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more |
LatestLineExpirationDateLatest expiry date among the agreement lines. | DateLatestExpirationDate | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OriginatorPerson recorded as the reference for the agreement. | Int64RefRecId | No | DirPerson.RecId | PurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 |
Indexes (3)
AgreementClassificationIdxNot unique.
OriginatorIdxNot unique.
CurrencyIdxNot unique.
Relations (6)
Each relation joins AgreementHeader to another table on the fields shown.
AgreementClassification→AgreementClassificationJoin on
AgreementClassification = AgreementClassification.RecIdMany AgreementHeader records → exactly one AgreementClassification record
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany AgreementHeader records → exactly one Currency record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany AgreementHeader records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany AgreementHeader records → zero or one FinTag record
LanguageTable→LanguageTableJoin on
Language = LanguageTable.LanguageId,LanguageTable.LabelFile = 1Many AgreementHeader records → zero or one LanguageTable record
Originator→DirPersonJoin on
Originator = DirPerson.RecIdMany AgreementHeader records → exactly one DirPerson record
Get this data out
Tables are not exposed directly. These public entities read from AgreementHeader; use one of them in Power BI, Power Platform or a data management project.
PurchPurchaseAgreementHeaderV2Entity· 11 fields from this tableCLMIntegrationPurchaseAgreementHeaderEntity· 11 fields from this tablePurchCommitmentLineEntity· 0 fields from this tableSalesAgreementHeaderEntity· 11 fields from this tablePurchPurchaseAgreementConfirmationLineEntity· 0 fields from this tableSalesAgreementConfirmationLineEntity· 0 fields from this tableCLMIntegrationValidationPurchaseAgreementHeaderEntity· 11 fields from this tableDimAttributeAgreementHeaderExt_RUEntity· 1 field from this tablePurchPurchaseAgreementHeaderAIEntity· 8 fields from this table
Need help with AgreementHeader in a report, an integration or a migration? Talk to Dr Dynamics.