Table

RetailDiscountLineMixAndMatch

Retail mix and match discount line

Holds the mix and match settings of a discount line. It has no defined key. It stores the calculation type, the line group and the number of products needed.

Table name
RetailDiscountLineMixAndMatch
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 (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
discountTypeCalculation type of the discount: deal price, percentage off or amount off.Enum
RetailDealPriceDiscountPct
RetailDealPriceDiscountPctBase (enum)
NoGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
lineGroupMix and match line group that the line belongs to.String
RetailMixAndMatchLineGroup
NoRetailMixAndMatchLineGroupSetup.mixAndMatchLineGroupGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more
numberOfItemsNeededNumber of products that must be bought for the line to count.Integer
RetailNumberOfItemsNeeded
NoGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 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

Indexes (1)

  • RetailMixAndMatchLineGroupSetupIdx

    lineGroup

    Not unique.

Relations (2)

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

  • MixAndMatchLineGroups → RetailMixAndMatchLineGroupSetup

    Join on lineGroup = RetailMixAndMatchLineGroupSetup.mixAndMatchLineGroup

    Many RetailDiscountLineMixAndMatch records → zero or one RetailMixAndMatchLineGroupSetup record

  • RetailPeriodicDiscountLine1_100525 → RetailPeriodicDiscountLine

    Join on RecId = RetailPeriodicDiscountLine.RecId

    Zero or one RetailDiscountLineMixAndMatch record → exactly one RetailPeriodicDiscountLine record

Get this data out

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

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

Email sales@drdynamics.co.uk