Data entity

RetailShippingThresholdDiscountsEntity

Holds shipping threshold discounts, keyed by offer ID. Each record has a name, description, status, currency and validity dates. It also holds a disclaimer, fiscal receipt text, a mode of delivery and a link to a discount code and a dimension combination.

Entity name
RetailShippingThresholdDiscountsEntity
Public entity name
ShippingThresholdDiscount
OData collection
ShippingThresholdDiscounts
Category
Not set
Module
Retail
Read-only
No
Data management enabled
Yes
Configuration key
None
Keys
OfferId
Staging table
RetailShippingThresholdDiscountsStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/ShippingThresholdDiscounts
Dataverse virtual table
mserp_retailshippingthresholddiscountsentity. 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

  • RetailShippingThresholdDiscounts · root
  • DiscountCode (table RetailDiscountCode) · OuterJoin to RetailShippingThresholdDiscounts · read-only
  • DiscountLedgerDimensionDAVC (table DimensionCombinationEntity) · OuterJoin to RetailShippingThresholdDiscounts · read-only

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CurrencyCodeCurrency of the discount. Points to a currency record.String (3)
CurrencyCode
YesYesCurrency.CurrencyCodeRetailPeriodicDiscount.CurrencyCode
DateValidationTypeWhether date validation is standard or advanced.Enum
RetailDateValidationTypeBase
  • Standard 1
  • Advanced 0
NoYesRetailPeriodicDiscount.DateValidationType
DescriptionFree-text description of the discount.String (-1)
RetailMemo
NoYesRetailPeriodicDiscount.Description
DisclaimerFree-text disclaimer for the discount.String (-1)
RetailMemo
NoYesRetailPeriodicDiscount.Disclaimer
DiscountCodeRecIdSystem record ID of the discount code that is linked.Int64
RefRecId
NoNo (private)RetailDiscountCode.RecIdRetailPeriodicDiscount.DiscountCode
DiscountLedgerDimensionLedger dimension combination used as the discount account.Int64
LedgerDimensionDefaultAccount
NoNo (private)DimensionAttributeValueCombination.RecIdRetailPeriodicDiscount.DiscountLedgerDimension
IsDiscountCodeRequiredShows whether a coupon code must be entered for the discount.Enum
RetailDiscountCodeRequired
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailPeriodicDiscount.IsDiscountCodeRequired
NameName of the discount.String (60)
Name
NoYesRetailPeriodicDiscount.Name
OfferIdIdentifier of the discount.String (20)
RetailOfferIdEx3
YesYesRetailPeriodicDiscount.OfferId
StatusShows whether the discount is enabled or disabled.Enum
RetailDisabledEnabled
  • Disabled 0
  • Enabled 1
NoYesRetailPeriodicDiscount.Status
ValidationPeriodIdDiscount validation period that sets when the discount is valid.String
RetailDiscountValidationPeriodId
NoYesRetailDiscountValidationPeriod.periodIdRetailPeriodicDiscount.ValidationPeriodId
ValidFromFirst date on which the discount is valid.Date
ValidFromDate
NoYesRetailPeriodicDiscount.ValidFrom
ValidToLast date on which the discount is valid.Date
ValidToDate
NoYesRetailPeriodicDiscount.ValidTo
PrintDescriptionOnFiscalReceiptText that can be printed on the fiscal receipt for this discount.String (50)
RetailPrintDescriptionOnFiscalReceipt
NoYesRetailPeriodicDiscount.PrintDescriptionOnFiscalReceipt
DeliveryModeMode of delivery that the discount relates to. Points to the delivery mode.String
DlvModeId
NoYesDlvMode.CodeRetailShippingThresholdDiscounts.DlvModeId
DiscountCodeDiscount code text.String (60)
RetailDiscountCodeId
NoYesRetailDiscountCode.DiscountCode
DiscountLedgerDimensionDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

Foreign keys (5)

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.

Need help with RetailShippingThresholdDiscountsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk