Table
GUPTmpPriceReportValues
Price report
Temporary table that holds the result rows of a price report. Each row covers one item or variant for a customer and currency. It shows base price, margin adjustments, discounts, sales price and amount for a date range. Rows link to a price report version, an item, a currency and a trade agreement journal.
- Table name
GUPTmpPriceReportValues- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
GlobalUnifiedPricing
Fields (31)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountNumCustomer account the prices are for. | String (20)CustAccount | Yes | None | |
BasePriceBase price of the item. | RealPrice | No | None | |
CalculatedDiscountDiscount value shown in the report. | RealSalesLineDisc | No | None | |
CalculatedMarginMargin value shown in the report. | RealGUPCalculatedMargin | No | None | |
CurrencyCodeCurrency code used for the prices. Points to the currency record. | String (3)CustCurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountAmountListText listing the amounts of the discounts. | String (60)GUPDiscountAmountList | No | None | |
DiscountOffersText listing the discount offers that apply. | String (60)GUPDiscountOffers | No | None | |
DiscountPercentDiscount as a percentage. | RealPercent | No | None | |
DiscountPerInventoryUnitDiscount amount expressed per inventory unit. | RealPrice | No | None | |
FromDateStart date of the period the row applies to. | DateFromDate | Yes | None | |
InventoryUnitUnit of measure used for inventory. | StringUnitOfMeasureSymbol | No | None | |
ItemIdItem number. Points to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
LineAmountSales amount of the line. | RealSalesLineAmount | No | None | |
MarginAmountListText listing the amounts of the margin price adjustments. | String (60)GUPMarginAmountList | No | None | |
MarginOffersText listing the margin price adjustments applied. | String (60)GUPMarginOffers | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProductIdSystem record ID of the product. | Int64EcoResProductRecId | No | None | |
ProductNameName of the product. | String (60)EcoResProductName | No | None | |
QuantityQuantity in units. | RealUnitQty | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReportIdGUID of the price report version the row belongs to. | GuidGUPPriceReportReportId | No | GUPPriceReportVersion.ReportId | None |
SalesPriceSales price per unit. | RealSalesPrice | No | None | |
SalesPricePerInventoryUnitSales price expressed per inventory unit. | RealPrice | No | None | |
SalesUnitUnit of measure used for sales. | StringSalesUnit | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAJournalNumNumber of the trade agreement journal. Points to the trade agreement journal record. | String (20)PriceDiscJournalNum | No | PriceDiscAdmTable.JournalNum | None |
ToDateEnd date of the period the row applies to. | DateToDate | No | None | |
UnitPricePrice per unit. | RealPrice | No | None | |
VariantIdVariant number of the product. | StringRetailVariantId | No | None |
Relations (4)
Each relation joins GUPTmpPriceReportValues to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany GUPTmpPriceReportValues records → exactly one Currency record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdCardinality not set in the metadata.
PriceDiscAdmTable→PriceDiscAdmTableJoin on
TAJournalNum = PriceDiscAdmTable.JournalNumMany GUPTmpPriceReportValues records → zero or one PriceDiscAdmTable record
GUPPriceReportVersion→GUPPriceReportVersionJoin on
ReportId = GUPPriceReportVersion.ReportIdCardinality not set in the metadata.
Get this data out
No public entity reads from GUPTmpPriceReportValues. Its data is only reachable through the application, a custom entity or a database export.
Need help with GUPTmpPriceReportValues in a report, an integration or a migration? Talk to Dr Dynamics.