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-only
  • EcoResCategory_ProcurementCategory (table EcoResCategory) · OuterJoin to AgreementLine · read-only
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory_ProcurementCategory
  • InventDim · OuterJoin to AgreementLine · read-only
  • PurchAgreementHeader · OuterJoin to AgreementLine · read-only
  • AgreementLine_AgreementLineQuantityCommitment (table AgreementLineQuantityCommitment) · Derived to AgreementLine
  • AgreementLine_AgreementLineVolumeCommitment (table AgreementLineVolumeCommitment) · Derived to AgreementLine

Fields (28)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LineNumberLine number within the agreement.Real
AgreementLineNum_PSN
YesYesAgreementLine.LineNumber
CommitmentTypeCommitment type of the line, such as quantity or value.Enum
CommitmentType
  • ProductQuantity 0
  • ProductVolume 1
  • ProductCategory 2
  • ProductRootCategory 3
NoYesAgreementLine.AgreementLineType
ItemNumberItem number of the line.String (20)
ItemId
NoYesInventTable.ItemIdAgreementLine.ItemId
ProcurementProductCategoryRecIdProcurement category of the line.Int64
RefRecId
NoNo (private)EcoResCategory.RecIdAgreementLine.Category
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ReceivingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
ReceivingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
PriceAgreed price for one price unit on the line.Real
AgreementPricePerUnit
NoYesAgreementLineQuantityCommitment.PricePerUnit
PriceQuantityNumber of units that the unit price applies to.Real
PriceUnit
NoYesAgreementLineQuantityCommitment.PriceUnit
IsPriceAndDiscountFixedYes/no flag showing price and discount are fixed.Enum
IsPriceInfoMandatory
NoYes

Platform enum: values not in the metadata extract.

NoYesAgreementLine.IsPriceInformationMandatory
LineDiscountPercentageDiscount percentage for the line.Real
AgreementDiscPercent
NoYesAgreementLine.LineDiscountPercent
EffectiveDateDate the line becomes effective.Date
EffectiveDate
NoYesAgreementLine.EffectiveDate
ExpirationDateDate the line expires.Date
ExpirationDate
NoYesAgreementLine.ExpirationDate
IsCommitmentMaximumEnforcedYes/no flag showing the maximum is enforced.Enum
IsMaxEnforced
NoYes

Platform enum: values not in the metadata extract.

NoYesAgreementLine.IsMaxEnforced
MinimumReleaseAmountSmallest amount allowed for one release.Real
AgreementMinimumReleaseAmount
NoYesAgreementLine.AgreedReleaseLineMinAmount
MaximumReleaseAmountLargest amount allowed for one release.Real
AgreementMaximumReleaseAmount
NoYesAgreementLine.AgreedReleaseLineMaxAmount
ProjectIdProject ID linked to the line.String (20)
ProjId
NoYesProjTable.ProjIdAgreementLine.ProjectProjId
PurchaseAgreementIdIdentifier of the purchase agreement.String (20)
PurchAgreementId
YesYesPurchAgreementHeader.PurchNumberSequence
AgreementVendorDataAreaIdCompany of the vendor account. It is used together with the vendor account to find the vendor.String
DataAreaId
NoYesPurchAgreementHeader.VendorDataAreaId
AgreementVendorAccountNumberVendor account on the agreement. It points to the vendor record.String (20)
VendAccount
YesYesVendTable.AccountNumPurchAgreementHeader.VendAccount
CommittedQuantityQuantity committed on the agreement line.Real
AgreementCommitedQuantity
NoYesAgreementLineQuantityCommitment.CommitedQuantity
UnitSymbolUnit of measure symbol for the committed quantity. It points to a record in the units table.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolAgreementLineQuantityCommitment.ProductUnitOfMeasure
CommittedAmountMoney amount committed on the agreement line.Real
AgreementCommitedMonetaryAmount
NoYesAgreementLineVolumeCommitment.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.

Need help with PurchPurchaseAgreementLineAIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk