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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
discAmountAmount taken off the price. Currency not stated in the metadata.Real
DiscAmount
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
discountMethodCalculation type of the offer: percentage off, amount off or unit price.Enum
RetailDiscountOfferLineDiscountMethod
RetailDiscountOfferLineDiscMethodBase (enum)
NoGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPMarginComponentPriceAdjustmentLineEntityand 2 more
discountMethodN1Discount method, which adds the option of a discount price including tax.Enum
RetailOfferLineDiscountMethodN1
RetailOfferLineDiscountMethodBaseN1 (enum)
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
discPctPercentage taken off the price.Real
RetailPriceDiscPct
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
offerPriceUnit price set by the offer. Currency not stated in the metadata.Real
RetailOfferPrice
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
offerPriceInclTaxDiscounted sale price including tax.Real
RetailOfferPriceInclTax
NoNone
offerPriceInclTaxN1Discounted sale price including tax, used with the second discount method field.Real
RetailOfferPriceInclTax
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
offerPriceN1Unit price set by the offer, used with the second discount method field.Real
RetailOfferPrice
NoGUPMarginComponentPriceAdjustmentLineV2EntityGUPRetailDiscountLineV2EntityRetailDiscountLineV2Entityand 3 more
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (1)

Each relation joins RetailDiscountLineOffer to another table on the fields shown.

  • RetailPeriodicDiscountLine → RetailPeriodicDiscountLine

    Join on RecId = RetailPeriodicDiscountLine.RecId

    Zero 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.

Need help with RetailDiscountLineOffer in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk