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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CampaignIdUnique code that identifies the campaign.String
smmCampaignId
YesDimAttributeSmmCampaignTableEntity
AnsweredShows whether the campaign has received a response.Enum
smmCampaignResponded
NoYes (enum)
NoNone
CampaignAttentionContact name or attention line for the campaign.String (30)
smmCampaignAttention
NoNone
CampaignBusRelWithoutContactsShows whether prospects that have no contacts are included in the campaign.Enum
smmCampaignBusRelWithoutContacts
NoYes (enum)
NoNone
CampaignClosedShows whether the campaign is closed.Enum
smmCampaignClosed
NoYes (enum)
NoNone
CampaignCommentFree-text notes about the campaign.String (-1)
smmCampaignComment
NoNone
CampaignDateDate the campaign starts.Date
smmCampaignDate
NoNone
CampaignEndDateDate the campaign ends.Date
smmCampaignEndDate
NoNone
CampaignFollowUpActivityActivity planned as the follow-up to the campaign.String (50)
smmCampaignActivityFollowUp
NosmmActivities.ActivityNumberNone
CampaignFollowUpDateDate planned for the follow-up.Date
smmCampaignFollowUpDate
NoNone
CampaignGroupIdCampaign group the campaign belongs to.String
smmCampaignGroupId
NosmmCampaignGroup.CampaignGroupIdNone
CampaignNameShort name of the campaign.String (60)
smmCampaignName
NoDimAttributeSmmCampaignTableEntity
CampaignOverruleDMYes/No flag called Overrule DM. The metadata does not say what it overrides.low confidenceEnum
smmCampaignOverruleDM
NoYes (enum)
NoNone
CampaignParentIdParent campaign, when this campaign is a subcampaign.String
smmCampaignParentId
NosmmCampaignTable.CampaignIdNone
CampaignProjectJournalTypeType of project journal for the campaign: expense, hours or item.Enum
smmCampaignProjectJournalType (enum)
NoNone
CampaignReasonIdReason given when the campaign is cancelled.String (20)
smmCampaignReasonId
NosmmCampaignReasonGroup.ReasonIdNone
CampaignRespWorkerWorker who owns the campaign.Int64
CrmWorkerRecId
NoHcmWorker.RecIdNone
CampaignStatusStage of the campaign, such as Planning, In process, Response, Follow-up, Closed or Canceled.Enum
smmCampaignStatus (enum)
NoNone
CampaignTargetFree-text description of the campaign target.String (-1)
smmCampaignTarget
NoNone
CampaignTargetGroupFree-text description of the target group.String (-1)
smmCampaignTargetGroup
NoNone
CampaignTargetIdCampaign target record that the campaign uses.String
smmCampaignTargetId
NosmmCampaignTargetTable.TargetIdNone
CampaignTypeIdType of the campaign.String
smmCampaignTypeId
NosmmCampaignTypeGroup.CampaignTypeIdNone
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
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionLonger description of the campaign.String (-1)
RetailMemo
NoNone
EmailBroadcastNameName of the campaign email template used for broadcasts.String (25)
smmCampaignBroadcastName
NosmmCampaignEmailTemplate.NameNone
EmailBroadcastSubjectSubject line for the campaign email broadcast.String (25)
smmCampaignBroadcastSubject
NoNone
EmailBroadcastTextBody text of the campaign email broadcast.String (-1)
smmCampaignBroadcastText
NoNone
KMCollectionIdQuestionnaire linked to the campaign.String
KMCollectionId
NoKMCollection.kmCollectionIdNone
MaskFormat pattern used for subcampaign IDs.String (20)
NumberSequenceFormat
NoNone
MCRSourceIDSource code linked to the campaign.String (20)
MCRSourceID
NoMCRSourceCodeSetup.SourceIDNone
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
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessNameCampaign process, linked to a hierarchy.String (20)
smmCampaignProcess
NoNone
ProjFatherIdParent project of the linked project.String (20)
ProjParentId
NoProjTable.ProjIdNone
ProjIdProject linked to the campaign.String (20)
ProjId
NoProjTable.ProjIdNone
ProjJournalNameIdProject journal name used for the campaign.String
ProjJournalNameId
NoProjJournalName.JournalNameIdNone
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
TAMPromotionIDTrade allowance ID linked to the campaign.String
TAMPromotionID
NoNone
TMCallListIDCall list group linked to the campaign.String (20)
smmTMCallListID
NosmmTMCallListGroup.CallListIDNone
WorkerWorker linked to the campaign.Int64
CrmWorkerRecId
NoHcmWorker.RecIdNone

Indexes (8)

Relations (16)

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

  • CamaignRespWorker → HcmWorker

    Join on CampaignRespWorker = HcmWorker.RecId

    Many smmCampaignTable records → zero or one HcmWorker record

  • Hierarchy → Hierarchy

    Join on ProcessName = Hierarchy.Name, Hierarchy.IsActive = 1, Hierarchy.IsTemplate = 1, Hierarchy.HierarchyType = HierarchyType::Campaign

    Many smmCampaignTable records → zero or one Hierarchy record

  • KMCollection → KMCollection

    Join on KMCollectionId = KMCollection.kmCollectionId

    Many smmCampaignTable records → zero or one KMCollection record

  • MCRSourceCodeSetup → MCRSourceCodeSetup

    Join on MCRSourceID = MCRSourceCodeSetup.SourceID

    Many smmCampaignTable records → exactly one MCRSourceCodeSetup record

  • ParentProject → ProjTable

    Join on ProjFatherId = ProjTable.ProjId

    Many smmCampaignTable records → zero or one ProjTable record

  • Project → ProjTable

    Join on ProjId = ProjTable.ProjId

    Many smmCampaignTable records → zero or one ProjTable record

  • ProjJournalName → ProjJournalName

    Join on ProjJournalNameId = ProjJournalName.JournalNameId

    Many smmCampaignTable records → zero or one ProjJournalName record

  • smmActivities → smmActivities

    Join on CampaignFollowUpActivity = smmActivities.ActivityNumber

    Many smmCampaignTable records → zero or one smmActivities record

  • smmCampaignEmailTemplate → smmCampaignEmailTemplate

    Join on EmailBroadcastName = smmCampaignEmailTemplate.Name

    Many smmCampaignTable records → zero or one smmCampaignEmailTemplate record

  • smmCampaignGroup → smmCampaignGroup

    Join on CampaignGroupId = smmCampaignGroup.CampaignGroupId

    Many smmCampaignTable records → zero or one smmCampaignGroup record

  • smmCampaignReasonGroup → smmCampaignReasonGroup

    Join on CampaignReasonId = smmCampaignReasonGroup.ReasonId

    Many smmCampaignTable records → zero or one smmCampaignReasonGroup record

  • smmCampaignTable → smmCampaignTable

    Join on CampaignParentId = smmCampaignTable.CampaignId

    Many smmCampaignTable records → zero or one smmCampaignTable record

  • smmCampaignTargetTable → smmCampaignTargetTable

    Join on CampaignTargetId = smmCampaignTargetTable.TargetId

    Many smmCampaignTable records → zero or one smmCampaignTargetTable record

  • smmCampaignTypeGroup → smmCampaignTypeGroup

    Join on CampaignTypeId = smmCampaignTypeGroup.CampaignTypeId

    Many smmCampaignTable records → zero or one smmCampaignTypeGroup record

  • smmTMCallListGroup → smmTMCallListGroup

    Join on TMCallListID = smmTMCallListGroup.CallListID

    Many smmCampaignTable records → zero or one smmTMCallListGroup record

  • Worker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many 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.

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

Email sales@drdynamics.co.uk