Table

GUPPriceReportDisplayValues

Price report

Holds the result rows of a price report. Each row is identified by a transaction ID and shows a customer, item or variant, dates, base price, margin, discount and sales price values. It links to the report version, currency, item and trade agreement journal.

Table name
GUPPriceReportDisplayValues
Module
Cross-module and platform
Table group
TransactionHeader
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
TransactionIdIdx
Replacement key
TransactionIdIdx
Key fields
TransactionId
Model
GlobalUnifiedPricing

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TransactionIdUnique ID of the report row.GuidNoGUPDiscountTimelineEntityGUPPriceTimelineEntity
AccountNumCustomer account for the row.String (20)
CustAccount
YesGUPPriceReportDataEntity
BasePriceBase price value.Real
Price
NoGUPPriceReportDataEntity
CalculatedDiscountDiscount value in the report row.Real
SalesLineDisc
NoGUPPriceReportDataEntityGUPDiscountTimelineEntity
CalculatedMarginMargin value in the report row.Real
GUPCalculatedMargin
NoGUPPriceReportDataEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency code used for the row.String (3)
CustCurrencyCode
NoCurrency.CurrencyCodeGUPPriceReportDataEntityGUPDiscountTimelineEntityGUPPriceTimelineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoGUPDiscountTimelineEntityGUPPriceTimelineEntity
DiscountAmountListText listing the discount amounts.String (60)
GUPDiscountAmountList
NoGUPPriceReportDataEntity
DiscountOffersText listing the discounts applied.String (60)
GUPDiscountOffers
NoGUPPriceReportDataEntity
DiscountPercentDiscount as a percentage.Real
Percent
NoGUPPriceReportDataEntityGUPDiscountTimelineEntity
DiscountPerInventoryUnitDiscount amount for one inventory unit.Real
Price
NoGUPPriceReportDataEntityGUPDiscountTimelineEntity
FromDateStart date of the period.Date
FromDate
YesGUPPriceReportDataEntityGUPPriceTimelineEntity
GranularityPeriodStartDateStart date of the time period (granularity) the row falls in.DateNoNone
InventoryUnitInventory unit of measure.String
UnitOfMeasureSymbol
NoGUPPriceReportDataEntityGUPDiscountTimelineEntityGUPPriceTimelineEntity
ItemIdItem number for the row.String (20)
ItemId
NoInventTable.ItemIdGUPPriceReportDataEntity
LineAmountNet amount of the line.Real
SalesLineAmount
NoGUPPriceReportDataEntity
MarginAmountListText listing the margin adjustment amounts.String (60)
GUPMarginAmountList
NoGUPPriceReportDataEntity
MarginOffersText listing the margin price adjustments applied.String (60)
GUPMarginOffers
NoGUPPriceReportDataEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProductIdRecord ID of the product.Int64
EcoResProductRecId
NoNone
ProductNameName of the product.String (60)
EcoResProductName
NoGUPPriceReportDataEntity
QuantityQuantity of units.Real
UnitQty
NoGUPPriceReportDataEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReportIdID of the price report version that the row belongs to.Guid
GUPPriceReportReportId
NoGUPPriceReportVersion.ReportIdGUPPriceReportDataEntityGUPDiscountTimelineEntityGUPPriceTimelineEntity
SalesPriceSales price for one unit.Real
SalesPrice
NoGUPPriceReportDataEntity
SalesPricePerInventoryUnitSales price for one inventory unit.Real
Price
NoGUPPriceReportDataEntityGUPPriceTimelineEntity
SalesUnitSales unit of measure.String
SalesUnit
NoGUPPriceReportDataEntityGUPDiscountTimelineEntityGUPPriceTimelineEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TAJournalNumTrade agreement journal that the row refers to.String (20)
PriceDiscJournalNum
NoPriceDiscAdmTable.JournalNumGUPPriceReportDataEntity
ToDateEnd date of the period.Date
ToDate
NoGUPPriceReportDataEntityGUPPriceTimelineEntity
UnitPriceUnit price value.Real
Price
NoGUPPriceReportDataEntityGUPPriceTimelineEntity
VariantIdProduct variant number.String
RetailVariantId
NoGUPPriceReportDataEntity
VariantNameName of the product variant.String (60)
EcoResProductName
NoNone

Indexes (2)

  • TransactionIdIdxPrimary indexReplacement key

    TransactionId

    Unique, alternate key.

  • ReportIdIdx

    ReportId

    Not unique.

Relations (4)

Each relation joins GUPPriceReportDisplayValues to another table on the fields shown.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many GUPPriceReportDisplayValues records → exactly one Currency record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many GUPPriceReportDisplayValues records → exactly one InventTable record

  • GUPPriceReportVersion → GUPPriceReportVersion

    Join on ReportId = GUPPriceReportVersion.ReportId

    Many GUPPriceReportDisplayValues records → exactly one GUPPriceReportVersion record

  • PriceDiscAdmTable → PriceDiscAdmTable

    Join on TAJournalNum = PriceDiscAdmTable.JournalNum

    Many GUPPriceReportDisplayValues records → zero or one PriceDiscAdmTable record

Get this data out

Tables are not exposed directly. These public entities read from GUPPriceReportDisplayValues; use one of them in Power BI, Power Platform or a data management project.

Need help with GUPPriceReportDisplayValues in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk