Data entity
CLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntity
Entity used by the contract management (CLM) integration to check purchase agreement lines before they are updated or deleted. It is keyed by purchase agreement ID and line number, and carries the same line details as the agreement line entity. It adds a field for the validation result. It is not available in data management.
- Entity name
CLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntity- Public entity name
CLMIntegrationValidateUpdateDeletePurchaseAgreementLine- OData collection
CLMIntegrationValidateUpdateDeletePurchaseAgreementLines- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
No- Configuration key
CLMIntegration- Keys
PurchaseAgreementId, LineNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/CLMIntegrationValidateUpdateDeletePurchaseAgreementLines- Dataverse virtual table
mserp_clmintegrationvalidateupdatedeletepurchaseagreementlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
AgreementLine· rootPurchAgreementHeader· InnerJoin toAgreementLine· read-onlyCompanyInfo· InnerJoin toPurchAgreementHeader· read-onlyPurchAgreementHeaderDefault· OuterJoin toPurchAgreementHeaderAgreementLineDefault· OuterJoin toAgreementLineDefaultLedgerDimensionDAVS(tableDimensionSetEntity) · OuterJoin toAgreementLine· read-onlyEcoResCategory_ProcurementCategory(tableEcoResCategory) · OuterJoin toAgreementLine· read-onlyEcoResCategory_PCClass(tablePCClass) · Derived toEcoResCategory_ProcurementCategoryInventDim· OuterJoin toAgreementLine· read-onlyAgreementLine_AgreementLineQuantityCommitment(tableAgreementLineQuantityCommitment) · Derived toAgreementLineAgreementLine_AgreementLineVolumeCommitment(tableAgreementLineVolumeCommitment) · Derived toAgreementLine
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PurchaseAgreementRecIdAgreement header the line belongs to. | Int64AgreementHeaderRecId | Yes | No (private) | AgreementHeader.RecId | AgreementLine.Agreement |
PurchaseAgreementLegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
PurchaseAgreementIdIdentifier of the purchase agreement. | String (20)PurchAgreementId | No | Yes | PurchAgreementHeader.PurchNumberSequence | |
ExternalContractIdIdentifier of the matching contract in the external contract management system. | String (40)CLMIntegrationExternalContractId | No | Yes | PurchAgreementHeader.CLMIntegrationExternalContractId | |
LineNumberLine number within the agreement. | RealAgreementLineNum_PSN | No | Yes | AgreementLine.LineNumber | |
ExternalContractLineIdID of the matching line in an external contract system. | String (40)CLMIntegrationExternalContractLineId | No | Yes | AgreementLine.CLMIntegrationExternalContractLineId | |
CommitmentTypeCommitment type of the line, such as quantity or value. | Enum
| No | Yes | AgreementLine.AgreementLineType | |
ItemNumberItem number of the line. | String (20)ItemId | No | Yes | InventTable.ItemId | AgreementLine.ItemId |
ProductVariantNumberProduct number of the item variant on the agreement line, in its display format. | String (70)EcoResProductDisplayProductNumber | No | Yes | virtual | |
ProcurementProductCategoryRecIdProcurement category of the line. | Int64RefRecId | No | No (private) | EcoResCategory.RecId | AgreementLine.Category |
ProcurementProductCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ReceivingSiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
ReceivingWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
InventoryProfileIdInventory profile; used for Russia. | StringInventProfileId_RU | No | Yes | InventProfile_RU.InventProfileId | InventDim.InventProfileId_RU |
CommittedCatchWeightQuantityCommitted quantity in catch weight units. | RealPdsCWCommitedQuantity | No | Yes | AgreementLineQuantityCommitment.PdsCWCommitedQuantity | |
CommittedQuantityQuantity committed on the agreement line. | RealAgreementCommitedQuantity | No | Yes | AgreementLineQuantityCommitment.CommitedQuantity | |
UnitSymbolUnit of measure symbol for the committed quantity. It points to a record in the units table. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | AgreementLineQuantityCommitment.ProductUnitOfMeasure |
CommittedAmountMoney amount committed on the agreement line. | RealAgreementCommitedMonetaryAmount | No | Yes | AgreementLineVolumeCommitment.CommitedAmount | |
PriceAgreed price for one price unit on the line. | RealAgreementPricePerUnit | No | Yes | AgreementLineQuantityCommitment.PricePerUnit | |
PriceQuantityNumber of units that the unit price applies to. | RealPriceUnit | No | Yes | AgreementLineQuantityCommitment.PriceUnit | |
LineDiscountPercentageDiscount percentage for the line. | RealAgreementDiscPercent | No | Yes | AgreementLine.LineDiscountPercent | |
LineDiscountAmountDiscount amount given per unit on the line. | RealUnitDiscountAmountCur | No | Yes | AgreementLineQuantityCommitment.LineDiscountAmount | |
IsPriceAndDiscountFixedYes/no flag showing price and discount are fixed. | EnumIsPriceInfoMandatory
| No | Yes | AgreementLine.IsPriceInformationMandatory | |
EffectiveDateDate the line becomes effective. | DateEffectiveDate | No | Yes | AgreementLine.EffectiveDate | |
ExpirationDateDate the line expires. | DateExpirationDate | No | Yes | AgreementLine.ExpirationDate | |
IsCommitmentMaximumEnforcedYes/no flag showing the maximum is enforced. | EnumIsMaxEnforced
| No | Yes | AgreementLine.IsMaxEnforced | |
MinimumReleaseAmountSmallest amount allowed for one release. | RealAgreementMinimumReleaseAmount | No | Yes | AgreementLine.AgreedReleaseLineMinAmount | |
MaximumReleaseAmountLargest amount allowed for one release. | RealAgreementMaximumReleaseAmount | No | Yes | AgreementLine.AgreedReleaseLineMaxAmount | |
DefaultLedgerDimensionDefault financial dimension values for the line. | Int64LedgerDefaultDimensionValueSet | No | No (private) | DimensionAttributeValueSet.RecId | AgreementLine.DefaultDimension |
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None | |
ProjectIdProject ID linked to the line. | String (20)ProjId | No | Yes | ProjTable.ProjId | AgreementLine.ProjectProjId |
ProjectActivityNumberActivity number for the project, pointing to the activity record. | String (50)ProjActivityNumber | No | Yes | smmActivities.ActivityNumber | AgreementLineDefault.ProjectActivityNumber |
ProjectCategoryIdProject category, pointing to the project category record. | String (30)ProjCategoryId | No | Yes | ProjCategory.CategoryId | AgreementLineDefault.ProjectCategory |
AgreementVendorAccountNumberVendor account on the agreement. It points to the vendor record. | String (20)VendAccount | No | Yes | VendTable.AccountNum | PurchAgreementHeader.VendAccount |
InvoiceVendorAccountNumberVendor account that invoices are sent to by default. | String (20)VendInvoiceAccount | No | Yes | VendTable.AccountNum | PurchAgreementHeaderDefault.VendorInvoiceAccount |
ShipCalendarIdCode of the vendor ship calendar for the line. | StringPurchVendorShipCalendarId | No | Yes | AgreementLine.ShipCalendarId | |
ValidationResultFree-text note holding the outcome of the validation. | String (-1)VendMemo | No | Yes | virtual |
Foreign keys (18)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
PurchaseAgreementRecId→AgreementHeader.RecId(key of AgreementHeader)Many AgreementLine records → exactly one AgreementHeader record
AgreementHeader details: see CLMIntegrationPurchaseAgreementHeaderEntity, PurchPurchaseAgreementHeaderV2Entity, SalesAgreementHeaderEntity
ItemNumber→InventTable.ItemId(key of InventTable)Join on all of:
ItemNumber=InventTable.ItemId,ItemDataAreaId(table field, not in this entity) =InventTable.dataAreaIdMany AgreementLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ProcurementProductCategoryRecId→EcoResCategory.RecId(key of EcoResCategory)Many AgreementLine records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ReceivingSiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
ReceivingWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
InventoryProfileId→InventProfile_RU.InventProfileId(key of InventProfile_RU)Many InventDim records → zero or one InventProfile_RU record
InventProfile_RU details: see InventInventoryProfileEntity, InventInventoryProfileRelationEntity, InventInventoryProfileCustomerVendorLedgerEntity
UnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many AgreementLineQuantityCommitment records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
DefaultLedgerDimension→DimensionAttributeValueSet.RecId(key of DimensionAttributeValueSet)Many AgreementLine records → zero or one DimensionAttributeValueSet record
DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity
ProjectId→ProjTable.ProjId(key of ProjTable)Join on all of:
ProjectId=ProjTable.ProjId,ProjectDataAreaId(table field, not in this entity) =ProjTable.dataAreaIdMany AgreementLine records → zero or one ProjTable record
ProjTable details: see ProjectEntity, ProjProjectV2Entity, ProjCDSProjectEntity
ProjectActivityNumber→smmActivities.ActivityNumber(key of smmActivities)Join on all of:
ProjectActivityNumber=smmActivities.ActivityNumber,ProjectActivityNumberDataAreaId(table field, not in this entity) =smmActivities.dataAreaIdMany AgreementLineDefault records → zero or one smmActivities record
smmActivities details: see DualWriteSmmActivitiesEntity, DualWriteCustomerActivitiesEntity, DualWriteCustomerActivitiesV2Entity
ProjectCategoryId→ProjCategory.CategoryId(key of ProjCategory)Join on all of:
ProjectCategoryId=ProjCategory.CategoryId,ProjectCategoryDataAreaId(table field, not in this entity) =ProjCategory.dataAreaIdMany AgreementLineDefault records → zero or one ProjCategory record
ProjCategory details: see ProjectCategoryEntity, ProjControlCostGroupCategoriesEntity, ResResourceSetupDataEntity
AgreementVendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
AgreementVendorAccountNumber=VendTable.AccountNum,VendorDataAreaId(table field, not in this entity) =VendTable.dataAreaIdMany PurchAgreementHeader records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
InvoiceVendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
InvoiceVendorAccountNumber=VendTable.AccountNum,VendorInvoiceAccountDataAreaId(table field, not in this entity) =VendTable.dataAreaIdMany PurchAgreementHeaderDefault records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
Need help with CLMIntegrationValidateUpdateDeletePurchaseAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.