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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementClassificationClassification of the agreement.Int64
AgreementClassificationRecId
YesAgreementClassification.RecIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more
AgreementStateStatus of the agreement: on hold, effective or closed.Enum
AgreementState (enum)
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
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
NoPurchPurchaseAgreementHeaderAIEntity
CurrencyCurrency code of the agreement.String (3)
CurrencyCode
YesCurrency.CurrencyCodePurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
DefaultAgreementLineEffectiveDateDefault effective date for new agreement lines.Date
EffectiveDate
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
DefaultAgreementLineExpirationDateDefault expiry date for new agreement lines.Date
ExpirationDate
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
DefaultAgreementLineTypeDefault commitment type for new lines, such as quantity or value.Enum
CommitmentType (enum)
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
DefaultDimensionDefault financial dimension values for the agreement.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more
DocumentExternalReferenceReference to an external document.String (60)
AgreementDocumentExternalReference
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more
DocumentTitleTitle of the agreement document.String (20)
AgreementDocumentTitle
NoPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 3 more
EarliestLineEffectiveDateEarliest effective date among the agreement lines.Date
EarliestEffectiveDate
NoNone
FinTagFinancial tag linked to the agreement.Int64
FinTagRecId
NoFinTag.RecIdNone
InstanceRelationTypeTechnical type ID of the record.low confidenceInt64
RelationType
NoNone
InterCompanySkipUpdateControls whether internal or intercompany updates are skipped.Enum
InterCompanySkipUpdate (enum)
NoNone
IsDeletedYes/no flag showing the record is deleted.low confidenceEnum
NoYes (enum)
NoNone
LanguageLanguage of the agreement.String (7)
LanguageId
NoLanguageTable.LanguageIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 2 more
LatestLineExpirationDateLatest expiry date among the agreement lines.Date
LatestExpirationDate
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OriginatorPerson recorded as the reference for the agreement.Int64
RefRecId
NoDirPerson.RecIdPurchPurchaseAgreementHeaderV2EntityCLMIntegrationPurchaseAgreementHeaderEntitySalesAgreementHeaderEntityand 1 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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 (3)

Relations (6)

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

  • AgreementClassification → AgreementClassification

    Join on AgreementClassification = AgreementClassification.RecId

    Many AgreementHeader records → exactly one AgreementClassification record

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many AgreementHeader records → exactly one Currency record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many AgreementHeader records → zero or one DimensionAttributeValueSet record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many AgreementHeader records → zero or one FinTag record

  • LanguageTable → LanguageTable

    Join on Language = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many AgreementHeader records → zero or one LanguageTable record

  • Originator → DirPerson

    Join on Originator = DirPerson.RecId

    Many 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.

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

Email sales@drdynamics.co.uk