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 · root
  • RetailTenderTypeTable · InnerJoin to RetailTenderDiscount · read-only
  • DiscountLedgerDimensionDAVC (table DimensionCombinationEntity) · OuterJoin to RetailTenderDiscount · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RetailTenderTypePoints to the payment method that the discount applies to.Int64
RetailTenderTypeRefRecId
YesNo (private)RetailTenderTypeTable.RecIdRetailTenderDiscount.RetailTenderType
NameName of the discount.String (60)
Name
NoYesRetailTenderDiscount.Name
OfferIdIdentifier of the discount offer.String
RetailOfferId
YesYesRetailTenderDiscount.OfferId
StatusShows whether the discount is enabled or disabled.Enum
RetailDisabledEnabled
  • Disabled 0
  • Enabled 1
NoYesRetailTenderDiscount.Status
DateValidationTypeChooses standard or advanced date validation for the discount.Enum
RetailDateValidationTypeBase
  • Standard 1
  • Advanced 0
NoYesRetailTenderDiscount.DateValidationType
ValidFromFirst date on which the discount is valid.Date
ValidFromDate
NoYesRetailTenderDiscount.ValidFrom
ValidToLast date on which the discount is valid.Date
ValidToDate
NoYesRetailTenderDiscount.ValidTo
ValidationPeriodIdNumber of the discount validation period used by this discount.String
RetailDiscountValidationPeriodId
NoYesRetailDiscountValidationPeriod.periodIdRetailTenderDiscount.ValidationPeriodId
RetailDiscountValidationPeriodReference to the discount validation period record.Int64
RefRecId
NoNo (private)RetailTenderDiscount.RetailDiscountValidationPeriod
MaxDiscountAmountUpper limit for the discount amount.Real
RetailMaxDiscountAmount
NoYesRetailTenderDiscount.MaxDiscountAmount
CardTypeIdCard type that the discount is limited to.String
RetailCardTypeId
NoYesRetailTenderTypeCardTable.cardTypeIdRetailTenderDiscount.CardTypeId
DiscountLedgerDimensionLedger account, as a dimension combination, used for the discount.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdRetailTenderDiscount.DiscountLedgerDimension
TenderTypeIdUnique ID of the payment method.String
RetailTenderTypeId
YesYesRetailTenderTypeTable.tenderTypeId
DiscountLedgerDimensionDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

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.

Email sales@drdynamics.co.uk