Data entity

GUPDiscountTimelineEntity

Read-only timeline of calculated discounts from price report versions. Each record covers a report line over a date range (from date and to date). It shows the product, customer, company, site and warehouse. It also shows the discount amount, discount percent per inventory unit and currency.

Entity name
GUPDiscountTimelineEntity
Public entity name
GUPDiscountTimeline
OData collection
GUPDiscountTimelines
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
Yes
Configuration key
None
Keys
ReportLineId, FromDate, ToDate
Staging table
GUPDiscountTimelineDataStaging

Use it in Power BI and Power Platform

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

  • GUPPriceReportVersion · root
  • GUPPriceReportDisplayValues · InnerJoin to GUPPriceReportVersion
  • CustTable · OuterJoin to GUPPriceReportDisplayValues
  • DirPartyTable · OuterJoin to CustTable
  • DirPartyTable_DirPerson (table DirPerson) · Derived to DirPartyTable
  • DirPartyTable_DirOrganizationBase (table DirOrganizationBase) · Derived to DirPartyTable
  • DirPartyTable_DirOrganization (table DirOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_OMInternalOrganization (table OMInternalOrganization) · Derived to DirPartyTable_DirOrganizationBase
  • DirPartyTable_OMOperatingUnit (table OMOperatingUnit) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_CompanyInfo (table CompanyInfo) · Derived to DirPartyTable_OMInternalOrganization
  • DirPartyTable_OMTeam (table OMTeam) · Derived to DirPartyTable_OMInternalOrganization
  • GUPPriceReportGranularityPeriodDays · InnerJoin to GUPPriceReportDisplayValues · read-only
  • EcoResProduct · InnerJoin to GUPPriceReportDisplayValues
  • EcoResProduct_EcoResDistinctProduct (table EcoResDistinctProduct) · Derived to EcoResProduct
  • EcoResProduct_EcoResDistinctProductVariant (table EcoResDistinctProductVariant) · Derived to EcoResProduct_EcoResDistinctProduct
  • EcoResProduct_EcoResProductMaster (table EcoResProductMaster) · Derived to EcoResProduct
  • EcoResDistinctProductVariant · OuterJoin to GUPPriceReportDisplayValues
  • EcoResProductMaster (table EcoResProduct) · OuterJoin to GUPPriceReportDisplayValues
  • HeaderInventDim (table InventDim) · OuterJoin to GUPPriceReportVersion
  • RetailChannelView · OuterJoin to GUPPriceReportVersion
  • CompanyInfo · InnerJoin to GUPPriceReportVersion

Fields (20)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ReportLineIdUnique ID of the report row.GuidYesYesGUPPriceReportDisplayValues.TransactionId
ReportIdID of the price report version that the row belongs to.Guid
GUPPriceReportReportId
YesYesGUPPriceReportVersion.ReportIdGUPPriceReportDisplayValues.ReportId
ReportDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
YesYesGUPPriceReportDisplayValues.DataAreaId
ReportDataAreaPartyIdUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
ReportDateTimeDate and time the report was run.UtcDateTime
ExecutionTime
YesYesGUPPriceReportVersion.ExecutionTime
FromDateA single day that belongs to the period.DateYesYesGUPPriceReportGranularityPeriodDays.PeriodDayDate
ToDateA single day that belongs to the period.DateYesYesGUPPriceReportGranularityPeriodDays.PeriodDayDate
ProductNumberThe product number shown for the report line.String (70)
EcoResProductDisplayProductNumber
YesYescomputed
ProductVariantNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
YesYesEcoResProduct.DisplayProductNumber
AccountNumberUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum
AccountPartyIdUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
SalesUnitSales unit of measure.String
SalesUnit
NoYesGUPPriceReportDisplayValues.SalesUnit
SalesUnitDiscountDiscount value in the report row.Real
SalesLineDisc
NoYesGUPPriceReportDisplayValues.CalculatedDiscount
InventoryUnitInventory unit of measure.String
UnitOfMeasureSymbol
NoYesGUPPriceReportDisplayValues.InventoryUnit
InventoryUnitDiscountDiscount amount for one inventory unit.Real
Price
NoYesGUPPriceReportDisplayValues.DiscountPerInventoryUnit
DiscountPercentDiscount as a percentage.Real
Percent
NoYesGUPPriceReportDisplayValues.DiscountPercent
CurrencyCodeCurrency code used for the row.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeGUPPriceReportDisplayValues.CurrencyCode
SiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
WarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ChannelThe description of the retail channel linked to the record.String (60)
Description
NoYescomputed

Foreign keys (4)

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

Email sales@drdynamics.co.uk