Table

TAMPromotionCust

Promotional customers

Links customers to trade allowances. The key is the trade allowance ID together with the customer account. Rows can also point to a merchandising event.

Table name
TAMPromotionCust
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
TAMPromotionsManagement
Primary index
PromotionCustAccountIdx
Replacement key
PromotionCustAccountIdx
Key fields
PromotionID, CustAccount
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PromotionIDTrade allowance that the customer is linked to.String
TAMPromotionID
YesTAMTradePromotion.PromotionIDNone
CustAccountCustomer account taking part in the trade allowance.String (20)
CustAccount
YesCustTable.AccountNumTAMTradeAllowanceAgreementMerchandisingEventProductV2EntityTAMTradeAllowanceAgreementProductV2EntityTAMTradeAllowanceAgreementFundEntityand 9 more
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MerchandisingEventIDMerchandising event linked to this row.String
MCRMerchandisingEventID
NoTAMMerchandisingEvent.MerchandisingEventIDNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PromotionCustCustomer account of the promotion. It repeats the customer link used on related tables.String (20)
TAMPromotionCustAccount
NoCustTable.AccountNumNone
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
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

Indexes (2)

Relations (4)

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

  • CustAccount → CustTable

    Join on CustAccount = CustTable.AccountNum

    One or more TAMPromotionCust records → exactly one CustTable record

  • TAMMerchandisingEvent → TAMMerchandisingEvent

    Join on MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Exactly one TAMPromotionCust record → exactly one TAMMerchandisingEvent record

  • TAMPromotionCustAccount → CustTable

    Join on PromotionCust = CustTable.AccountNum

    One or more TAMPromotionCust records → exactly one CustTable record

  • TAMTradePromotion → TAMTradePromotion

    Join on PromotionID = TAMTradePromotion.PromotionID

    Many TAMPromotionCust records → exactly one TAMTradePromotion record

Get this data out

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

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

Email sales@drdynamics.co.uk