Data entity
RetailTenderDiscountEntity
Holds tender discounts, one record for each offer ID. Each record has a name, a status and a validity period. It also has a maximum discount amount, a card type, a payment method and a dimension combination.
- Entity name
RetailTenderDiscountEntity- Public entity name
RetailTenderDiscount- OData collection
RetailTenderDiscounts- Category
Not set- Module
Merchandising- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OfferId- Staging table
RetailTenderDiscountStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTenderDiscounts- Dataverse virtual table
mserp_retailtenderdiscountentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailTenderDiscount· rootRetailTenderTypeTable· InnerJoin toRetailTenderDiscount· read-onlyDiscountLedgerDimensionDAVC(tableDimensionCombinationEntity) · OuterJoin toRetailTenderDiscount· read-only
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RetailTenderTypePoints to the payment method that the discount applies to. | Int64RetailTenderTypeRefRecId | Yes | No (private) | RetailTenderTypeTable.RecId | RetailTenderDiscount.RetailTenderType |
NameName of the discount. | String (60)Name | No | Yes | RetailTenderDiscount.Name | |
OfferIdIdentifier of the discount offer. | StringRetailOfferId | Yes | Yes | RetailTenderDiscount.OfferId | |
StatusShows whether the discount is enabled or disabled. | Enum
| No | Yes | RetailTenderDiscount.Status | |
DateValidationTypeChooses standard or advanced date validation for the discount. | Enum
| No | Yes | RetailTenderDiscount.DateValidationType | |
ValidFromFirst date on which the discount is valid. | DateValidFromDate | No | Yes | RetailTenderDiscount.ValidFrom | |
ValidToLast date on which the discount is valid. | DateValidToDate | No | Yes | RetailTenderDiscount.ValidTo | |
ValidationPeriodIdNumber of the discount validation period used by this discount. | StringRetailDiscountValidationPeriodId | No | Yes | RetailDiscountValidationPeriod.periodId | RetailTenderDiscount.ValidationPeriodId |
RetailDiscountValidationPeriodReference to the discount validation period record. | Int64RefRecId | No | No (private) | RetailTenderDiscount.RetailDiscountValidationPeriod | |
MaxDiscountAmountUpper limit for the discount amount. | RealRetailMaxDiscountAmount | No | Yes | RetailTenderDiscount.MaxDiscountAmount | |
CardTypeIdCard type that the discount is limited to. | StringRetailCardTypeId | No | Yes | RetailTenderTypeCardTable.cardTypeId | RetailTenderDiscount.CardTypeId |
DiscountLedgerDimensionLedger account, as a dimension combination, used for the discount. | Int64LedgerDimensionDefaultAccount | No | No (private) | DimensionAttributeValueCombination.RecId | RetailTenderDiscount.DiscountLedgerDimension |
TenderTypeIdUnique ID of the payment method. | StringRetailTenderTypeId | Yes | Yes | RetailTenderTypeTable.tenderTypeId | |
DiscountLedgerDimensionDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
Foreign keys (4)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
RetailTenderType→RetailTenderTypeTable.RecId(key of RetailTenderTypeTable)Many RetailTenderDiscount records → zero or one RetailTenderTypeTable record
RetailTenderTypeTable details: see RetailTenderTypeEntity
ValidationPeriodId→RetailDiscountValidationPeriod.periodId(key of RetailDiscountValidationPeriod)Many RetailTenderDiscount records → zero or one RetailDiscountValidationPeriod record
RetailDiscountValidationPeriod details: see RetailDiscountValidationPeriodEntity
CardTypeId→RetailTenderTypeCardTable.cardTypeId(key of RetailTenderTypeCardTable)Many RetailTenderDiscount records → zero or one RetailTenderTypeCardTable record
RetailTenderTypeCardTable details: see RetailTenderTypeCardEntity, RetailChannelEntity
DiscountLedgerDimension→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many RetailTenderDiscount records → zero or one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
Need help with RetailTenderDiscountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.