Table

AgreementLine

Agreement line

Holds the lines of a purchase agreement. The key is the agreement and the line number. A line is for an item or a procurement category and sets dates, commitment type, release limits and discount. It can link to a project, inventory dimensions and a financial tag.

Table name
AgreementLine
Module
Procurement and sourcing
Table group
WorksheetLine
Table type
Regular
Data per company
No
Configuration key
TradeBlanketOrder
Primary index
None
Replacement key
AgreementHeaderIdx
Key fields
Agreement, LineNumber
Model
Foundation

Fields (38)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AgreementAgreement header the line belongs to.Int64
AgreementHeaderRecId
YesAgreementHeader.RecIdPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
LineNumberLine number within the agreement.Real
AgreementLineNum_PSN
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 13 more
AgreedReleaseLineMaxAmountLargest amount allowed for one release.Real
AgreementMaximumReleaseAmount
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
AgreedReleaseLineMinAmountSmallest amount allowed for one release.Real
AgreementMinimumReleaseAmount
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
AgreementLineProductWhether the line is for an item or a category.Enum
AgreementLineProduct (enum)
NoNone
AgreementLineTypeCommitment type of the line, such as quantity or value.Enum
CommitmentType (enum)
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
CategoryProcurement category of the line.Int64
RefRecId
NoEcoResCategory.RecIdPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
CLMIntegrationExternalContractLineIdID of the matching line in an external contract system.String (40)
CLMIntegrationExternalContractLineId
NoCLMIntegrationPurchaseAgreementLineEntityCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntityCLMIntegrationValidateInsertPurchaseAgreementLineEntity
CurrencyCurrency code of the line.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DefaultDimensionDefault financial dimension values for the line.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 3 more
EffectiveDateDate the line becomes effective.Date
EffectiveDate
YesPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more
ExpirationDateDate the line expires.Date
ExpirationDate
YesPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more
FinTagFinancial tag linked to the line.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
IntraCompanySkipUpdate_RUControls whether internal or intercompany updates are skipped, used for Russia.Enum
InterCompanySkipUpdate (enum)
NoNone
InventDimDataAreaIdCompany of the linked inventory dimension record.String
DataAreaId
NoInventDim.dataAreaIdNone
InventDimIdInventory dimension number of the line.String (20)
InventDimId
NoInventDim.inventDimIdNone
IsDeletedYes/no flag showing the record is deleted.low confidenceEnum
NoYes (enum)
NoNone
IsIntegrationShows whether the line comes from an integration, such as CLM.Enum
PurchAgreementIntegrationType (enum)
NoNone
IsMaxEnforcedYes/no flag showing the maximum is enforced.Enum
IsMaxEnforced
NoYes (enum)
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
IsModifiedYes/no flag showing the line was changed.low confidenceEnum
NoYes (enum)
NoNone
IsPriceInformationMandatoryYes/no flag showing price and discount are fixed.Enum
IsPriceInfoMandatory
NoYes (enum)
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
ItemDataAreaIdCompany of the linked item record.String
DataAreaId
NoInventTable.dataAreaIdNone
ItemIdItem number of the line.String (20)
ItemId
NoInventTable.ItemIdPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more
KittingBOMIdBill of materials (BOM) ID used for kitting.String (20)
KittingBOMId
NoSalesAgreementLineEntity
KittingInventTransIdKit ID linked to the line.String (20)
KittingInventTransId
NoSalesAgreementLineEntity
LineDiscountPercentDiscount percentage for the line.Real
AgreementDiscPercent
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjectDataAreaIdCompany of the linked project record.String
DataAreaId
NoProjTable.dataAreaIdNone
ProjectProjIdProject ID linked to the line.String (20)
ProjId
NoProjTable.ProjIdPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more
PSNCalendarDaysYes/no flag for calendar days versus working days, used for public sector.Enum
CalendarDays
NoYes (enum)
NoNone
PSNLeadTimeLead time of the line, used for public sector.IntegerNoNone
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
ShipCalendarIdCode of the vendor ship calendar for the line.String
PurchVendorShipCalendarId
NoPurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntityand 1 more
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 (7)

Relations (8)

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

  • AgreementHeader → AgreementHeader

    Join on Agreement = AgreementHeader.RecId

    Many AgreementLine records → exactly one AgreementHeader record

  • Category → EcoResCategory

    Join on Category = EcoResCategory.RecId

    Many AgreementLine records → zero or one EcoResCategory record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many AgreementLine records → zero or one DimensionAttributeValueSet record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many AgreementLine records → zero or one FinTag record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId, InventDimDataAreaId = InventDim.dataAreaId

    Many AgreementLine records → exactly one InventDim record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId, ItemDataAreaId = InventTable.dataAreaId

    Many AgreementLine records → zero or one InventTable record

  • ProjTable → ProjTable

    Join on ProjectDataAreaId = ProjTable.dataAreaId, ProjectProjId = ProjTable.ProjId

    Many AgreementLine records → zero or one ProjTable record

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many AgreementLine records → exactly one Currency record

Get this data out

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

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

Email sales@drdynamics.co.uk