Table

TAMPromotionFund

Trade allowance funds

Links trade allowance funds to a trade allowance, a customer and a merchandising event. It stores the share of the event cost that each fund covers.

Table name
TAMPromotionFund
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 (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
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
FundID of the trade allowance fund.String (30)
TAMFundID
YesTAMFundTable.FundIDTAMTradeAllowanceAgreementFundEntityTAMTradeAllowanceAgreementMerchandisingEventFundEntity
MerchandisingEventIDMerchandising event this fund row belongs to.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
PercentShare of the event cost allocated to the fund, as a percentage.Real
TAMFundPercent
NoTAMTradeAllowanceAgreementFundEntityTAMTradeAllowanceAgreementMerchandisingEventFundEntity
PromotionCustCustomer account linked to this fund row.String (20)
TAMPromotionCustAccount
NoCustTable.AccountNumNone
PromotionIDTrade allowance that this fund row belongs to.String
TAMPromotionID
NoTAMTradePromotion.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
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 TAMPromotionFund to another table on the fields shown.

  • CustTable → CustTable

    Join on PromotionCust = CustTable.AccountNum

    Many TAMPromotionFund records → exactly one CustTable record

  • TAMFundTable → TAMFundTable

    Join on Fund = TAMFundTable.FundID

    One or more TAMPromotionFund records → exactly one TAMFundTable record

  • TAMMerchandisingEvent → TAMMerchandisingEvent

    Join on MerchandisingEventID = TAMMerchandisingEvent.MerchandisingEventID

    Many TAMPromotionFund records → zero or one TAMMerchandisingEvent record

  • TAMTradePromotion → TAMTradePromotion

    Join on PromotionID = TAMTradePromotion.PromotionID

    Many TAMPromotionFund records → zero or one TAMTradePromotion record

Get this data out

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

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

Email sales@drdynamics.co.uk