Table
RetailDiscountLineOffer
Retail discount offer line
Holds the settings of a discount offer line. It has no defined key. It stores the calculation type and the matching amount off, percentage off or unit price, with extra fields for prices including tax.
- Table name
RetailDiscountLineOffer- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation- Extends
RetailPeriodicDiscountLine
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
discAmountAmount taken off the price. Currency not stated in the metadata. | RealDiscAmount | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
discountMethodCalculation type of the offer: percentage off, amount off or unit price. | EnumRetailDiscountOfferLineDiscountMethodRetailDiscountOfferLineDiscMethodBase (enum) | No | GUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPMarginComponentPriceAdjustmentLineEntityand 2 more | |
discountMethodN1Discount method, which adds the option of a discount price including tax. | EnumRetailOfferLineDiscountMethodN1RetailOfferLineDiscountMethodBaseN1 (enum) | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
discPctPercentage taken off the price. | RealRetailPriceDiscPct | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
offerPriceUnit price set by the offer. Currency not stated in the metadata. | RealRetailOfferPrice | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
offerPriceInclTaxDiscounted sale price including tax. | RealRetailOfferPriceInclTax | No | None | |
offerPriceInclTaxN1Discounted sale price including tax, used with the second discount method field. | RealRetailOfferPriceInclTax | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
offerPriceN1Unit price set by the offer, used with the second discount method field. | RealRetailOfferPrice | No | GUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Relations (1)
Each relation joins RetailDiscountLineOffer to another table on the fields shown.
RetailPeriodicDiscountLine→RetailPeriodicDiscountLineJoin on
RecId = RetailPeriodicDiscountLine.RecIdZero or one RetailDiscountLineOffer record → exactly one RetailPeriodicDiscountLine record
Get this data out
Tables are not exposed directly. These public entities read from RetailDiscountLineOffer; use one of them in Power BI, Power Platform or a data management project.
GUPMarginComponentPriceAdjustmentLineV2Entity· 6 fields from this tableGUPRetailDiscountLineV2Entity· 7 fields from this tableRetailDiscountLineV2Entity· 7 fields from this tableGUPDiscountClaimDistributionDiscountLineEntity· 0 fields from this tableGUPMarginComponentPriceAdjustmentLineEntity· 7 fields from this tableGUPRetailDiscountLineEntity· 7 fields from this tableRetailDiscountLineEntity· 7 fields from this table
Need help with RetailDiscountLineOffer in a report, an integration or a migration? Talk to Dr Dynamics.