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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QuantityLimitLimit on the quantity that the threshold discount applies to.Real
RetailDiscountThresholdLineQuantityLimit
NoGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more
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
ThresholdLineDiscountMethodDiscount method for the threshold line: percentage off, amount off or unit price.Enum
RetailDiscountThresholdLineDiscountMethod
RetailDiscountThresholdLineDiscountMethodBase (enum)
NoGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more
TierThreshold discount tier, stored as its record ID.Int64NoRetailDiscountThresholdTiers.RecIdGUPRetailDiscountLineV2EntityRetailDiscountLineV2EntityGUPRetailDiscountLineEntityand 1 more

Indexes (1)

Relations (2)

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

  • RetailPeriodicDiscountLine → RetailPeriodicDiscountLine

    Join on RecId = RetailPeriodicDiscountLine.RecId

    Zero or one RetailDiscountLineThresholdApplying record → exactly one RetailPeriodicDiscountLine record

  • RetailDiscountThresholdTiers → RetailDiscountThresholdTiers

    Join on Tier = RetailDiscountThresholdTiers.RecId

    Many 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.

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

Email sales@drdynamics.co.uk