Table
TAMMerchandisingEvent
Merchandising event
Holds merchandising events, identified by an event ID. Each event can link to a trade allowance, a customer account and an event category. It also stores a description, a merchandise cost, a default type (off invoice, bill back or lump sum) and a claim pay method.
- Table name
TAMMerchandisingEvent- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
TAMPromotionsManagement- Primary index
MerchID- Replacement key
MerchID- Key fields
MerchandisingEventID- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MerchandisingEventIDUnique ID of the merchandising event. | StringMCRMerchandisingEventID | Yes | TAMTradeAllowanceAgreementMerchandisingEventEntityTAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntityand 5 more | |
ClaimPayTypeWay a claim for the event is paid: customer, invoice customer, vendor or none. | EnumMCRClaimPayType (enum) | No | None | |
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 | |
DescriptionShort text describing the event. | String (60)Description | No | TAMTradeAllowanceAgreementMerchandisingEventEntity | |
LedgerDimensionOffsetAccountOffset ledger account for the event, pointing to a dimension code combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
MerchandiseCostCost of the merchandise for the event. | RealAmountCur | No | TAMTradeAllowanceAgreementMerchandisingEventEntity | |
MerchandisingEventCategoryDefault type of the event: off invoice, bill back or lump sum. | EnumMCRMerchandisingEventCategory (enum) | No | TAMTradeAllowanceAgreementMerchandisingEventEntity | |
MerchEventTypeCategory of the event, pointing to a merchandising event type. | StringTAMMerchEventType | No | TAMMerchandisingEventType.TAMMerchEventType | TAMTradeAllowanceAgreementMerchandisingEventEntity |
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 | |
PromotionCustCustomer account linked to the event. | String (20)TAMPromotionCustAccount | No | CustTable.AccountNum | None |
PromotionIDID of the trade allowance that the event belongs to. | StringTAMPromotionID | Yes | TAMTradePromotion.PromotionID | TAMTradeAllowanceAgreementMerchandisingEventEntityTAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementMerchandisingEventBillBackEntityand 5 more |
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 | |
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 |
Indexes (3)
PromotionIDNot unique.
MerchIDPrimary indexReplacement keyUnique, alternate key.
DimensionAttributeValueCombinationIdx1Not unique.
Relations (4)
Each relation joins TAMMerchandisingEvent to another table on the fields shown.
CustTable→CustTableJoin on
PromotionCust = CustTable.AccountNumMany TAMMerchandisingEvent records → exactly one CustTable record
LedgerDimensionOffsetAccount→DimensionAttributeValueCombinationJoin on
LedgerDimensionOffsetAccount = DimensionAttributeValueCombination.RecIdMany TAMMerchandisingEvent records → zero or one DimensionAttributeValueCombination record
MerchEventType→TAMMerchandisingEventTypeJoin on
MerchEventType = TAMMerchandisingEventType.TAMMerchEventTypeMany TAMMerchandisingEvent records → zero or one TAMMerchandisingEventType record
TAMTradePromotion→TAMTradePromotionJoin on
PromotionID = TAMTradePromotion.PromotionIDMany TAMMerchandisingEvent records → exactly one TAMTradePromotion record
Get this data out
Tables are not exposed directly. These public entities read from TAMMerchandisingEvent; use one of them in Power BI, Power Platform or a data management project.
TAMTradeAllowanceAgreementMerchandisingEventEntity· 6 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventProductV2Entity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventBillBackEntity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventBillBackLineEntity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventDiscountEntity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventFundEntity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventLumpSumEntity· 2 fields from this tableTAMTradeAllowanceAgreementMerchandisingEventProductEntity· 2 fields from this table
Need help with TAMMerchandisingEvent in a report, an integration or a migration? Talk to Dr Dynamics.