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 · root
  • HcmWorker · OuterJoin to TAMTradePromotion · read-only
  • TAMPromotionCust · InnerJoin to TAMTradePromotion

Fields (24)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
BaseQuantityBase units for the trade allowance.Real
MCRBaseUnits
NoYesTAMTradePromotion.BaseUnits
AgreementCurrencyCodeCurrency code used for the trade allowance.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeTAMTradePromotion.Currency
PromotionLiftPercentageLift percentage for the trade allowance.Real
MCRLiftPercent
NoYesTAMTradePromotion.LiftPercent
MarketingObjectiveCodeMarketing objective linked to the trade allowance.String
MCRMarketingObjective
NoYesTAMMarketingObjective.MarketingObjectiveTAMTradePromotion.MarketingObjective
PromotionCostAmountCost of the trade allowance.Real
AmountCur
NoYesTAMTradePromotion.MerchandiseCost
ToOrderDateLast date of the order period.Date
MCROrderEndDate
NoYesTAMTradePromotion.OrdersEndDate
FromOrderDateFirst date of the order period.Date
MCROrderStartDate
NoYesTAMTradePromotion.OrdersStartDate
ExpectedPromotionalQuantityPromotional ship quantity entered for the trade allowance.Real
MCROverriddenShipQty
NoYesTAMTradePromotion.OverriddenShipQty
ToLumpSumPayoutDateLast date of the performance period.Date
MCRPerformanceEndDate
NoYesTAMTradePromotion.PerformanceEndDate
FromLumpSumPayoutDateFirst date of the performance period.Date
MCRPerformanceStartDate
NoYesTAMTradePromotion.PerformanceStartDate
AgreementDescriptionShort text describing the trade allowance.String (60)
Description
NoYesTAMTradePromotion.PromotionDescription
AgreementDetailsFree text details about the trade allowance.String (3999)
MCRNotes
NoYesTAMTradePromotion.PromotionDetails
AgreementIdUnique ID of the trade allowance.String
TAMPromotionID
YesYesTAMTradePromotion.PromotionID
TradeAllowanceAgreementPeriodNameTrade allowance agreement period linked to this record.String (30)
TAMPromotionPeriodId
NoYesTAMPromotionPeriod.PromotionPeriodTAMTradePromotion.PromotionPeriod
AgreementStatusStatus: in process, internal approved, confirmed or closed.Enum
TAMStatus
  • InProcess 0
  • ManagementApproved 3
  • CustomerApproved 6
  • Closed 9
NoYesTAMTradePromotion.PromotionStatus
IsBaseQuantityOverriddenYes/no flag showing whether the quantity was overridden.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesTAMTradePromotion.QtyOverridden
ToRequestedShipDateLast date of the requested shipment period.Date
MCRRequestedShipEndDate
NoYesTAMTradePromotion.RequestedShipmentEndDate
FromRequestedShipDateFirst date of the requested shipment period.Date
MCRRequestedShipStartDate
NoYesTAMTradePromotion.RequestedShipmentStartDate
ToRequestedReceiptDateLast date of the requested receipt period.Date
MCRShipmentEndDate
NoYesTAMTradePromotion.ShipmentEndDate
FromRequestedReceiptDateFirst date of the requested receipt period.Date
MCRShipmentStartDate
NoYesTAMTradePromotion.ShipmentStartDate
BaseQuantityUnitSymbolUnit of measure used for the trade allowance.String
UnitOfMeasureSymbol
YesYesUnitOfMeasure.SymbolTAMTradePromotion.UnitID
WorkflowApprovalStatusWorkflow approval status: not submitted, in review, approved or rejected.Enum
TAMPromoMgmtApprovalStatus
  • NotSubmitted 0
  • Submitted 1
  • Approved 2
  • Rejected 3
NoYesTAMTradePromotion.WFApprovalStatus
OwningWorkerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
CustomerAccountNumberCustomer account taking part in the trade allowance.String (20)
CustAccount
YesYesCustTable.AccountNumTAMPromotionCust.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.

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

Email sales@drdynamics.co.uk