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· rootRetailDiscountOffer· InnerJoin toRetailPeriodicDiscountLine· read-onlyGUPPricingRuleConditionView· OuterJoin toRetailPeriodicDiscountLineRetailPeriodicDiscountLine_RetailDiscountLineOffer(tableRetailDiscountLineOffer) · Derived toRetailPeriodicDiscountLine
Fields (51)
| 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 | virtual | |
discountMethodPrivateCalculation type of the offer: percentage off, amount off or unit price. | EnumRetailDiscountOfferLineDiscountMethod
| No | No (private) | RetailDiscountLineOffer.discountMethod | |
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 | |
PriceAttributeGroupNameName of the price attribute group used for the line. | String (60)GUPPricingAttributeGroupName | No | Yes | virtual | |
CombinationLineStructureText that describes the price attribute detail of the line combination. | String (-1)GUPPricingAttributeDetailsMemo | No | Yes | computed in view | |
Line1Attribute value for the first line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line2Attribute value for the second line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line3Attribute value for the third line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line4Attribute value for the fourth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line5Attribute value for the fifth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line6Attribute value for the sixth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line7Attribute value for the seventh line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line8Attribute value for the eighth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line9Attribute value for the ninth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line10Attribute value for the tenth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line11Attribute value for the eleventh line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line12Attribute value for the twelfth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line13Attribute value for the thirteenth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line14Attribute value for the fourteenth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
Line15Attribute value for the fifteenth line condition. | String (1000)GUPAttributeValue | No | Yes | computed in view | |
LinePricingRuleSystem record ID of the price rule used on the line. | Int64GUPRefRecId | No | No (private) | GUPPricingRule.RecId | RetailPeriodicDiscountLine.LinePricingRule |
SymbolUnit of measure symbol for the line. | StringUnitOfMeasureSymbol | No | Yes | virtual | |
ConfigurationProduct configuration name for the line. | String (50)EcoResItemConfigurationName | No | Yes | virtual | |
SizeProduct size name for the line. | StringEcoResItemSizeName | No | Yes | virtual | |
ColorProduct colour name for the line. | StringEcoResItemColorName | No | Yes | virtual | |
StyleProduct style name for the line. | StringEcoResItemStyleName | No | Yes | virtual | |
SiteInventory site ID for the line. | StringInventSiteId | No | Yes | virtual | |
WarehouseWarehouse ID for the line. | StringInventLocationId | No | Yes | virtual | |
LocationWarehouse location ID for the line. | StringWMSLocationId | No | Yes | virtual | |
InventoryStatusInventory status ID for the line. | StringWHSInventStatusId | No | Yes | virtual | |
LicensePlateLicense plate ID for the line. | String (25)WHSLicensePlateId | No | Yes | virtual | |
BatchNumberBatch number for the line. | String (20)InventBatchId | No | Yes | virtual | |
SerialNumberSerial number for the line. | String (20)InventSerialId | No | Yes | virtual | |
OwnerInventory owner ID for the line. | String (40)InventOwnerId | No | Yes | virtual | |
UnitOfMeasureUnit for the line. Points to a unit record. | Int64UnitOfMeasureRecId | No | No (private) | UnitOfMeasure.RecId | RetailPeriodicDiscountLine.UnitOfMeasure |
InventDimIdInventory dimension combination of the line. Points to an inventory dimension record. | String (20)InventDimId | No | No (private) | InventDim.inventDimId | RetailPeriodicDiscountLine.InventDimId |
LineExclusionExclusion setting for the line conditions.low confidence | String (400)GUPAttributeExclusion | No | Yes | virtual | |
LineExclusionTypeType of price rule exclusion for the line. It holds a fixed list of values. | Enum
| No | Yes | virtual |
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.
LinePricingRule→GUPPricingRule.RecId(key of GUPPricingRule)Zero or one RetailPeriodicDiscountLine record → exactly one GUPPricingRule record
GUPPricingRule details: see GUPDiscountInquiryResultEntity, GUPDiscountLineInquiryResultEntity, GUPPriceAdjustmentInquiryResultEntity
UnitOfMeasure→UnitOfMeasure.RecId(key of UnitOfMeasure)Many RetailPeriodicDiscountLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
InventDimId→InventDim.inventDimId(key of InventDim)Many RetailPeriodicDiscountLine records → zero or one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
Need help with GUPMarginComponentPriceAdjustmentLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.