Data entity

GUPMarginComponentPriceAdjustmentLineEntity

Holds the lines of margin component price adjustments, keyed by offer ID and line number. Each line is a periodic discount line. It adds price attribute, unit and inventory dimension fields.

Entity name
GUPMarginComponentPriceAdjustmentLineEntity
Public entity name
MarginComponentPriceAdjustmentLine
OData collection
MarginComponentPriceAdjustmentLines
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
GUPMarginComponentPriceAdjustmentLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/MarginComponentPriceAdjustmentLines
Dataverse virtual table
mserp_gupmargincomponentpriceadjustmentlineentity. 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
  • GUPPricingRuleConditionView · OuterJoin to RetailPeriodicDiscountLine
  • RetailPeriodicDiscountLine_RetailDiscountLineOffer (table RetailDiscountLineOffer) · Derived to RetailPeriodicDiscountLine

Fields (51)

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
NoYesvirtual
discountMethodPrivateCalculation type of the offer: percentage off, amount off or unit price.Enum
RetailDiscountOfferLineDiscountMethod
RetailDiscountOfferLineDiscMethodBase
  • PercentOff 0
  • AmountOff 1
  • Price 2
NoNo (private)RetailDiscountLineOffer.discountMethod
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
PriceAttributeGroupNameName of the price attribute group used for the line.String (60)
GUPPricingAttributeGroupName
NoYesvirtual
CombinationLineStructureText that describes the price attribute detail of the line combination.String (-1)
GUPPricingAttributeDetailsMemo
NoYescomputed in view
Line1Attribute value for the first line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line2Attribute value for the second line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line3Attribute value for the third line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line4Attribute value for the fourth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line5Attribute value for the fifth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line6Attribute value for the sixth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line7Attribute value for the seventh line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line8Attribute value for the eighth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line9Attribute value for the ninth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line10Attribute value for the tenth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line11Attribute value for the eleventh line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line12Attribute value for the twelfth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line13Attribute value for the thirteenth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line14Attribute value for the fourteenth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
Line15Attribute value for the fifteenth line condition.String (1000)
GUPAttributeValue
NoYescomputed in view
LinePricingRuleSystem record ID of the price rule used on the line.Int64
GUPRefRecId
NoNo (private)GUPPricingRule.RecIdRetailPeriodicDiscountLine.LinePricingRule
SymbolUnit of measure symbol for the line.String
UnitOfMeasureSymbol
NoYesvirtual
ConfigurationProduct configuration name for the line.String (50)
EcoResItemConfigurationName
NoYesvirtual
SizeProduct size name for the line.String
EcoResItemSizeName
NoYesvirtual
ColorProduct colour name for the line.String
EcoResItemColorName
NoYesvirtual
StyleProduct style name for the line.String
EcoResItemStyleName
NoYesvirtual
SiteInventory site ID for the line.String
InventSiteId
NoYesvirtual
WarehouseWarehouse ID for the line.String
InventLocationId
NoYesvirtual
LocationWarehouse location ID for the line.String
WMSLocationId
NoYesvirtual
InventoryStatusInventory status ID for the line.String
WHSInventStatusId
NoYesvirtual
LicensePlateLicense plate ID for the line.String (25)
WHSLicensePlateId
NoYesvirtual
BatchNumberBatch number for the line.String (20)
InventBatchId
NoYesvirtual
SerialNumberSerial number for the line.String (20)
InventSerialId
NoYesvirtual
OwnerInventory owner ID for the line.String (40)
InventOwnerId
NoYesvirtual
UnitOfMeasureUnit for the line. Points to a unit record.Int64
UnitOfMeasureRecId
NoNo (private)UnitOfMeasure.RecIdRetailPeriodicDiscountLine.UnitOfMeasure
InventDimIdInventory dimension combination of the line. Points to an inventory dimension record.String (20)
InventDimId
NoNo (private)InventDim.inventDimIdRetailPeriodicDiscountLine.InventDimId
LineExclusionExclusion setting for the line conditions.low confidenceString (400)
GUPAttributeExclusion
NoYesvirtual
LineExclusionTypeType of price rule exclusion for the line. It holds a fixed list of values.Enum
GUPPricingRuleExclusionType
  • Product 0
  • ProductVariant 1
  • Customer 2
NoYesvirtual

Foreign keys (3)

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

Email sales@drdynamics.co.uk