Data entity

PurchPurchaseAgreementLineEntity

Purchase agreement lines. Each line is identified by the purchase agreement ID and the line number. It holds the commitment type, item or category, product dimensions, committed quantity or amount, price, discount and validity dates. It also holds release limits, default dimensions and the project ID.

Entity name
PurchPurchaseAgreementLineEntity
Public entity name
PurchaseAgreementLine
OData collection
PurchaseAgreementLines
Category
Document
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
TradeBlanketOrder
Keys
PurchaseAgreementId, LineNumber
Staging table
PurchPurchaseAgreementLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseAgreementLines
Dataverse virtual table
mserp_purchpurchaseagreementlineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • AgreementLine · root
  • PurchAgreementHeader · InnerJoin to AgreementLine · read-only
  • CompanyInfo · InnerJoin to PurchAgreementHeader · read-only
  • AgreementLineDefault · OuterJoin to AgreementLine
  • DefaultLedgerDimensionDAVS (table DimensionSetEntity) · OuterJoin to AgreementLine · 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
  • AgreementLine_AgreementLineQuantityCommitment (table AgreementLineQuantityCommitment) · Derived to AgreementLine
  • AgreementLine_AgreementLineVolumeCommitment (table AgreementLineVolumeCommitment) · Derived to AgreementLine

Fields (35)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PurchaseAgreementRecIdAgreement header the line belongs to.Int64
AgreementHeaderRecId
YesNo (private)AgreementHeader.RecIdAgreementLine.Agreement
PurchaseAgreementLegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
PurchaseAgreementIdIdentifier of the purchase agreement.String (20)
PurchAgreementId
YesYesPurchAgreementHeader.PurchNumberSequence
LineNumberLine number within the agreement.Real
AgreementLineNum_PSN
NoYesAgreementLine.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
InventoryProfileIdInventory profile; used for Russia.String
InventProfileId_RU
NoYesInventProfile_RU.InventProfileIdInventDim.InventProfileId_RU
CommittedCatchWeightQuantityCommitted quantity in catch weight units.Real
PdsCWCommitedQuantity
NoYesAgreementLineQuantityCommitment.PdsCWCommitedQuantity
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
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
LineDiscountPercentageDiscount percentage for the line.Real
AgreementDiscPercent
NoYesAgreementLine.LineDiscountPercent
LineDiscountAmountDiscount amount given per unit on the line.Real
UnitDiscountAmountCur
NoYesAgreementLineQuantityCommitment.LineDiscountAmount
IsPriceAndDiscountFixedYes/no flag showing price and discount are fixed.Enum
IsPriceInfoMandatory
NoYes

Platform enum: values not in the metadata extract.

NoYesAgreementLine.IsPriceInformationMandatory
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
DefaultLedgerDimensionDefault financial dimension values for the line.Int64
LedgerDefaultDimensionValueSet
NoNo (private)DimensionAttributeValueSet.RecIdAgreementLine.DefaultDimension
DefaultLedgerDimensionDisplayValueDefault dimensions shown as one text string.String (500)
DimensionDisplayValue
NoYesNone
ProjectIdProject ID linked to the line.String (20)
ProjId
NoYesProjTable.ProjIdAgreementLine.ProjectProjId
ProjectActivityNumberActivity number for the project, pointing to the activity record.String (50)
ProjActivityNumber
NoYessmmActivities.ActivityNumberAgreementLineDefault.ProjectActivityNumber
ProjectCategoryIdProject category, pointing to the project category record.String (30)
ProjCategoryId
NoYesProjCategory.CategoryIdAgreementLineDefault.ProjectCategory

Foreign keys (16)

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 PurchPurchaseAgreementLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk