Data entity

PurchasePriceAgreementEntity

Holds purchase price agreements, which are price agreement records for items. Each record has a vendor or vendor price group, and an item. It also has price, price unit, currency, lead time, dates and inventory dimensions such as site and warehouse. The key is the record ID.

Entity name
PurchasePriceAgreementEntity
Public entity name
PurchasePriceAgreement
OData collection
PurchasePriceAgreements
Category
Not set
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PriceDisc
Keys
RecordId
Staging table
PurchasePriceAgreementStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchasePriceAgreements
Dataverse virtual table
mserp_purchasepriceagreemententity. 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

  • PriceDiscTable · root
  • InventDim · OuterJoin to PriceDiscTable · read-only
  • InventDistinctProductExpanded · OuterJoin to PriceDiscTable · read-only

Fields (33)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AccountCodeSays whether the agreement applies to one account, a group of accounts or all accounts.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscTable.AccountCode
AccountRelationThe customer or vendor account, or the group, that the agreement applies to.String (20)
PriceDiscAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumPriceDiscTable.AccountRelation
PriceThe price or discount amount, in the transaction currency.Real
PriceDiscAmount
NoYesPriceDiscTable.Amount
IsProcurementLeadTimeUsingWorkingDaysYes/No flag linked to the working-days setting for the lead time.low confidenceEnum
CalendarDays
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscTable.CalendarDays
PriceCurrencyCodeCurrency code of the amount.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodePriceDiscTable.Currency
ProcurementLeadTimeDaysLead time of the agreement, as a whole number.Integer
LeadTimeDelivery
NoYesPriceDiscTable.DeliveryTime
WillDeliveryDateControlDisregardLeadTimeYes/No flag to ignore the lead time for this agreement.Enum
DisregardLeadTime
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscTable.DisregardLeadTime
PriceApplicableFromDateDate from which the agreement is valid.Date
FromDate
NoYesPriceDiscTable.FromDate
InventDimIdUnique number for this combination of dimensions.String (20)
InventDimId
NoNo (private)InventDim.inventDimId
ItemRelationThe item, or the item group, that the agreement applies to.String (20)
PriceDiscItemRelation
NoNo (private)InventTable.ItemIdPriceDiscTable.ItemRelation
FixedPriceChargesCharges added to the price.Real
PriceMarkup
NoYesPriceDiscTable.Markup
AttributeBasedPricingIdPoints to the calculation used for attribute-based pricing.String
PDSCalculationId
NoYesPDSCalculationTable.CalculationIdPriceDiscTable.PDSCalculationId
PurchasePriceQuantityThe quantity that the price refers to.Real
PriceUnit
NoYesPriceDiscTable.PriceUnit
FromQuantityLower limit of the quantity or amount range.Real
AmountQty
NoYesPriceDiscTable.QuantityAmountFrom
ToQuantityUpper limit of the quantity or amount range.Real
AmountQuantityTo
NoYesPriceDiscTable.QuantityAmountTo
WillSearchContinueYes/No flag labelled 'Find next'.Enum
SearchAgain
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscTable.SearchAgain
ModuleSays whether the agreement is for inventory, customers or vendors.Enum
PriceDiscModule
ModuleInventCustVend
  • Invent 0
  • Cust 1
  • Vend 2
NoYesPriceDiscTable.Module
ItemCodeSays whether the agreement applies to one item, an item group or all items.Enum
PriceDiscProductCode
PriceDiscProductCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscTable.ItemCode
RecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesPriceDiscTable.RecId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
PriceSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
PriceWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
VendorAccountNumberAccount number of the vendor the price agreement applies to.String (20)
VendAccount
NoYescomputed
PriceVendorGroupCodeCode of the price group for vendors that the price applies to.String
PriceGroupId
NoYescomputed
ItemNumberNumber of the item the price agreement is for.String (20)
ItemId
NoYescomputed
RelationKind of agreement: purchase or sales price, line, multiline or total discount, or postage discount.Enum
PriceType
  • PricePurch 0
  • LineDiscPurch 1
  • MultiLineDiscPurch 2
  • EndDiscPurch 3
  • PriceSales 4
  • LineDiscSales 5
  • MultiLineDiscSales 6
  • EndDiscSales 7
  • MCRPostageDisc 8
NoYesPriceDiscTable.relation
ProductNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
YesYesEcoResProduct.DisplayProductNumber
QuantityUnitSymbolUnit of measure that the agreement uses.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPriceDiscTable.UnitId
PriceApplicableToDateDate until which the agreement is valid.Date
ToDate
NoYesPriceDiscTable.ToDate

Foreign keys (13)

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

Email sales@drdynamics.co.uk