Data entity
PurchPurchaseAgreementLineAIEntity
Read-only purchase agreement lines. Each line is identified by the line number and the purchase agreement ID. It holds the commitment type, item or category, product dimensions, price, discount, validity dates and committed quantity or amount. The name suggests it is meant for AI scenarios, and it is not available in data management.
- Entity name
PurchPurchaseAgreementLineAIEntity- Public entity name
PurchaseAgreementLineForAI- OData collection
PurchaseAgreementLinesForAI- Category
Not set- Module
Procurement and sourcing- Read-only
Yes- Data management enabled
No- Configuration key
TradeBlanketOrder- Keys
LineNumber, PurchaseAgreementId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseAgreementLinesForAI- Dataverse virtual table
mserp_purchpurchaseagreementlineaientity. 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· root · read-onlyEcoResCategory_ProcurementCategory(tableEcoResCategory) · OuterJoin toAgreementLine· read-onlyEcoResCategory_PCClass(tablePCClass) · Derived toEcoResCategory_ProcurementCategoryInventDim· OuterJoin toAgreementLine· read-onlyPurchAgreementHeader· OuterJoin toAgreementLine· read-onlyAgreementLine_AgreementLineQuantityCommitment(tableAgreementLineQuantityCommitment) · Derived toAgreementLineAgreementLine_AgreementLineVolumeCommitment(tableAgreementLineVolumeCommitment) · Derived toAgreementLine
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LineNumberLine number within the agreement. | RealAgreementLineNum_PSN | Yes | Yes | AgreementLine.LineNumber | |
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 |
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 |
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 | |
IsPriceAndDiscountFixedYes/no flag showing price and discount are fixed. | EnumIsPriceInfoMandatory
| No | Yes | AgreementLine.IsPriceInformationMandatory | |
LineDiscountPercentageDiscount percentage for the line. | RealAgreementDiscPercent | No | Yes | AgreementLine.LineDiscountPercent | |
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 | |
ProjectIdProject ID linked to the line. | String (20)ProjId | No | Yes | ProjTable.ProjId | AgreementLine.ProjectProjId |
PurchaseAgreementIdIdentifier of the purchase agreement. | String (20)PurchAgreementId | Yes | Yes | PurchAgreementHeader.PurchNumberSequence | |
AgreementVendorDataAreaIdCompany of the vendor account. It is used together with the vendor account to find the vendor. | StringDataAreaId | No | Yes | PurchAgreementHeader.VendorDataAreaId | |
AgreementVendorAccountNumberVendor account on the agreement. It points to the vendor record. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | PurchAgreementHeader.VendAccount |
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 |
Foreign keys (12)
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.
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
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
AgreementVendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
AgreementVendorAccountNumber=VendTable.AccountNum,AgreementVendorDataAreaId=VendTable.dataAreaIdMany PurchAgreementHeader records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
UnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many AgreementLineQuantityCommitment records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
Need help with PurchPurchaseAgreementLineAIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.