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· rootRetailDiscountOffer· InnerJoin toRetailPeriodicDiscountLine· read-onlyGUPPricingRuleConditionLookup· OuterJoin toRetailPeriodicDiscountLineInventDim· OuterJoin toRetailPeriodicDiscountLineUnitOfMeasure· OuterJoin toRetailPeriodicDiscountLineRetailPeriodicDiscountLine_RetailDiscountLineOffer(tableRetailDiscountLineOffer) · Derived toRetailPeriodicDiscountLine
Fields (42)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DescriptionFree-text description of the line. | String (-1)RetailMemo | No | Yes | RetailPeriodicDiscountLine.Description | |
DiscountPercentOrValuePercentage taken off the price on this line. | RealRetailDiscountPercentValue | No | Yes | RetailPeriodicDiscountLine.DiscountPercentOrValue | |
LineNumNumber of the line within the discount. | RealLineNum | No | Yes | RetailPeriodicDiscountLine.LineNum | |
NameName of the line. | String (60)Name | No | Yes | RetailPeriodicDiscountLine.Name | |
OfferIdIdentifier of the discount. | String (20)RetailOfferIdEx3 | Yes | Yes | RetailPeriodicDiscount.OfferId | |
LineTypeWhether the line includes or excludes the products it covers. | EnumRetailDiscountLineType
| No | Yes | RetailPeriodicDiscountLine.LineType | |
UnitAppliesToAllShows whether the line applies to all units. | EnumNoYesId
| No | Yes | RetailPeriodicDiscountLine.UnitAppliesToAll | |
CalculationMethodCalculation type of the line. It holds a fixed list of values. | Enum
| No | Yes | computed | |
DiscountPercentagePercentage taken off the price. | RealRetailPriceDiscPct | No | Yes | RetailDiscountLineOffer.discPct | |
CashDiscountAmountAmount taken off the price. Currency not stated in the metadata. | RealDiscAmount | No | Yes | RetailDiscountLineOffer.discAmount | |
DiscountPriceUnit price set by the offer. Currency not stated in the metadata. | RealRetailOfferPrice | No | Yes | RetailDiscountLineOffer.offerPrice | |
DiscountMethodN1Discount method, which adds the option of a discount price including tax. | EnumRetailOfferLineDiscountMethodN1
| No | Yes | RetailDiscountLineOffer.discountMethodN1 | |
DiscountPriceN1Unit price set by the offer, used with the second discount method field. | RealRetailOfferPrice | No | Yes | RetailDiscountLineOffer.offerPriceN1 | |
DiscountedSalePriceIncludingTaxDiscounted sale price including tax, used with the second discount method field. | RealRetailOfferPriceInclTax | No | Yes | RetailDiscountLineOffer.offerPriceInclTaxN1 | |
PriceAttributeGroupTypeWhether the line applies to a group or to all. | EnumGUPPricingAttributeGroupCodeLine
| No | Yes | RetailPeriodicDiscountLine.LinePricingGroupCode | |
Line1First condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue1 | |
Line2Second condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue2 | |
Line3Third condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue3 | |
Line4Fourth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue4 | |
Line5Fifth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue5 | |
Line6Sixth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue6 | |
Line7Seventh condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue7 | |
Line8Eighth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue8 | |
Line9Ninth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue9 | |
Line10Tenth condition value of the rule. | String (1000)GUPAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue10 | |
Line11Eleventh condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue11 | |
Line12Twelfth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue12 | |
Line13Thirteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue13 | |
Line14Fourteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue14 | |
Line15Fifteenth condition value of the rule, a shorter entity attribute value. | String (200)GUPEntityAttributeValue | No | Yes | GUPPricingRuleConditionLookup.AttributeValue15 | |
LinePricingRuleSystem record ID of the price rule used on the line. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | RetailPeriodicDiscountLine.LinePricingRule |
PriceAttributeGroupNamePrice attribute group the conditions belong to. | String (60)GUPPricingAttributeGroupName | No | Yes | GUPPricingRuleConditionLookup.PriceAttributeGroupName | |
LineExclusionTypeKind of item excluded by the rule: product, product variant or customer. | Enum
| No | Yes | GUPPricingRuleConditionLookup.ExclusionType | |
LineExclusionText listing the items excluded from the rule. | String (500)GUPAttributeExclusion | No | Yes | GUPPricingRuleConditionLookup.Exclusion | |
SymbolShort symbol that identifies the unit. It is the key of the table. | StringUnitOfMeasureSymbol | No | Yes | UnitOfMeasure.Symbol | |
ConfigurationConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
SizeSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ColorColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
StyleStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
SiteSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
WarehouseWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
UnitOfMeasureUnit for the line. Points to a unit record. | Int64UnitOfMeasureRecId | No | No (private) | UnitOfMeasure.RecId | RetailPeriodicDiscountLine.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.
LinePricingRule→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one RetailPeriodicDiscountLine record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
Configuration→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
Size→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
Color→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
Style→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
Site→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
Warehouse→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
UnitOfMeasure→UnitOfMeasure.RecId(key of UnitOfMeasure)Many RetailPeriodicDiscountLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
Need help with GUPMarginComponentPriceAdjustmentLineV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.