Data entity

PurchaseMultiLineDiscountAgreementEntity

Holds purchase multiline discount agreements, which are price agreement records. Each record has a vendor or vendor price group, and a product price group. It also has quantity range, dates, unit, currency, amount and two discount percentages. The key is the record ID.

Entity name
PurchaseMultiLineDiscountAgreementEntity
Public entity name
PurchaseMultiLineDiscountAgreement
OData collection
PurchaseMultiLineDiscountAgreements
Category
Not set
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PriceDisc
Keys
RecordId
Staging table
PurchaseMultiLineDiscountAgreementStaging

Use it in Power BI and Power Platform

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

Fields (19)

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
DiscountAmountThe price or discount amount, in the transaction currency.Real
PriceDiscAmount
NoYesPriceDiscTable.Amount
DiscountCurrencyCodeCurrency code of the amount.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodePriceDiscTable.Currency
DiscountApplicableFromDateDate from which the agreement is valid.Date
FromDate
NoYesPriceDiscTable.FromDate
InventDimIdPoints to the inventory dimensions that the agreement applies to.String (20)
InventDimId
NoNo (private)InventDim.inventDimIdPriceDiscTable.InventDimId
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
ItemRelationThe item, or the item group, that the agreement applies to.String (20)
PriceDiscItemRelation
NoNo (private)InventTable.ItemIdPriceDiscTable.ItemRelation
DiscountPercentage1First discount percentage.Real
DiscPct
NoYesPriceDiscTable.Percent1
DiscountPercentage2Second discount percentage.Real
DiscPct
NoYesPriceDiscTable.Percent2
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
DiscountApplicableToDateDate until which the agreement is valid.Date
ToDate
NoYesPriceDiscTable.ToDate
QuantityUnitSymbolUnit of measure that the agreement uses.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPriceDiscTable.UnitId
RecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesPriceDiscTable.RecId
VendorAccountNumberAccount number of the vendor the agreement applies to.String (30)
VendAccount
NoYescomputed
MultiLineDiscountVendorGroupCodeCode of the price group for vendors that the multiline discount applies to.String
PriceGroupId
NoYescomputed
MultiLineDiscountProductGroupCodeCode of the price group for items that the multiline discount applies to.String
PriceGroupId
NoYescomputed

Foreign keys (6)

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

Email sales@drdynamics.co.uk