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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CardTypeIdCard type that the discount is limited to. | StringRetailCardTypeId | No | RetailTenderTypeCardTable.cardTypeId | RetailTenderDiscountEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateValidationTypeChooses standard or advanced date validation for the discount. | EnumRetailDateValidationTypeBase (enum) | No | RetailTenderDiscountEntity | |
DiscountLedgerDimensionLedger account, as a dimension combination, used for the discount. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | RetailTenderDiscountEntity |
IsGUPDiscountPurpose not clear from the metadata.low confidence | EnumNoYesIdNoYes (enum) | No | None | |
MaxDiscountAmountUpper limit for the discount amount. | RealRetailMaxDiscountAmount | No | RetailTenderDiscountEntity | |
NameName of the discount. | String (60)Name | No | RetailTenderDiscountEntity | |
OfferIdIdentifier of the discount offer. | StringRetailOfferId | Yes | RetailTenderDiscountEntityRetailTenderDiscountPriceGroupEntity | |
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 | |
RetailDiscountValidationPeriodReference to the discount validation period record. | Int64RefRecId | No | RetailTenderDiscountEntity | |
RetailTenderTypePoints to the payment method that the discount applies to. | Int64RetailTenderTypeRefRecId | Yes | RetailTenderTypeTable.RecId | RetailTenderDiscountEntity |
StatusShows whether the discount is enabled or disabled. | EnumRetailDisabledEnabled (enum) | No | RetailTenderDiscountEntity | |
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 | |
ValidationPeriodIdNumber of the discount validation period used by this discount. | StringRetailDiscountValidationPeriodId | No | RetailDiscountValidationPeriod.periodId | RetailTenderDiscountEntity |
ValidFromFirst date on which the discount is valid. | DateValidFromDate | No | RetailTenderDiscountEntity | |
ValidToLast date on which the discount is valid. | DateValidToDate | No | RetailTenderDiscountEntity |
Indexes (3)
RetailOfferIdxUnique, alternate key.
RetailTenderTypeTableIdxNot unique.
GupTenderDiscountIdxIsGUPDiscount,Status,ValidFrom,ValidToNot unique.
Relations (4)
Each relation joins RetailTenderDiscount to another table on the fields shown.
RetailTenderTypeTable→RetailTenderTypeTableJoin on
RetailTenderType = RetailTenderTypeTable.RecIdMany RetailTenderDiscount records → zero or one RetailTenderTypeTable record
RetailDiscountValidationPeriod→RetailDiscountValidationPeriodJoin on
ValidationPeriodId = RetailDiscountValidationPeriod.periodIdMany RetailTenderDiscount records → zero or one RetailDiscountValidationPeriod record
RetailTenderTypeCardTable→RetailTenderTypeCardTableJoin on
CardTypeId = RetailTenderTypeCardTable.cardTypeIdMany RetailTenderDiscount records → zero or one RetailTenderTypeCardTable record
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
DiscountLedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.
RetailTenderDiscountEntity· 12 fields from this tableRetailTenderDiscountPriceGroupEntity· 1 field from this table
Need help with RetailTenderDiscount in a report, an integration or a migration? Talk to Dr Dynamics.