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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AgreementAgreement header the line belongs to. | Int64AgreementHeaderRecId | Yes | AgreementHeader.RecId | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more |
LineNumberLine number within the agreement. | RealAgreementLineNum_PSN | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 13 more | |
AgreedReleaseLineMaxAmountLargest amount allowed for one release. | RealAgreementMaximumReleaseAmount | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
AgreedReleaseLineMinAmountSmallest amount allowed for one release. | RealAgreementMinimumReleaseAmount | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
AgreementLineProductWhether the line is for an item or a category. | EnumAgreementLineProduct (enum) | No | None | |
AgreementLineTypeCommitment type of the line, such as quantity or value. | EnumCommitmentType (enum) | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
CategoryProcurement category of the line. | Int64RefRecId | No | EcoResCategory.RecId | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more |
CLMIntegrationExternalContractLineIdID of the matching line in an external contract system. | String (40)CLMIntegrationExternalContractLineId | No | CLMIntegrationPurchaseAgreementLineEntityCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntityCLMIntegrationValidateInsertPurchaseAgreementLineEntity | |
CurrencyCurrency code of the line. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DefaultDimensionDefault financial dimension values for the line. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 3 more |
EffectiveDateDate the line becomes effective. | DateEffectiveDate | Yes | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more | |
ExpirationDateDate the line expires. | DateExpirationDate | Yes | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more | |
FinTagFinancial tag linked to the line. | 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 | |
IntraCompanySkipUpdate_RUControls whether internal or intercompany updates are skipped, used for Russia. | EnumInterCompanySkipUpdate (enum) | No | None | |
InventDimDataAreaIdCompany of the linked inventory dimension record. | StringDataAreaId | No | InventDim.dataAreaId | None |
InventDimIdInventory dimension number of the line. | String (20)InventDimId | No | InventDim.inventDimId | None |
IsDeletedYes/no flag showing the record is deleted.low confidence | EnumNoYes (enum) | No | None | |
IsIntegrationShows whether the line comes from an integration, such as CLM. | EnumPurchAgreementIntegrationType (enum) | No | None | |
IsMaxEnforcedYes/no flag showing the maximum is enforced. | EnumIsMaxEnforcedNoYes (enum) | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
IsModifiedYes/no flag showing the line was changed.low confidence | EnumNoYes (enum) | No | None | |
IsPriceInformationMandatoryYes/no flag showing price and discount are fixed. | EnumIsPriceInfoMandatoryNoYes (enum) | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
ItemDataAreaIdCompany of the linked item record. | StringDataAreaId | No | InventTable.dataAreaId | None |
ItemIdItem number of the line. | String (20)ItemId | No | InventTable.ItemId | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 5 more |
KittingBOMIdBill of materials (BOM) ID used for kitting. | String (20)KittingBOMId | No | SalesAgreementLineEntity | |
KittingInventTransIdKit ID linked to the line. | String (20)KittingInventTransId | No | SalesAgreementLineEntity | |
LineDiscountPercentDiscount percentage for the line. | RealAgreementDiscPercent | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjectDataAreaIdCompany of the linked project record. | StringDataAreaId | No | ProjTable.dataAreaId | None |
ProjectProjIdProject ID linked to the line. | String (20)ProjId | No | ProjTable.ProjId | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityPurchPurchaseAgreementLineEntityand 4 more |
PSNCalendarDaysYes/no flag for calendar days versus working days, used for public sector. | EnumCalendarDaysNoYes (enum) | No | None | |
PSNLeadTimeLead time of the line, used for public sector. | Integer | 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 | |
ShipCalendarIdCode of the vendor ship calendar for the line. | StringPurchVendorShipCalendarId | No | PurchPurchaseAgreementLineV2EntityCLMIntegrationPurchaseAgreementLineEntityCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntityand 1 more | |
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 (7)
EcoResCategoryIdxNot unique.
InventTableIdxNot unique.
InventDimIdxInventDimId,InventDimDataAreaIdNot unique.
AgreementHeaderIdxReplacement keyUnique, alternate key.
ProjTableIdxProjectProjId,ProjectDataAreaIdNot unique.
AgreementLineInventDimIdxAgreement,IsDeleted,ExpirationDate,EffectiveDate,ItemDataAreaId,ItemId,InventDimDataAreaId,InventDimId,CategoryNot unique.
CLMIntegrationExternalContractLineIdxCLMIntegrationExternalContractLineIdNot unique.
Relations (8)
Each relation joins AgreementLine to another table on the fields shown.
AgreementHeader→AgreementHeaderJoin on
Agreement = AgreementHeader.RecIdMany AgreementLine records → exactly one AgreementHeader record
Category→EcoResCategoryJoin on
Category = EcoResCategory.RecIdMany AgreementLine records → zero or one EcoResCategory record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany AgreementLine records → zero or one DimensionAttributeValueSet record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany AgreementLine records → zero or one FinTag record
InventDim→InventDimJoin on
InventDimId = InventDim.inventDimId,InventDimDataAreaId = InventDim.dataAreaIdMany AgreementLine records → exactly one InventDim record
InventTable→InventTableJoin on
ItemId = InventTable.ItemId,ItemDataAreaId = InventTable.dataAreaIdMany AgreementLine records → zero or one InventTable record
ProjTable→ProjTableJoin on
ProjectDataAreaId = ProjTable.dataAreaId,ProjectProjId = ProjTable.ProjIdMany AgreementLine records → zero or one ProjTable record
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany 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.
PurchPurchaseAgreementLineV2Entity· 15 fields from this tableCLMIntegrationPurchaseAgreementLineEntity· 16 fields from this tablePurchPurchaseAgreementLineEntity· 14 fields from this tableSalesAgreementLineEntity· 16 fields from this tableCLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntity· 16 fields from this tablePurchPurchaseAgreementLineAIEntity· 12 fields from this tableBudgetReservationAgreementLineEntity_PSN· 4 fields from this tablePurchCommitmentLineEntity· 1 field from this tableRetailSalesAgreementFulfillmentEntity· 1 field from this tableRetailSalesAgreementSalesTransEntity· 1 field from this tableTaxAgreementLineTransTaxInformationEntity· 2 fields from this tablePurchPurchaseAgreementConfirmationLineEntity· 0 fields from this tableSalesAgreementConfirmationLineEntity· 0 fields from this tableCLMIntegrationValidateInsertPurchaseAgreementLineEntity· 16 fields from this tablePurchaseAgreementLineNoteEntity· 1 field from this tableSalesAgreementLineNoteEntity· 1 field from this tablePurchPurchaseAgreementLineFulfillmentEntity· 1 field from this tableSalesAgreementLineFulfillmentEntity· 1 field from this table
Need help with AgreementLine in a report, an integration or a migration? Talk to Dr Dynamics.