Table

TAMMerchEventTrans

Merchandising event transactions

Stores transactions for merchandising events. Each row links to a merchandising event and a trade allowance, and holds an account, an amount, a currency, a process date and invoice numbers. No key is defined in the metadata.

Table name
TAMMerchEventTrans
Module
Sales and marketing
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumAccount number of the customer or vendor on the transaction.String (20)
CustVendAC
NoNone
AmountAmount of the transaction, in the transaction currency.Real
AmountCur
NoNone
CurrencyCodeCurrency of the transaction. Points to the currency table.String (3)
CurrencyCode
YesCurrency.CurrencyCodeNone
CustInvoiceNumCustomer invoice number for the lump sum.String (20)
TAMLumpSumCustInvoiceNum
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MerchandisingEventIDID of the merchandising event. Points to the merchandising event record.String
MCRMerchandisingEventID
NoTAMMerchandisingEvent.MerchandisingEventIDNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessDateDate on which the transaction was processed.Date
TAMProcessDate
NoNone
PromotionIDID of the trade allowance. Points to the trade allowance record.String
TAMPromotionID
YesTAMTradePromotion.PromotionIDNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendInvoiceNumVendor invoice number for the lump sum.String (20)
TAMLumpSumVendInvoiceNum
NoNone

Indexes (2)

Relations (3)

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

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many TAMMerchEventTrans records → exactly one Currency record

  • TAMMerchandisingEvent → TAMMerchandisingEvent

    Join on MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Many TAMMerchEventTrans records → zero or one TAMMerchandisingEvent record

  • TAMTradePromotion → TAMTradePromotion

    Join on PromotionID = TAMTradePromotion.PromotionID

    Many TAMMerchEventTrans records → exactly one TAMTradePromotion record

Get this data out

No public entity reads from TAMMerchEventTrans. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk