Data entity
TAMTradeAllowanceAgreementHeaderEntity
Read-only headers of trade allowance agreements, keyed by agreement ID and customer account. It holds the description, status, workflow approval status, currency, unit and base units. It also holds the order, performance, requested ship and requested receipt date ranges, the lift percent, marketing objective and trade allowance cost. A responsible worker is linked by personnel number.
- Entity name
TAMTradeAllowanceAgreementHeaderEntity- Public entity name
TradeAllowanceAgreementHeader- OData collection
TradeAllowanceAgreementHeaders- Category
Not set- Module
Sales and marketing- Read-only
Yes- Data management enabled
Yes- Configuration key
TAMPromotionsManagement- Keys
AgreementId, CustomerAccountNumber- Staging table
TAMTradeAllowanceAgreementHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TradeAllowanceAgreementHeaders- Dataverse virtual table
mserp_tamtradeallowanceagreementheaderentity. 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
TAMTradePromotion· rootHcmWorker· OuterJoin toTAMTradePromotion· read-onlyTAMPromotionCust· InnerJoin toTAMTradePromotion
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BaseQuantityBase units for the trade allowance. | RealMCRBaseUnits | No | Yes | TAMTradePromotion.BaseUnits | |
AgreementCurrencyCodeCurrency code used for the trade allowance. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | TAMTradePromotion.Currency |
PromotionLiftPercentageLift percentage for the trade allowance. | RealMCRLiftPercent | No | Yes | TAMTradePromotion.LiftPercent | |
MarketingObjectiveCodeMarketing objective linked to the trade allowance. | StringMCRMarketingObjective | No | Yes | TAMMarketingObjective.MarketingObjective | TAMTradePromotion.MarketingObjective |
PromotionCostAmountCost of the trade allowance. | RealAmountCur | No | Yes | TAMTradePromotion.MerchandiseCost | |
ToOrderDateLast date of the order period. | DateMCROrderEndDate | No | Yes | TAMTradePromotion.OrdersEndDate | |
FromOrderDateFirst date of the order period. | DateMCROrderStartDate | No | Yes | TAMTradePromotion.OrdersStartDate | |
ExpectedPromotionalQuantityPromotional ship quantity entered for the trade allowance. | RealMCROverriddenShipQty | No | Yes | TAMTradePromotion.OverriddenShipQty | |
ToLumpSumPayoutDateLast date of the performance period. | DateMCRPerformanceEndDate | No | Yes | TAMTradePromotion.PerformanceEndDate | |
FromLumpSumPayoutDateFirst date of the performance period. | DateMCRPerformanceStartDate | No | Yes | TAMTradePromotion.PerformanceStartDate | |
AgreementDescriptionShort text describing the trade allowance. | String (60)Description | No | Yes | TAMTradePromotion.PromotionDescription | |
AgreementDetailsFree text details about the trade allowance. | String (3999)MCRNotes | No | Yes | TAMTradePromotion.PromotionDetails | |
AgreementIdUnique ID of the trade allowance. | StringTAMPromotionID | Yes | Yes | TAMTradePromotion.PromotionID | |
TradeAllowanceAgreementPeriodNameTrade allowance agreement period linked to this record. | String (30)TAMPromotionPeriodId | No | Yes | TAMPromotionPeriod.PromotionPeriod | TAMTradePromotion.PromotionPeriod |
AgreementStatusStatus: in process, internal approved, confirmed or closed. | Enum
| No | Yes | TAMTradePromotion.PromotionStatus | |
IsBaseQuantityOverriddenYes/no flag showing whether the quantity was overridden. | EnumNoYesId
| No | Yes | TAMTradePromotion.QtyOverridden | |
ToRequestedShipDateLast date of the requested shipment period. | DateMCRRequestedShipEndDate | No | Yes | TAMTradePromotion.RequestedShipmentEndDate | |
FromRequestedShipDateFirst date of the requested shipment period. | DateMCRRequestedShipStartDate | No | Yes | TAMTradePromotion.RequestedShipmentStartDate | |
ToRequestedReceiptDateLast date of the requested receipt period. | DateMCRShipmentEndDate | No | Yes | TAMTradePromotion.ShipmentEndDate | |
FromRequestedReceiptDateFirst date of the requested receipt period. | DateMCRShipmentStartDate | No | Yes | TAMTradePromotion.ShipmentStartDate | |
BaseQuantityUnitSymbolUnit of measure used for the trade allowance. | StringUnitOfMeasureSymbol | Yes | Yes | UnitOfMeasure.Symbol | TAMTradePromotion.UnitID |
WorkflowApprovalStatusWorkflow approval status: not submitted, in review, approved or rejected. | Enum
| No | Yes | TAMTradePromotion.WFApprovalStatus | |
OwningWorkerPersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
CustomerAccountNumberCustomer account taking part in the trade allowance. | String (20)CustAccount | Yes | Yes | CustTable.AccountNum | TAMPromotionCust.CustAccount |
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.
AgreementCurrencyCode→Currency.CurrencyCode(key of Currency)Many TAMTradePromotion records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
MarketingObjectiveCode→TAMMarketingObjective.MarketingObjective(key of TAMMarketingObjective)Many TAMTradePromotion records → zero or one TAMMarketingObjective record
Not exposed by a public entity.
TradeAllowanceAgreementPeriodName→TAMPromotionPeriod.PromotionPeriod(key of TAMPromotionPeriod)Many TAMTradePromotion records → zero or one TAMPromotionPeriod record
Not exposed by a public entity.
BaseQuantityUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many TAMTradePromotion records → exactly one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
CustomerAccountNumber→CustTable.AccountNum(key of CustTable)One or more TAMPromotionCust records → exactly one CustTable record
CustTable details: see CustCustomerV3Entity, CustFoundationExtendedEntity, CustFoundationEntity
Need help with TAMTradeAllowanceAgreementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.