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 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 | |
DealPriceValueDeal price of the mix and match discount. Currency not stated in the metadata. | RealRetailDealPriceValue | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
DiscountAmountValueAmount off given by the discount. Currency not stated in the metadata. | RealRetailDiscountAmountValue | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
GeneratesBundleIdYes/No flag for generating a bundle ID when the discount is applied. | EnumRetailMixAndMatchGeneratesBundleIdNoYes (enum) | No | None | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
LeastExpensiveModeMode for multiple occurrences: favour the customer or favour the retailer. | EnumRetailLeastExpensiveMode (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
MixAndMatchCountNonDiscountItemsYes/No flag for counting products that cannot be discounted. | EnumNoYesIdNoYes (enum) | No | None | |
MixAndMatchDiscountTypeCalculation type: deal price, percentage off, amount off, least expensive or line spec. | EnumRetailMixAndMatchDiscountRetailMixAndMatchDiscountType (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
NoOfLeastExpensiveLinesNumber of least expensive lines the discount applies to. | IntegerRetailNoOfLeastExpensiveLines | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
numberOfTimesApplicableNumber of times the discount can be applied. | IntegerRetailNumberOfTimesApplicable | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
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 RetailDiscountMixAndMatch to another table on the fields shown.
RetailPeriodicDiscount1_100522→RetailPeriodicDiscountJoin on
RecId = RetailPeriodicDiscount.RecIdZero 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.
GUPRetailDiscountLineV2Entity· 0 fields from this tableGUPRetailDiscountV2Entity· 6 fields from this tableGUPRetailDiscountEntity· 6 fields from this tableGUPRetailDiscountLineEntity· 0 fields from this tableGUPRetailMultibuyDiscountLineEntity· 0 fields from this tableRetailDiscountEntity· 6 fields from this table
Need help with RetailDiscountMixAndMatch in a report, an integration or a migration? Talk to Dr Dynamics.