Data entity

TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity

Read-only discount lines for a merchandising event in a trade allowance agreement. Each record is keyed by agreement, customer account, event and discount line number. It holds a discount amount or percentage, a quantity range and an analytics flag.

Entity name
TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity
Public entity name
TradeAllowanceAgreementMerchandisingEventDiscount
OData collection
TradeAllowanceAgreementMerchandisingEventDiscounts
Category
Not set
Module
Sales and marketing
Read-only
Yes
Data management enabled
Yes
Configuration key
TAMPromotionsManagement
Keys
TradeAllowanceAgreementId, CustomerAccountNumber, TradeAllowanceAgreementMerchandisingEventId, DiscountLineNumber
Staging table
TAMTradeAllowanceAgreementMerchandisingEventDiscountStaging

Use it in Power BI and Power Platform

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

  • TAMMerchEventPricing · root
  • TAMTradeAllowanceAgreementMerchandisingEventEntity · InnerJoin to TAMMerchEventPricing · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LIneDiscountAmountDiscount given as an amount per unit.Real
UnitDiscountAmountCur
NoYesTAMMerchEventPricing.DiscountAmt
LineDiscountPercentageDiscount given as a percentage.Real
DiscPct
NoYesTAMMerchEventPricing.DiscountPercent
FromQuantityStart of the quantity range for the line.Real
AmountQty
NoYesTAMMerchEventPricing.Quantity
ToQuantityEnd of the quantity range for the line.Real
AmountQty
NoYesTAMMerchEventPricing.QuantityTo
WillAnalyticsIncludeDiscountYes/no flag labelled "Use for analytics".Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMMerchEventPricing.CostingLevel
DiscountLineNumberA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesTAMMerchEventPricing.RecId
CustomerAccountNumberCustomer account taking part in the trade allowance.String (20)
CustAccount
YesYesCustTable.AccountNumTAMPromotionCust.CustAccount
TradeAllowanceAgreementMerchandisingEventIdUnique ID of the merchandising event.String
MCRMerchandisingEventID
YesYesTAMMerchandisingEvent.MerchandisingEventID
TradeAllowanceAgreementIdID of the trade allowance that the event belongs to.String
TAMPromotionID
YesYesTAMTradePromotion.PromotionIDTAMMerchandisingEvent.PromotionID

Foreign keys (2)

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 TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk