Table

TAMTradePromotion

Trade allowance

Holds trade allowances, identified by a trade allowance ID (with the customer account in the join). It stores the status, owner, currency, order, shipment, receipt and performance date ranges, and workflow approval status. It also links to a marketing objective and a trade allowance agreement period.

Table name
TAMTradePromotion
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
RecId
Replacement key
PromoID
Key fields
PromotionID
Model
Foundation

Fields (41)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PromotionIDUnique ID of the trade allowance.String
TAMPromotionID
YesTAMTradeAllowanceAgreementHeaderEntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementFundEntityand 1 more
ActivityYes/no flag labelled "Activity".Enum
NoYesId
NoYes (enum)
NoNone
BaseUnitsBase units for the trade allowance.Real
MCRBaseUnits
NoTAMTradeAllowanceAgreementHeaderEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
CurrencyCurrency code used for the trade allowance.String (3)
CurrencyCode
NoCurrency.CurrencyCodeTAMTradeAllowanceAgreementHeaderEntity
CustAccountCustomer account of the trade allowance.String (20)
TAMPromotionCustAccount
NoCustTable.AccountNumNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndOfPeriodYes/no flag labelled "End of period".Enum
NoYesId
NoYes (enum)
NoNone
HcmWorkerIdWorker who owns the trade allowance.Int64
HcmApprover
NoHcmWorker.RecIdNone
HierarchyNameText of up to 30 characters labelled "String 30". Its purpose is not stated.low confidenceString (30)
String30
NoNone
LiftPercentLift percentage for the trade allowance.Real
MCRLiftPercent
NoTAMTradeAllowanceAgreementHeaderEntity
MarketingObjectiveMarketing objective linked to the trade allowance.String
MCRMarketingObjective
NoTAMMarketingObjective.MarketingObjectiveTAMTradeAllowanceAgreementHeaderEntity
MerchandiseCostCost of the trade allowance.Real
AmountCur
NoTAMTradeAllowanceAgreementHeaderEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field.Int64
ModifiedTransactionId
NoNone
OrdersEndDateLast date of the order period.Date
MCROrderEndDate
NoTAMTradeAllowanceAgreementHeaderEntity
OrdersStartDateFirst date of the order period.Date
MCROrderStartDate
NoTAMTradeAllowanceAgreementHeaderEntity
OverriddenShipQtyPromotional ship quantity entered for the trade allowance.Real
MCROverriddenShipQty
NoTAMTradeAllowanceAgreementHeaderEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PerformanceEndDateLast date of the performance period.Date
MCRPerformanceEndDate
NoTAMTradeAllowanceAgreementHeaderEntity
PerformanceStartDateFirst date of the performance period.Date
MCRPerformanceStartDate
NoTAMTradeAllowanceAgreementHeaderEntity
PromotionDescriptionShort text describing the trade allowance.String (60)
Description
NoTAMTradeAllowanceAgreementHeaderEntity
PromotionDetailsFree text details about the trade allowance.String (3999)
MCRNotes
NoTAMTradeAllowanceAgreementHeaderEntity
PromotionPeriodTrade allowance agreement period linked to this record.String (30)
TAMPromotionPeriodId
NoTAMPromotionPeriod.PromotionPeriodTAMTradeAllowanceAgreementHeaderEntity
PromotionStatusStatus: in process, internal approved, confirmed or closed.Enum
TAMStatus (enum)
NoTAMTradeAllowanceAgreementHeaderEntity
QtyOverriddenYes/no flag showing whether the quantity was overridden.Enum
NoYesId
NoYes (enum)
NoTAMTradeAllowanceAgreementHeaderEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RequestedShipmentEndDateLast date of the requested shipment period.Date
MCRRequestedShipEndDate
NoTAMTradeAllowanceAgreementHeaderEntity
RequestedShipmentStartDateFirst date of the requested shipment period.Date
MCRRequestedShipStartDate
NoTAMTradeAllowanceAgreementHeaderEntity
ShipmentEndDateLast date of the requested receipt period.Date
MCRShipmentEndDate
NoTAMTradeAllowanceAgreementHeaderEntity
ShipmentStartDateFirst date of the requested receipt period.Date
MCRShipmentStartDate
NoTAMTradeAllowanceAgreementHeaderEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TemplateYes/no flag labelled "Template".Enum
NoYesId
NoYes (enum)
NoNone
UnitIDUnit of measure used for the trade allowance.String
UnitOfMeasureSymbol
YesUnitOfMeasure.SymbolTAMTradeAllowanceAgreementHeaderEntity
VerifyPerformanceYes/no flag labelled "Verify performance".Enum
NoYesId
NoYes (enum)
NoNone
WFApprovalStatusWorkflow approval status: not submitted, in review, approved or rejected.Enum
TAMPromoMgmtApprovalStatus (enum)
NoTAMTradeAllowanceAgreementHeaderEntity

Indexes (2)

Relations (7)

Each relation joins TAMTradePromotion to another table on the fields shown.

  • Currency → Currency

    Join on Currency = Currency.CurrencyCode

    Many TAMTradePromotion records → exactly one Currency record

  • CustTable → CustTable

    Join on CustAccount = CustTable.AccountNum

    Many TAMTradePromotion records → exactly one CustTable record

  • HcmWorkerId → HcmWorker

    Join on HcmWorkerId = HcmWorker.RecId

    Many TAMTradePromotion records → exactly one HcmWorker record

  • MarketingObjective → TAMMarketingObjective

    Join on MarketingObjective = TAMMarketingObjective.MarketingObjective

    Many TAMTradePromotion records → zero or one TAMMarketingObjective record

  • PromotionPeriod → TAMPromotionPeriod

    Join on PromotionPeriod = TAMPromotionPeriod.PromotionPeriod

    Many TAMTradePromotion records → zero or one TAMPromotionPeriod record

  • TAMTradePromotion → TAMTradePromotion

    Join on CustAccount = TAMTradePromotion.CustAccount, PromotionID = TAMTradePromotion.PromotionID

    Exactly one TAMTradePromotion record → zero or one TAMTradePromotion record

  • UnitOfMeasure → UnitOfMeasure

    Join on UnitID = UnitOfMeasure.Symbol

    Many TAMTradePromotion records → exactly one UnitOfMeasure record

Get this data out

Tables are not exposed directly. These public entities read from TAMTradePromotion; use one of them in Power BI, Power Platform or a data management project.

Need help with TAMTradePromotion in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk