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· rootGUPPriceReportDisplayValues· InnerJoin toGUPPriceReportVersionCustTable· OuterJoin toGUPPriceReportDisplayValuesDirPartyTable· OuterJoin toCustTableDirPartyTable_DirPerson(tableDirPerson) · Derived toDirPartyTableDirPartyTable_DirOrganizationBase(tableDirOrganizationBase) · Derived toDirPartyTableDirPartyTable_DirOrganization(tableDirOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMInternalOrganization(tableOMInternalOrganization) · Derived toDirPartyTable_DirOrganizationBaseDirPartyTable_OMOperatingUnit(tableOMOperatingUnit) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_CompanyInfo(tableCompanyInfo) · Derived toDirPartyTable_OMInternalOrganizationDirPartyTable_OMTeam(tableOMTeam) · Derived toDirPartyTable_OMInternalOrganizationGUPPriceReportGranularityPeriodDays· InnerJoin toGUPPriceReportDisplayValues· read-onlyEcoResProduct· InnerJoin toGUPPriceReportDisplayValuesEcoResProduct_EcoResDistinctProduct(tableEcoResDistinctProduct) · Derived toEcoResProductEcoResProduct_EcoResDistinctProductVariant(tableEcoResDistinctProductVariant) · Derived toEcoResProduct_EcoResDistinctProductEcoResProduct_EcoResProductMaster(tableEcoResProductMaster) · Derived toEcoResProductEcoResDistinctProductVariant· OuterJoin toGUPPriceReportDisplayValuesEcoResProductMaster(tableEcoResProduct) · OuterJoin toGUPPriceReportDisplayValuesHeaderInventDim(tableInventDim) · OuterJoin toGUPPriceReportVersionRetailChannelView· OuterJoin toGUPPriceReportVersionCompanyInfo· InnerJoin toGUPPriceReportVersion
Fields (20)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ReportLineIdUnique ID of the report row. | Guid | Yes | Yes | GUPPriceReportDisplayValues.TransactionId | |
ReportIdID of the price report version that the row belongs to. | GuidGUPPriceReportReportId | Yes | Yes | GUPPriceReportVersion.ReportId | GUPPriceReportDisplayValues.ReportId |
ReportDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | Yes | Yes | GUPPriceReportDisplayValues.DataAreaId | |
ReportDataAreaPartyIdUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber | |
ReportDateTimeDate and time the report was run. | UtcDateTimeExecutionTime | Yes | Yes | GUPPriceReportVersion.ExecutionTime | |
FromDateA single day that belongs to the period. | Date | Yes | Yes | GUPPriceReportGranularityPeriodDays.PeriodDayDate | |
ToDateA single day that belongs to the period. | Date | Yes | Yes | GUPPriceReportGranularityPeriodDays.PeriodDayDate | |
ProductNumberThe product number shown for the report line. | String (70)EcoResProductDisplayProductNumber | Yes | Yes | computed | |
ProductVariantNumberProduct number shown to users. It identifies the product. | String (70)EcoResProductDisplayProductNumber | Yes | Yes | EcoResProduct.DisplayProductNumber | |
AccountNumberUnique customer account number. It identifies the customer record and is the table key. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | |
AccountPartyIdUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
SalesUnitSales unit of measure. | StringSalesUnit | No | Yes | GUPPriceReportDisplayValues.SalesUnit | |
SalesUnitDiscountDiscount value in the report row. | RealSalesLineDisc | No | Yes | GUPPriceReportDisplayValues.CalculatedDiscount | |
InventoryUnitInventory unit of measure. | StringUnitOfMeasureSymbol | No | Yes | GUPPriceReportDisplayValues.InventoryUnit | |
InventoryUnitDiscountDiscount amount for one inventory unit. | RealPrice | No | Yes | GUPPriceReportDisplayValues.DiscountPerInventoryUnit | |
DiscountPercentDiscount as a percentage. | RealPercent | No | Yes | GUPPriceReportDisplayValues.DiscountPercent | |
CurrencyCodeCurrency code used for the row. | String (3)CustCurrencyCode | No | Yes | Currency.CurrencyCode | GUPPriceReportDisplayValues.CurrencyCode |
SiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
WarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ChannelThe description of the retail channel linked to the record. | String (60)Description | No | Yes | computed |
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.
ReportId→GUPPriceReportVersion.ReportId(key of GUPPriceReportVersion)Many GUPPriceReportDisplayValues records → exactly one GUPPriceReportVersion record
GUPPriceReportVersion details: see GUPPriceTimelineEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many GUPPriceReportDisplayValues records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
SiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
WarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
Need help with GUPDiscountTimelineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.