Table
TAMPromotionItem
Trade allowance items
Holds the items included in a trade allowance. Each row links an item, with its inventory dimensions, to a trade allowance, a customer and a merchandising event. It stores prices, a unit and a weighting.
- Table name
TAMPromotionItem- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
TAMPromotionsManagement- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
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 | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DeviatedPostingYes/no value for deviated posting. The metadata does not say more.low confidence | EnumNoYesCombo (enum) | No | None | |
InventDimIDInventory dimension combination for the item. | String (20)InventDimId | Yes | InventDim.inventDimId | None |
ItemIDItem number of the product in the trade allowance. | String (20)ItemId | Yes | InventTable.ItemId | TAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementMerchandisingEventProductEntityand 1 more |
MerchandisingEventIDMerchandising event this item row belongs to. | StringMCRMerchandisingEventID | No | TAMMerchandisingEvent.MerchandisingEventID | None |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PromoPricePrice of the item under the trade allowance. | RealTAMPromoPrice | No | None | |
PromotionCustCustomer account linked to this item row. | String (20)TAMPromotionCustAccount | No | CustTable.AccountNum | None |
PromotionIDTrade allowance that includes this item. | StringTAMPromotionID | No | TAMTradePromotion.PromotionID | None |
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 | |
ShelfPriceShelf price of the item. | RealMCRShelfPrice | No | None | |
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 | |
UnitIDUnit of measure for the item. | StringUnitOfMeasureSymbol | Yes | TAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementMerchandisingEventProductEntityand 1 more | |
WeightingWeighting value for the item. | RealMCRWeighting | No | TAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementMerchandisingEventProductEntityand 1 more |
Indexes (2)
PromotionIDNot unique.
PromotionIDItemDIMMerchandisingEventID,ItemID,PromotionID,InventDimID,UnitID,PromotionCustUnique, alternate key.
Relations (5)
Each relation joins TAMPromotionItem to another table on the fields shown.
CustTable→CustTableJoin on
PromotionCust = CustTable.AccountNumOne or more TAMPromotionItem records → exactly one CustTable record
InventDim→InventDimJoin on
InventDimID = InventDim.inventDimIdOne or more TAMPromotionItem records → exactly one InventDim record
InventTable→InventTableJoin on
ItemID = InventTable.ItemIdOne or more TAMPromotionItem records → exactly one InventTable record
TAMMerchandisingEvent→TAMMerchandisingEventJoin on
MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventIDMany TAMPromotionItem records → zero or one TAMMerchandisingEvent record
TAMTradePromotion→TAMTradePromotionJoin on
PromotionID = TAMTradePromotion.PromotionIDMany TAMPromotionItem records → zero or one TAMTradePromotion record
Get this data out
Tables are not exposed directly. These public entities read from TAMPromotionItem; use one of them in Power BI, Power Platform or a data management project.
TAMTradeAllowanceAgreementMerchandisingEventProductV2Entity· 3 fields from this tableTAMTradeAllowanceAgreementProductV2Entity· 3 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventProductEntity· 3 fields from this tableTAMTradeAllowanceAgreementProductEntity· 3 fields from this table
Need help with TAMPromotionItem in a report, an integration or a migration? Talk to Dr Dynamics.