Table
smmCampaignTable
Campaigns
Holds marketing campaigns, one row per CampaignId. Each campaign has dates, a status, an owner and a type or group. It can link to a parent campaign, a target, a call list, a questionnaire, a project and an email template.
- Table name
smmCampaignTable- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
SmmMA- Primary index
CampaignIdx- Replacement key
CampaignIdx- Key fields
CampaignId- Model
Foundation
Fields (46)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CampaignIdUnique code that identifies the campaign. | StringsmmCampaignId | Yes | DimAttributeSmmCampaignTableEntity | |
AnsweredShows whether the campaign has received a response. | EnumsmmCampaignRespondedNoYes (enum) | No | None | |
CampaignAttentionContact name or attention line for the campaign. | String (30)smmCampaignAttention | No | None | |
CampaignBusRelWithoutContactsShows whether prospects that have no contacts are included in the campaign. | EnumsmmCampaignBusRelWithoutContactsNoYes (enum) | No | None | |
CampaignClosedShows whether the campaign is closed. | EnumsmmCampaignClosedNoYes (enum) | No | None | |
CampaignCommentFree-text notes about the campaign. | String (-1)smmCampaignComment | No | None | |
CampaignDateDate the campaign starts. | DatesmmCampaignDate | No | None | |
CampaignEndDateDate the campaign ends. | DatesmmCampaignEndDate | No | None | |
CampaignFollowUpActivityActivity planned as the follow-up to the campaign. | String (50)smmCampaignActivityFollowUp | No | smmActivities.ActivityNumber | None |
CampaignFollowUpDateDate planned for the follow-up. | DatesmmCampaignFollowUpDate | No | None | |
CampaignGroupIdCampaign group the campaign belongs to. | StringsmmCampaignGroupId | No | smmCampaignGroup.CampaignGroupId | None |
CampaignNameShort name of the campaign. | String (60)smmCampaignName | No | DimAttributeSmmCampaignTableEntity | |
CampaignOverruleDMYes/No flag called Overrule DM. The metadata does not say what it overrides.low confidence | EnumsmmCampaignOverruleDMNoYes (enum) | No | None | |
CampaignParentIdParent campaign, when this campaign is a subcampaign. | StringsmmCampaignParentId | No | smmCampaignTable.CampaignId | None |
CampaignProjectJournalTypeType of project journal for the campaign: expense, hours or item. | EnumsmmCampaignProjectJournalType (enum) | No | None | |
CampaignReasonIdReason given when the campaign is cancelled. | String (20)smmCampaignReasonId | No | smmCampaignReasonGroup.ReasonId | None |
CampaignRespWorkerWorker who owns the campaign. | Int64CrmWorkerRecId | No | HcmWorker.RecId | None |
CampaignStatusStage of the campaign, such as Planning, In process, Response, Follow-up, Closed or Canceled. | EnumsmmCampaignStatus (enum) | No | None | |
CampaignTargetFree-text description of the campaign target. | String (-1)smmCampaignTarget | No | None | |
CampaignTargetGroupFree-text description of the target group. | String (-1)smmCampaignTargetGroup | No | None | |
CampaignTargetIdCampaign target record that the campaign uses. | StringsmmCampaignTargetId | No | smmCampaignTargetTable.TargetId | None |
CampaignTypeIdType of the campaign. | StringsmmCampaignTypeId | No | smmCampaignTypeGroup.CampaignTypeId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionLonger description of the campaign. | String (-1)RetailMemo | No | None | |
EmailBroadcastNameName of the campaign email template used for broadcasts. | String (25)smmCampaignBroadcastName | No | smmCampaignEmailTemplate.Name | None |
EmailBroadcastSubjectSubject line for the campaign email broadcast. | String (25)smmCampaignBroadcastSubject | No | None | |
EmailBroadcastTextBody text of the campaign email broadcast. | String (-1)smmCampaignBroadcastText | No | None | |
KMCollectionIdQuestionnaire linked to the campaign. | StringKMCollectionId | No | KMCollection.kmCollectionId | None |
MaskFormat pattern used for subcampaign IDs. | String (20)NumberSequenceFormat | No | None | |
MCRSourceIDSource code linked to the campaign. | String (20)MCRSourceID | No | MCRSourceCodeSetup.SourceID | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessNameCampaign process, linked to a hierarchy. | String (20)smmCampaignProcess | No | None | |
ProjFatherIdParent project of the linked project. | String (20)ProjParentId | No | ProjTable.ProjId | None |
ProjIdProject linked to the campaign. | String (20)ProjId | No | ProjTable.ProjId | None |
ProjJournalNameIdProject journal name used for the campaign. | StringProjJournalNameId | No | ProjJournalName.JournalNameId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TAMPromotionIDTrade allowance ID linked to the campaign. | StringTAMPromotionID | No | None | |
TMCallListIDCall list group linked to the campaign. | String (20)smmTMCallListID | No | smmTMCallListGroup.CallListID | None |
WorkerWorker linked to the campaign. | Int64CrmWorkerRecId | No | HcmWorker.RecId | None |
Indexes (8)
NameDateIdxNot unique.
HcmWorkerIdxNot unique.
HcmWorkerIdx1Not unique.
CampaignIdxPrimary indexReplacement keyUnique, alternate key.
ParentIdxNot unique.
ProjectIdxNot unique.
CallListIdxNot unique.
MCRSourceIdxNot unique.
Relations (16)
Each relation joins smmCampaignTable to another table on the fields shown.
CamaignRespWorker→HcmWorkerJoin on
CampaignRespWorker = HcmWorker.RecIdMany smmCampaignTable records → zero or one HcmWorker record
Hierarchy→HierarchyJoin on
ProcessName = Hierarchy.Name,Hierarchy.IsActive = 1,Hierarchy.IsTemplate = 1,Hierarchy.HierarchyType = HierarchyType::CampaignMany smmCampaignTable records → zero or one Hierarchy record
KMCollection→KMCollectionJoin on
KMCollectionId = KMCollection.kmCollectionIdMany smmCampaignTable records → zero or one KMCollection record
MCRSourceCodeSetup→MCRSourceCodeSetupJoin on
MCRSourceID = MCRSourceCodeSetup.SourceIDMany smmCampaignTable records → exactly one MCRSourceCodeSetup record
ParentProject→ProjTableJoin on
ProjFatherId = ProjTable.ProjIdMany smmCampaignTable records → zero or one ProjTable record
Project→ProjTableJoin on
ProjId = ProjTable.ProjIdMany smmCampaignTable records → zero or one ProjTable record
ProjJournalName→ProjJournalNameJoin on
ProjJournalNameId = ProjJournalName.JournalNameIdMany smmCampaignTable records → zero or one ProjJournalName record
smmActivities→smmActivitiesJoin on
CampaignFollowUpActivity = smmActivities.ActivityNumberMany smmCampaignTable records → zero or one smmActivities record
smmCampaignEmailTemplate→smmCampaignEmailTemplateJoin on
EmailBroadcastName = smmCampaignEmailTemplate.NameMany smmCampaignTable records → zero or one smmCampaignEmailTemplate record
smmCampaignGroup→smmCampaignGroupJoin on
CampaignGroupId = smmCampaignGroup.CampaignGroupIdMany smmCampaignTable records → zero or one smmCampaignGroup record
smmCampaignReasonGroup→smmCampaignReasonGroupJoin on
CampaignReasonId = smmCampaignReasonGroup.ReasonIdMany smmCampaignTable records → zero or one smmCampaignReasonGroup record
smmCampaignTable→smmCampaignTableJoin on
CampaignParentId = smmCampaignTable.CampaignIdMany smmCampaignTable records → zero or one smmCampaignTable record
smmCampaignTargetTable→smmCampaignTargetTableJoin on
CampaignTargetId = smmCampaignTargetTable.TargetIdMany smmCampaignTable records → zero or one smmCampaignTargetTable record
smmCampaignTypeGroup→smmCampaignTypeGroupJoin on
CampaignTypeId = smmCampaignTypeGroup.CampaignTypeIdMany smmCampaignTable records → zero or one smmCampaignTypeGroup record
smmTMCallListGroup→smmTMCallListGroupJoin on
TMCallListID = smmTMCallListGroup.CallListIDMany smmCampaignTable records → zero or one smmTMCallListGroup record
Worker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany smmCampaignTable records → zero or one HcmWorker record
Get this data out
Tables are not exposed directly. These public entities read from smmCampaignTable; use one of them in Power BI, Power Platform or a data management project.
DimAttributeSmmCampaignTableEntity· 2 fields from this table
Need help with smmCampaignTable in a report, an integration or a migration? Talk to Dr Dynamics.