Table

RetailDiscountMixAndMatch

Retail mix and match discount

Holds the mix and match settings of a retail periodic discount. It has no defined key. It stores the calculation type, the deal price or amount off, and options for least expensive lines and bundle IDs.

Table name
RetailDiscountMixAndMatch
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
RetailPeriodicDiscount

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DealPriceValueDeal price of the mix and match discount. Currency not stated in the metadata.Real
RetailDealPriceValue
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
DiscountAmountValueAmount off given by the discount. Currency not stated in the metadata.Real
RetailDiscountAmountValue
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
GeneratesBundleIdYes/No flag for generating a bundle ID when the discount is applied.Enum
RetailMixAndMatchGeneratesBundleId
NoYes (enum)
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
LeastExpensiveModeMode for multiple occurrences: favour the customer or favour the retailer.Enum
RetailLeastExpensiveMode (enum)
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
MixAndMatchCountNonDiscountItemsYes/No flag for counting products that cannot be discounted.Enum
NoYesId
NoYes (enum)
NoNone
MixAndMatchDiscountTypeCalculation type: deal price, percentage off, amount off, least expensive or line spec.Enum
RetailMixAndMatchDiscount
RetailMixAndMatchDiscountType (enum)
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
NoOfLeastExpensiveLinesNumber of least expensive lines the discount applies to.Integer
RetailNoOfLeastExpensiveLines
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
numberOfTimesApplicableNumber of times the discount can be applied.Integer
RetailNumberOfTimesApplicable
NoGUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity
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 RetailDiscountMixAndMatch to another table on the fields shown.

  • RetailPeriodicDiscount1_100522 → RetailPeriodicDiscount

    Join on RecId = RetailPeriodicDiscount.RecId

    Zero or one RetailDiscountMixAndMatch record → exactly one RetailPeriodicDiscount record

Get this data out

Tables are not exposed directly. These public entities read from RetailDiscountMixAndMatch; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk