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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CampaignIdID of the campaign that uses this media type. | StringsmmCampaignId | Yes | smmCampaignTable.CampaignId | None |
CampaignMediaTypeIdCode of the media type used by the campaign. | String (20)smmCampaignMediaTypeId | Yes | smmCampaignMediaTypeGroup.CampaignMediaTypeId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
FromDateDate from which the media type is used. | DateFromDate | No | None | |
IsSitesPublishedYes/No flag that shows whether pages are published to Sites Services. | EnumRetailPromotionPublishedNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
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 | |
RetailMediaChannelMessageTableSystem record ID of the media channel message linked to this row. | Int64RefRecId | No | RetailMediaChannelMessageTable.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateDate until which the media type is used. | DateToDate | No | None |
Indexes (2)
CampaignIdMediaIdxCampaignId,CampaignMediaTypeIdNot unique.
RetailMediaChannelMessageTableIdxRetailMediaChannelMessageTableNot unique.
Relations (3)
Each relation joins smmCampaignMediaType to another table on the fields shown.
RetailMediaChannelMessageTable→RetailMediaChannelMessageTableJoin on
RetailMediaChannelMessageTable = RetailMediaChannelMessageTable.RecIdMany smmCampaignMediaType records → zero or one RetailMediaChannelMessageTable record
smmCampaignMediaTypeGroup→smmCampaignMediaTypeGroupJoin on
CampaignMediaTypeId = smmCampaignMediaTypeGroup.CampaignMediaTypeIdMany smmCampaignMediaType records → exactly one smmCampaignMediaTypeGroup record
smmCampaignTable→smmCampaignTableJoin on
CampaignId = smmCampaignTable.CampaignIdMany 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.