Data entity
GUPMarginComponentPriceAdjustmentEntity
Holds margin component price adjustments, keyed by offer ID. Each is stored as a retail discount offer. It adds price attribute group and header fields from the pricing rule conditions.
- Entity name
GUPMarginComponentPriceAdjustmentEntity- Public entity name
MarginComponentPriceAdjustment- OData collection
MarginComponentPriceAdjustments- Category
Not set- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OfferId- Staging table
GUPMarginComponentPriceAdjustmentStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MarginComponentPriceAdjustments- Dataverse virtual table
mserp_gupmargincomponentpriceadjustmententity. 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
RetailDiscountOffer· rootGUPPricingRuleConditionView· OuterJoin toRetailDiscountOffer
Fields (37)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ConcurrencyModeRule for how this discount works together with other discounts, such as exclusive, best price or compounded. | Enum
| No | Yes | RetailPeriodicDiscount.ConcurrencyMode | |
CurrencyCodeCurrency of the discount. Points to a currency record. | String (3)CurrencyCode | Yes | Yes | Currency.CurrencyCode | RetailPeriodicDiscount.CurrencyCode |
DateValidationTypeWhether date validation is standard or advanced. | Enum
| No | Yes | RetailPeriodicDiscount.DateValidationType | |
DescriptionFree-text description of the discount. | String (-1)RetailMemo | No | Yes | RetailPeriodicDiscount.Description | |
DisclaimerFree-text disclaimer for the discount. | String (-1)RetailMemo | No | Yes | RetailPeriodicDiscount.Disclaimer | |
DiscountPercentValuePercentage taken off the price. | RealRetailDiscountPercentValue | No | Yes | RetailPeriodicDiscount.DiscountPercentValue | |
IsDiscountCodeRequiredShows whether a coupon code must be entered for the discount. | EnumRetailDiscountCodeRequired
| No | Yes | RetailPeriodicDiscount.IsDiscountCodeRequired | |
NameName of the discount. | String (60)Name | No | Yes | RetailPeriodicDiscount.Name | |
OfferIdIdentifier of the discount. | String (20)RetailOfferIdEx3 | Yes | Yes | RetailPeriodicDiscount.OfferId | |
StatusShows whether the discount is enabled or disabled. | Enum
| No | Yes | RetailPeriodicDiscount.Status | |
ValidationPeriodIdDiscount validation period that sets when the discount is valid. | StringRetailDiscountValidationPeriodId | No | Yes | RetailDiscountValidationPeriod.periodId | RetailPeriodicDiscount.ValidationPeriodId |
ValidFromFirst date on which the discount is valid. | DateValidFromDate | No | Yes | RetailPeriodicDiscount.ValidFrom | |
ValidToLast date on which the discount is valid. | DateValidToDate | No | Yes | RetailPeriodicDiscount.ValidTo | |
PrintDescriptionOnFiscalReceiptText that can be printed on the fiscal receipt for this discount. | String (50)RetailPrintDescriptionOnFiscalReceipt | No | Yes | RetailPeriodicDiscount.PrintDescriptionOnFiscalReceipt | |
PriceAttributeGroupNameName of the price attribute group used for the adjustment. | String (60)GUPPricingAttributeGroupName | No | Yes | virtual | |
PriceAttributeGroupTypeWhether the header applies to a group or to all. | EnumGUPPricingAttributeGroupCodeHeader
| No | Yes | RetailPeriodicDiscount.HeaderPricingGroupCode | |
PriceComponentCodeNameName of the price component code. Points to a price component code record. | String (80)GUPPriceComponentCodeName | Yes | Yes | GUPPriceComponentCode.Name | RetailPeriodicDiscount.PriceComponentCodeName |
CombinationHeaderStructureText that describes the price attribute detail of the header combination. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | computed in view | |
Header1Attribute value for the first header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header2Attribute value for the second header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header3Attribute value for the third header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header4Attribute value for the fourth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header5Attribute value for the fifth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header6Attribute value for the sixth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header7Attribute value for the seventh header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header8Attribute value for the eighth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header9Attribute value for the ninth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header10Attribute value for the tenth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header11Attribute value for the eleventh header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header12Attribute value for the twelfth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header13Attribute value for the thirteenth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header14Attribute value for the fourteenth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Header15Attribute value for the fifteenth header condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
HeaderPricingRuleSystem record ID of the price rule used at header level. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | RetailPeriodicDiscount.HeaderPricingRule |
IsTierConfigurationEnabledYes/No flag that turns quantity tiers on for the offer. | EnumGUPTierConfigurationEnabled
| No | Yes | RetailDiscountOffer.IsTierConfigurationEnabled | |
TierPriceAdjustmentMethodShows how the tier adjustment is expressed: percentage, amount or price. | EnumGUPRetailDiscountOfferPriceAdjustmentMethod
| No | Yes | RetailDiscountOffer.TierPriceAdjustmentMethod | |
HeaderExclusionExclusion setting for the header conditions.low confidence | String (400)GUPAttributeExclusion | No | Yes | virtual |
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.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many RetailPeriodicDiscount records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
ValidationPeriodId→RetailDiscountValidationPeriod.periodId(key of RetailDiscountValidationPeriod)Many RetailPeriodicDiscount records → zero or one RetailDiscountValidationPeriod record
RetailDiscountValidationPeriod details: see RetailDiscountValidationPeriodEntity
PriceComponentCodeName→GUPPriceComponentCode.Name(key of GUPPriceComponentCode)Many RetailPeriodicDiscount records → exactly one GUPPriceComponentCode record
GUPPriceComponentCode details: see GUPPriceComponentCodeEntity, GUPPriceComponentCodeCombinationEntity, GUPPriceComponentCodeSetupEntity
HeaderPricingRule→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one RetailPeriodicDiscount record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
Need help with GUPMarginComponentPriceAdjustmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.