Table

smmCampaignMediaType

Media type

Links a campaign to a media type for a date range. It can also point to a media channel message and has a flag for publishing to Sites Services. It has no defined key.

Table name
smmCampaignMediaType
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SmmMA
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CampaignIdID of the campaign that uses this media type.String
smmCampaignId
YessmmCampaignTable.CampaignIdNone
CampaignMediaTypeIdCode of the media type used by the campaign.String (20)
smmCampaignMediaTypeId
YessmmCampaignMediaTypeGroup.CampaignMediaTypeIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
FromDateDate from which the media type is used.Date
FromDate
NoNone
IsSitesPublishedYes/No flag that shows whether pages are published to Sites Services.Enum
RetailPromotionPublished
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
RetailMediaChannelMessageTableSystem record ID of the media channel message linked to this row.Int64
RefRecId
NoRetailMediaChannelMessageTable.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToDateDate until which the media type is used.Date
ToDate
NoNone

Indexes (2)

Relations (3)

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

  • RetailMediaChannelMessageTable → RetailMediaChannelMessageTable

    Join on RetailMediaChannelMessageTable = RetailMediaChannelMessageTable.RecId

    Many smmCampaignMediaType records → zero or one RetailMediaChannelMessageTable record

  • smmCampaignMediaTypeGroup → smmCampaignMediaTypeGroup

    Join on CampaignMediaTypeId = smmCampaignMediaTypeGroup.CampaignMediaTypeId

    Many smmCampaignMediaType records → exactly one smmCampaignMediaTypeGroup record

  • smmCampaignTable → smmCampaignTable

    Join on CampaignId = smmCampaignTable.CampaignId

    Many smmCampaignMediaType records → exactly one smmCampaignTable record

Get this data out

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

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

Email sales@drdynamics.co.uk