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· rootTAMTradeAllowanceAgreementMerchandisingEventEntity· InnerJoin toTAMMerchEventPricing· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LIneDiscountAmountDiscount given as an amount per unit. | RealUnitDiscountAmountCur | No | Yes | TAMMerchEventPricing.DiscountAmt | |
LineDiscountPercentageDiscount given as a percentage. | RealDiscPct | No | Yes | TAMMerchEventPricing.DiscountPercent | |
FromQuantityStart of the quantity range for the line. | RealAmountQty | No | Yes | TAMMerchEventPricing.Quantity | |
ToQuantityEnd of the quantity range for the line. | RealAmountQty | No | Yes | TAMMerchEventPricing.QuantityTo | |
WillAnalyticsIncludeDiscountYes/no flag labelled "Use for analytics". | EnumNoYesId
| No | Yes | TAMMerchEventPricing.CostingLevel | |
DiscountLineNumberA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | TAMMerchEventPricing.RecId | |
CustomerAccountNumberCustomer account taking part in the trade allowance. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | TAMPromotionCust.CustAccount |
TradeAllowanceAgreementMerchandisingEventIdUnique ID of the merchandising event. | StringMCRMerchandisingEventID | Yes | Yes | TAMMerchandisingEvent.MerchandisingEventID | |
TradeAllowanceAgreementIdID of the trade allowance that the event belongs to. | StringTAMPromotionID | Yes | Yes | TAMTradePromotion.PromotionID | TAMMerchandisingEvent.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.
CustomerAccountNumber→CustTable.AccountNum(key of CustTable)One or more TAMPromotionCust records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
TradeAllowanceAgreementId→TAMTradePromotion.PromotionID(key of TAMTradePromotion)Many TAMMerchandisingEvent records → exactly one TAMTradePromotion record
TAMTradePromotion details: see TAMTradeAllowanceAgreementHeaderEntity, TAMTradeAllowanceAgreementFundEntity, TAMTradeAllowanceAgreementProductEntity
Need help with TAMTradeAllowanceAgreementMerchandisingEventDiscountEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.