Data entity

PurchOpenPurchasePriceJournalLineEntity

Lines of open purchase trade agreement journals that hold vendor prices. Each line is identified by the journal number and line number. It covers the vendor or price group, the item and its dimensions, the validity dates, the quantity range, the price and the currency. It also has lead time fields.

Entity name
PurchOpenPurchasePriceJournalLineEntity
Public entity name
OpenPurchasePriceJournalLine
OData collection
OpenPurchasePriceJournalLines
Category
Not set
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
PriceDisc
Keys
TradeAgreementJournalNumber, LineNumber
Staging table
PurchOpenPurchasePriceJournalLineStaging

Use it in Power BI and Power Platform

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

  • PriceDiscAdmTrans · root
  • InventDim · InnerJoin to PriceDiscAdmTrans · read-only
  • PriceDiscAdmTable · InnerJoin to PriceDiscAdmTrans · read-only

Fields (32)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TradeAgreementJournalNumberNumber of the trade agreement journal that holds this line.String (20)
PriceDiscJournalNum
NoYesPriceDiscAdmTable.JournalNumPriceDiscAdmTrans.JournalNum
LineNumberPosition number of the line in the journal.Real
LineNum
NoYesPriceDiscAdmTrans.LineNum
PriceVendorGroupCodeCode of the vendor price group that the price line applies to.String
PriceGroupId
NoYescomputed
VendorAccountNumberAccount number of the vendor that the price line applies to.String (20)
VendAccount
NoYescomputed
ItemNumberNumber of the item that the price line applies to.String (20)
ItemId
NoYescomputed
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
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
FromQuantityLower limit of the quantity or amount range for the line.Real
AmountQty
NoYesPriceDiscAdmTrans.QuantityAmountFrom
ToQuantityUpper limit of the quantity or amount range for the line.Real
AmountQuantityTo
NoYesPriceDiscAdmTrans.QuantityAmountTo
QuantityUnitSymbolUnit of measure that the line uses.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.SymbolPriceDiscAdmTrans.UnitId
PriceApplicableFromDateDate from which the line is valid.Date
FromDate
NoYesPriceDiscAdmTrans.FromDate
PriceApplicableToDateDate until which the line is valid.Date
ToDate
NoYesPriceDiscAdmTrans.ToDate
PriceThe price or discount amount on the line, in the currency given on the line.Real
PriceDiscAmount
NoYesPriceDiscAdmTrans.Amount
PriceCurrencyCodeCurrency code of the amount on the line.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePriceDiscAdmTrans.Currency
AttributeBasedPricingIdPoints to the calculation used for attribute-based pricing.String
PDSCalculationId
NoYesPDSCalculationTable.CalculationIdPriceDiscAdmTrans.PDSCalculationId
FixedPriceChargesCharges added to the price.Real
PriceMarkup
NoYesPriceDiscAdmTrans.Markup
PurchasePriceQuantityThe quantity that the price refers to.Real
PriceUnit
NoYesPriceDiscAdmTrans.PriceUnit
ProcurementLeadTimeDaysLead time of the line, as a whole number.Integer
LeadTime
NoYesPriceDiscAdmTrans.DeliveryTime
WillDeliveryDateControlDisregardLeadTimeYes/No flag to ignore the lead time for this line.Enum
DisregardLeadTime
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.DisregardLeadTime
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.

NoYesPriceDiscAdmTrans.CalendarDays
WillSearchContinueYes/No flag labelled 'Find next'.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesPriceDiscAdmTrans.SearchAgain
ProcessingLogLog text for the line, up to 255 characters.String (255)
PriceJournalLogTrans
NoYesPriceDiscAdmTrans.Log
AccountRelationThe customer or vendor account, or the group, that the line applies to.String (20)
PriceDiscAccountRelation
NoNo (private)CustTable.AccountNumVendTable.AccountNumPriceDiscAdmTrans.AccountRelation
AccountCodeSays whether the line applies to one account, a group of accounts or all accounts.Enum
PriceDiscPartyCode
PriceDiscPartyCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscAdmTrans.AccountCode
ItemCodeSays whether the line applies to one item, an item group or all items.Enum
PriceDiscProductCode
PriceDiscProductCodeType
  • Table 0
  • GroupId 1
  • All 2
NoNo (private)PriceDiscAdmTrans.ItemCode
ItemRelationThe item, or the item group, that the line applies to.String (20)
PriceDiscItemRelation
NoNo (private)InventTable.ItemIdPriceDiscAdmTrans.ItemRelation
JournalNumUnique number of the journal.String (20)
PriceDiscJournalNum
YesNo (private)PriceDiscAdmTable.JournalNum

Foreign keys (14)

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

Email sales@drdynamics.co.uk