Data entity

GUPMarginComponentPriceAdjustmentLineV2Entity

Version 2 of the margin component price adjustment lines, keyed by offer ID and line number. Each line is a periodic discount line. It uses unified pricing rule lookup data, inventory dimensions and units.

Entity name
GUPMarginComponentPriceAdjustmentLineV2Entity
Public entity name
MarginComponentPriceAdjustmentLineV2
OData collection
MarginComponentPriceAdjustmentLinesV2
Category
Not set
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
OfferId, LineNum
Staging table
GUPMarginComponentPriceAdjustmentLineV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/MarginComponentPriceAdjustmentLinesV2
Dataverse virtual table
mserp_gupmargincomponentpriceadjustmentlinev2entity. 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

  • RetailPeriodicDiscountLine · root
  • RetailDiscountOffer · InnerJoin to RetailPeriodicDiscountLine · read-only
  • GUPPricingRuleConditionLookup · OuterJoin to RetailPeriodicDiscountLine
  • InventDim · OuterJoin to RetailPeriodicDiscountLine
  • UnitOfMeasure · OuterJoin to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineOffer (table RetailDiscountLineOffer) · Derived to RetailPeriodicDiscountLine

Fields (42)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DescriptionFree-text description of the line.String (-1)
RetailMemo
NoYesRetailPeriodicDiscountLine.Description
DiscountPercentOrValuePercentage taken off the price on this line.Real
RetailDiscountPercentValue
NoYesRetailPeriodicDiscountLine.DiscountPercentOrValue
LineNumNumber of the line within the discount.Real
LineNum
NoYesRetailPeriodicDiscountLine.LineNum
NameName of the line.String (60)
Name
NoYesRetailPeriodicDiscountLine.Name
OfferIdIdentifier of the discount.String (20)
RetailOfferIdEx3
YesYesRetailPeriodicDiscount.OfferId
LineTypeWhether the line includes or excludes the products it covers.Enum
RetailDiscountLineType
RetailDiscountLineIncludeExcludeTypeBase
  • Include 0
  • Exclude 1
NoYesRetailPeriodicDiscountLine.LineType
UnitAppliesToAllShows whether the line applies to all units.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPeriodicDiscountLine.UnitAppliesToAll
CalculationMethodCalculation type of the line. It holds a fixed list of values.Enum
GUPPriceTermCalculateMethod
  • Percent 0
  • FixedAmount 1
  • Price 2
NoYescomputed
DiscountPercentagePercentage taken off the price.Real
RetailPriceDiscPct
NoYesRetailDiscountLineOffer.discPct
CashDiscountAmountAmount taken off the price. Currency not stated in the metadata.Real
DiscAmount
NoYesRetailDiscountLineOffer.discAmount
DiscountPriceUnit price set by the offer. Currency not stated in the metadata.Real
RetailOfferPrice
NoYesRetailDiscountLineOffer.offerPrice
DiscountMethodN1Discount method, which adds the option of a discount price including tax.Enum
RetailOfferLineDiscountMethodN1
RetailOfferLineDiscountMethodBaseN1
  • PercentOff 0
  • AmountOff 1
  • Price 2
  • PriceInclTax 3
NoYesRetailDiscountLineOffer.discountMethodN1
DiscountPriceN1Unit price set by the offer, used with the second discount method field.Real
RetailOfferPrice
NoYesRetailDiscountLineOffer.offerPriceN1
DiscountedSalePriceIncludingTaxDiscounted sale price including tax, used with the second discount method field.Real
RetailOfferPriceInclTax
NoYesRetailDiscountLineOffer.offerPriceInclTaxN1
PriceAttributeGroupTypeWhether the line applies to a group or to all.Enum
GUPPricingAttributeGroupCodeLine
GUPGroupAll
  • Group 0
  • All 1
NoYesRetailPeriodicDiscountLine.LinePricingGroupCode
Line1First condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue1
Line2Second condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue2
Line3Third condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue3
Line4Fourth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue4
Line5Fifth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue5
Line6Sixth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue6
Line7Seventh condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue7
Line8Eighth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue8
Line9Ninth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue9
Line10Tenth condition value of the rule.String (1000)
GUPAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue10
Line11Eleventh condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue11
Line12Twelfth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue12
Line13Thirteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue13
Line14Fourteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue14
Line15Fifteenth condition value of the rule, a shorter entity attribute value.String (200)
GUPEntityAttributeValue
NoYesGUPPricingRuleConditionLookup.AttributeValue15
LinePricingRuleSystem record ID of the price rule used on the line.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdRetailPeriodicDiscountLine.LinePricingRule
PriceAttributeGroupNamePrice attribute group the conditions belong to.String (60)
GUPPricingAttributeGroupName
NoYesGUPPricingRuleConditionLookup.PriceAttributeGroupName
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesGUPPricingRuleConditionLookup.ExclusionType
LineExclusionText listing the items excluded from the rule.String (500)
GUPAttributeExclusion
NoYesGUPPricingRuleConditionLookup.Exclusion
SymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
NoYesUnitOfMeasure.Symbol
ConfigurationConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
SizeSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ColorColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
StyleStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
SiteSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
WarehouseWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
UnitOfMeasureUnit for the line. Points to a unit record.Int64
UnitOfMeasureRecId
NoNo (private)UnitOfMeasure.RecIdRetailPeriodicDiscountLine.UnitOfMeasure

Foreign keys (8)

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

Email sales@drdynamics.co.uk