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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PromotionIDUnique ID of the trade allowance. | StringTAMPromotionID | Yes | TAMTradeAllowanceAgreementHeaderEntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementFundEntityand 1 more | |
ActivityYes/no flag labelled "Activity". | EnumNoYesIdNoYes (enum) | No | None | |
BaseUnitsBase units for the trade allowance. | RealMCRBaseUnits | No | TAMTradeAllowanceAgreementHeaderEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
CurrencyCurrency code used for the trade allowance. | String (3)CurrencyCode | No | Currency.CurrencyCode | TAMTradeAllowanceAgreementHeaderEntity |
CustAccountCustomer account of the trade allowance. | String (20)TAMPromotionCustAccount | No | CustTable.AccountNum | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndOfPeriodYes/no flag labelled "End of period". | EnumNoYesIdNoYes (enum) | No | None | |
HcmWorkerIdWorker who owns the trade allowance. | Int64HcmApprover | No | HcmWorker.RecId | None |
HierarchyNameText of up to 30 characters labelled "String 30". Its purpose is not stated.low confidence | String (30)String30 | No | None | |
LiftPercentLift percentage for the trade allowance. | RealMCRLiftPercent | No | TAMTradeAllowanceAgreementHeaderEntity | |
MarketingObjectiveMarketing objective linked to the trade allowance. | StringMCRMarketingObjective | No | TAMMarketingObjective.MarketingObjective | TAMTradeAllowanceAgreementHeaderEntity |
MerchandiseCostCost of the trade allowance. | RealAmountCur | No | TAMTradeAllowanceAgreementHeaderEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
ModifiedTransactionIdA system number for the database transaction that last changed the record. System field. | Int64ModifiedTransactionId | No | None | |
OrdersEndDateLast date of the order period. | DateMCROrderEndDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
OrdersStartDateFirst date of the order period. | DateMCROrderStartDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
OverriddenShipQtyPromotional ship quantity entered for the trade allowance. | RealMCROverriddenShipQty | No | TAMTradeAllowanceAgreementHeaderEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PerformanceEndDateLast date of the performance period. | DateMCRPerformanceEndDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
PerformanceStartDateFirst date of the performance period. | DateMCRPerformanceStartDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
PromotionDescriptionShort text describing the trade allowance. | String (60)Description | No | TAMTradeAllowanceAgreementHeaderEntity | |
PromotionDetailsFree text details about the trade allowance. | String (3999)MCRNotes | No | TAMTradeAllowanceAgreementHeaderEntity | |
PromotionPeriodTrade allowance agreement period linked to this record. | String (30)TAMPromotionPeriodId | No | TAMPromotionPeriod.PromotionPeriod | TAMTradeAllowanceAgreementHeaderEntity |
PromotionStatusStatus: in process, internal approved, confirmed or closed. | EnumTAMStatus (enum) | No | TAMTradeAllowanceAgreementHeaderEntity | |
QtyOverriddenYes/no flag showing whether the quantity was overridden. | EnumNoYesIdNoYes (enum) | No | TAMTradeAllowanceAgreementHeaderEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RequestedShipmentEndDateLast date of the requested shipment period. | DateMCRRequestedShipEndDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
RequestedShipmentStartDateFirst date of the requested shipment period. | DateMCRRequestedShipStartDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
ShipmentEndDateLast date of the requested receipt period. | DateMCRShipmentEndDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
ShipmentStartDateFirst date of the requested receipt period. | DateMCRShipmentStartDate | No | TAMTradeAllowanceAgreementHeaderEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TemplateYes/no flag labelled "Template". | EnumNoYesIdNoYes (enum) | No | None | |
UnitIDUnit of measure used for the trade allowance. | StringUnitOfMeasureSymbol | Yes | UnitOfMeasure.Symbol | TAMTradeAllowanceAgreementHeaderEntity |
VerifyPerformanceYes/no flag labelled "Verify performance". | EnumNoYesIdNoYes (enum) | No | None | |
WFApprovalStatusWorkflow approval status: not submitted, in review, approved or rejected. | EnumTAMPromoMgmtApprovalStatus (enum) | No | TAMTradeAllowanceAgreementHeaderEntity |
Indexes (2)
PromoIDReplacement keyUnique, alternate key.
HcmWorkerIdxNot unique.
Relations (7)
Each relation joins TAMTradePromotion to another table on the fields shown.
Currency→CurrencyJoin on
Currency = Currency.CurrencyCodeMany TAMTradePromotion records → exactly one Currency record
CustTable→CustTableJoin on
CustAccount = CustTable.AccountNumMany TAMTradePromotion records → exactly one CustTable record
HcmWorkerId→HcmWorkerJoin on
HcmWorkerId = HcmWorker.RecIdMany TAMTradePromotion records → exactly one HcmWorker record
MarketingObjective→TAMMarketingObjectiveJoin on
MarketingObjective = TAMMarketingObjective.MarketingObjectiveMany TAMTradePromotion records → zero or one TAMMarketingObjective record
PromotionPeriod→TAMPromotionPeriodJoin on
PromotionPeriod = TAMPromotionPeriod.PromotionPeriodMany TAMTradePromotion records → zero or one TAMPromotionPeriod record
TAMTradePromotion→TAMTradePromotionJoin on
CustAccount = TAMTradePromotion.CustAccount,PromotionID = TAMTradePromotion.PromotionIDExactly one TAMTradePromotion record → zero or one TAMTradePromotion record
UnitOfMeasure→UnitOfMeasureJoin on
UnitID = UnitOfMeasure.SymbolMany 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.
TAMTradeAllowanceAgreementHeaderEntity· 22 fields from this tableTAMTradeAllowanceAgreementProductV2Entity· 1 field from this tableTAMTradeAllowanceAgreementFundEntity· 1 field from this tableTAMTradeAllowanceAgreementProductEntity· 1 field from this table
Need help with TAMTradePromotion in a report, an integration or a migration? Talk to Dr Dynamics.