Table

RetailTenderDiscount

Tender discount

Holds discounts that apply to a payment method (tender type), such as a specific card type. Each row has a name, an offer ID, a status, a validity period and an optional maximum discount amount. It also names a ledger account for the discount.

Table name
RetailTenderDiscount
Module
Commerce merchandising
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CardTypeIdCard type that the discount is limited to.String
RetailCardTypeId
NoRetailTenderTypeCardTable.cardTypeIdRetailTenderDiscountEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateValidationTypeChooses standard or advanced date validation for the discount.Enum
RetailDateValidationTypeBase (enum)
NoRetailTenderDiscountEntity
DiscountLedgerDimensionLedger account, as a dimension combination, used for the discount.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdRetailTenderDiscountEntity
IsGUPDiscountPurpose not clear from the metadata.low confidenceEnum
NoYesId
NoYes (enum)
NoNone
MaxDiscountAmountUpper limit for the discount amount.Real
RetailMaxDiscountAmount
NoRetailTenderDiscountEntity
NameName of the discount.String (60)
Name
NoRetailTenderDiscountEntity
OfferIdIdentifier of the discount offer.String
RetailOfferId
YesRetailTenderDiscountEntityRetailTenderDiscountPriceGroupEntity
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
RetailDiscountValidationPeriodReference to the discount validation period record.Int64
RefRecId
NoRetailTenderDiscountEntity
RetailTenderTypePoints to the payment method that the discount applies to.Int64
RetailTenderTypeRefRecId
YesRetailTenderTypeTable.RecIdRetailTenderDiscountEntity
StatusShows whether the discount is enabled or disabled.Enum
RetailDisabledEnabled (enum)
NoRetailTenderDiscountEntity
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
ValidationPeriodIdNumber of the discount validation period used by this discount.String
RetailDiscountValidationPeriodId
NoRetailDiscountValidationPeriod.periodIdRetailTenderDiscountEntity
ValidFromFirst date on which the discount is valid.Date
ValidFromDate
NoRetailTenderDiscountEntity
ValidToLast date on which the discount is valid.Date
ValidToDate
NoRetailTenderDiscountEntity

Indexes (3)

Relations (4)

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

  • RetailTenderTypeTable → RetailTenderTypeTable

    Join on RetailTenderType = RetailTenderTypeTable.RecId

    Many RetailTenderDiscount records → zero or one RetailTenderTypeTable record

  • RetailDiscountValidationPeriod → RetailDiscountValidationPeriod

    Join on ValidationPeriodId = RetailDiscountValidationPeriod.periodId

    Many RetailTenderDiscount records → zero or one RetailDiscountValidationPeriod record

  • RetailTenderTypeCardTable → RetailTenderTypeCardTable

    Join on CardTypeId = RetailTenderTypeCardTable.cardTypeId

    Many RetailTenderDiscount records → zero or one RetailTenderTypeCardTable record

  • DimensionAttributeValueCombination → DimensionAttributeValueCombination

    Join on DiscountLedgerDimension = DimensionAttributeValueCombination.RecId

    Many RetailTenderDiscount records → zero or one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk