Table
RetailDiscountLineThresholdApplying
Holds how a threshold discount applies on a discount line. It has no defined key. It links to a threshold discount tier and stores the discount method and a quantity limit.
- Table name
RetailDiscountLineThresholdApplying- Module
Commerce merchandising- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation- Extends
RetailPeriodicDiscountLine
Fields (10)
| 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 | |
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 | |
QuantityLimitLimit on the quantity that the threshold discount applies to. | RealRetailDiscountThresholdLineQuantityLimit | No | GUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more | |
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 | |
ThresholdLineDiscountMethodDiscount method for the threshold line: percentage off, amount off or unit price. | EnumRetailDiscountThresholdLineDiscountMethodRetailDiscountThresholdLineDiscountMethodBase (enum) | No | GUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more | |
TierThreshold discount tier, stored as its record ID. | Int64 | No | RetailDiscountThresholdTiers.RecId | GUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more |
Indexes (1)
TierNot unique.
Relations (2)
Each relation joins RetailDiscountLineThresholdApplying to another table on the fields shown.
RetailPeriodicDiscountLine→RetailPeriodicDiscountLineJoin on
RecId = RetailPeriodicDiscountLine.RecIdZero or one RetailDiscountLineThresholdApplying record → exactly one RetailPeriodicDiscountLine record
RetailDiscountThresholdTiers→RetailDiscountThresholdTiersJoin on
Tier = RetailDiscountThresholdTiers.RecIdMany RetailDiscountLineThresholdApplying records → exactly one RetailDiscountThresholdTiers record
Get this data out
Tables are not exposed directly. These public entities read from RetailDiscountLineThresholdApplying; use one of them in Power BI, Power Platform or a data management project.
GUPRetailDiscountLineV2Entity· 3 fields from this tableRetailDiscountLineV2Entity· 3 fields from this tableGUPDiscountClaimDistributionDiscountLineEntity· 0 fields from this tableGUPRetailDiscountLineEntity· 3 fields from this tableRetailDiscountLineEntity· 3 fields from this table
Need help with RetailDiscountLineThresholdApplying in a report, an integration or a migration? Talk to Dr Dynamics.