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 · root
  • GUPPricingRuleConditionView · OuterJoin to RetailDiscountOffer

Fields (37)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ConcurrencyModeRule for how this discount works together with other discounts, such as exclusive, best price or compounded.Enum
RetailDiscountConcurrency
  • Exclusive 0
  • BestPrice 1
  • Compounded 2
  • AlwaysApply 3
  • PriceAttributeCombinationPriority 4
NoYesRetailPeriodicDiscount.ConcurrencyMode
CurrencyCodeCurrency of the discount. Points to a currency record.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeRetailPeriodicDiscount.CurrencyCode
DateValidationTypeWhether date validation is standard or advanced.Enum
RetailDateValidationTypeBase
  • Standard 1
  • Advanced 0
NoYesRetailPeriodicDiscount.DateValidationType
DescriptionFree-text description of the discount.String (-1)
RetailMemo
NoYesRetailPeriodicDiscount.Description
DisclaimerFree-text disclaimer for the discount.String (-1)
RetailMemo
NoYesRetailPeriodicDiscount.Disclaimer
DiscountPercentValuePercentage taken off the price.Real
RetailDiscountPercentValue
NoYesRetailPeriodicDiscount.DiscountPercentValue
IsDiscountCodeRequiredShows whether a coupon code must be entered for the discount.Enum
RetailDiscountCodeRequired
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPeriodicDiscount.IsDiscountCodeRequired
NameName of the discount.String (60)
Name
NoYesRetailPeriodicDiscount.Name
OfferIdIdentifier of the discount.String (20)
RetailOfferIdEx3
YesYesRetailPeriodicDiscount.OfferId
StatusShows whether the discount is enabled or disabled.Enum
RetailDisabledEnabled
  • Disabled 0
  • Enabled 1
NoYesRetailPeriodicDiscount.Status
ValidationPeriodIdDiscount validation period that sets when the discount is valid.String
RetailDiscountValidationPeriodId
NoYesRetailDiscountValidationPeriod.periodIdRetailPeriodicDiscount.ValidationPeriodId
ValidFromFirst date on which the discount is valid.Date
ValidFromDate
NoYesRetailPeriodicDiscount.ValidFrom
ValidToLast date on which the discount is valid.Date
ValidToDate
NoYesRetailPeriodicDiscount.ValidTo
PrintDescriptionOnFiscalReceiptText that can be printed on the fiscal receipt for this discount.String (50)
RetailPrintDescriptionOnFiscalReceipt
NoYesRetailPeriodicDiscount.PrintDescriptionOnFiscalReceipt
PriceAttributeGroupNameName of the price attribute group used for the adjustment.String (60)
GUPPricingAttributeGroupName
NoYesvirtual
PriceAttributeGroupTypeWhether the header applies to a group or to all.Enum
GUPPricingAttributeGroupCodeHeader
GUPGroupAll
  • Group 0
  • All 1
NoYesRetailPeriodicDiscount.HeaderPricingGroupCode
PriceComponentCodeNameName of the price component code. Points to a price component code record.String (80)
GUPPriceComponentCodeName
YesYesGUPPriceComponentCode.NameRetailPeriodicDiscount.PriceComponentCodeName
CombinationHeaderStructureText that describes the price attribute detail of the header combination.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Header1Attribute value for the first header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header2Attribute value for the second header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header3Attribute value for the third header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header4Attribute value for the fourth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header5Attribute value for the fifth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header6Attribute value for the sixth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header7Attribute value for the seventh header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header8Attribute value for the eighth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header9Attribute value for the ninth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header10Attribute value for the tenth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header11Attribute value for the eleventh header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header12Attribute value for the twelfth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header13Attribute value for the thirteenth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header14Attribute value for the fourteenth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Header15Attribute value for the fifteenth header condition.String (1000)
GUPAttributeValue
NoYescomputed in view
HeaderPricingRuleSystem record ID of the price rule used at header level.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdRetailPeriodicDiscount.HeaderPricingRule
IsTierConfigurationEnabledYes/No flag that turns quantity tiers on for the offer.Enum
GUPTierConfigurationEnabled
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailDiscountOffer.IsTierConfigurationEnabled
TierPriceAdjustmentMethodShows how the tier adjustment is expressed: percentage, amount or price.Enum
GUPRetailDiscountOfferPriceAdjustmentMethod
GUPPriceTermCalculateMethod
  • Percent 0
  • FixedAmount 1
  • Price 2
NoYesRetailDiscountOffer.TierPriceAdjustmentMethod
HeaderExclusionExclusion setting for the header conditions.low confidenceString (400)
GUPAttributeExclusion
NoYesvirtual

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

Email sales@drdynamics.co.uk