Table
RetailDiscountThreshold
Retail threshold discount
Holds settings for a retail threshold discount, linked to the periodic discount in RetailPeriodicDiscount. It currently records whether items that are not discountable count towards the threshold.
- Table name
RetailDiscountThreshold- 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 (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CountNonDiscountItemsYes/No flag for whether non-discountable items count towards the threshold. | EnumNoYesIdNoYes (enum) | No | GUPRetailDiscountV2EntityGUPRetailDiscountEntityRetailDiscountEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
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 RetailDiscountThreshold to another table on the fields shown.
RetailPeriodicDiscount1_102563→RetailPeriodicDiscountJoin on
RecId = RetailPeriodicDiscount.RecIdZero or one RetailDiscountThreshold record → exactly one RetailPeriodicDiscount record
Get this data out
Tables are not exposed directly. These public entities read from RetailDiscountThreshold; use one of them in Power BI, Power Platform or a data management project.
GUPRetailDiscountLineV2Entity· 0 fields from this tableGUPRetailDiscountV2Entity· 1 field from this tableGUPRetailDiscountEntity· 1 field from this tableGUPRetailDiscountLineEntity· 0 fields from this tableGUPRetailMultibuyDiscountLineEntity· 0 fields from this tableRetailDiscountEntity· 1 field from this table
Need help with RetailDiscountThreshold in a report, an integration or a migration? Talk to Dr Dynamics.