Table
smmCampaignSelection
Campaign selections
Holds the targets chosen for a campaign, such as contacts and parties. Each record is identified by the campaign, the party and the contact. It records broadcast type, planned and broadcast dates, response type and whether the target responded. It also links to the query, the activity, the questionnaire answer and the responsible workers.
- Table name
smmCampaignSelection- Module
Sales and marketing- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
SmmMA- Primary index
UniqueIdx- Replacement key
UniqueIdx- Key fields
CampaignId, Party, ContactPersonId- Model
Foundation
Fields (22)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CampaignIdThe campaign that the selection belongs to. | StringsmmCampaignId | Yes | smmCampaignTable.CampaignId | None |
PartyThe party the contact is for, pointing to a customer, vendor or address book party. | Int64DirPartyRecId | Yes | CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartysmmQuotationCompetitorGroup.Party | None |
ContactPersonIdThe contact person selected for the campaign. | String (20)ContactPersonId | Yes | ContactPerson.ContactPersonId | None |
ActivityNumberThe activity linked to this selection. | String (50)smmActivityNumber | No | smmActivities.ActivityNumber | None |
AnswerFrequencyAnswer frequency, shown as a percentage. | IntegersmmCampaignAnswerFrequency | No | None | |
BroadcastTypeHow the campaign is sent to the target: email, mail, call list, or not broadcast. | EnumsmmCampaignBroadcastType (enum) | No | None | |
BusRelMainRespWorkerThe worker who is the main contact, pointing to a worker record. | Int64smmBusRelAccResponsibleWorker | No | HcmWorker.RecId | None |
CampaignResponseKind of response received: none, web or manual. | EnumsmmCampaignResponse (enum) | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DistributionDateDate when the campaign was broadcast to this target. | DatesmmCampaignBroadcastDate | No | None | |
FollowUpRespWorkerThe worker who owns the follow-up, pointing to a worker record. | Int64CrmWorkerRecId | No | HcmWorker.RecId | None |
KMVirtualNetworkAnswerTableIdThe questionnaire answer linked to this selection. | StringKMVirtualNetworkAnswerTableId | No | KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId | None |
NameIdName of the campaign query that produced the selection. | String (60)smmCampaignQueryName | No | smmCampaignQuery.NameId | None |
NumOfTargetsTotal number of targets, stored as a number. | RealsmmCampaignNumOfTargets | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PlannedDateDate planned for the campaign action. | DatesmmCampaignPlannedDate | 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 | |
RespondedYes or No value showing whether the target responded. | EnumsmmCampaignRespondedNoYes (enum) | No | None | |
SysCheckParameterYes or No check flag. Its exact use is not stated in the metadata.low confidence | EnumsmmCampaignSysCheckParameterNoYes (enum) | 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 |
Indexes (5)
ActivityIdxNot unique.
PartyIdxNot unique.
HcmWorkerIdxNot unique.
HcmWorkerIdx1Not unique.
UniqueIdxPrimary indexReplacement keyCampaignId,Party,ContactPersonIdUnique, alternate key.
Relations (16)
Each relation joins smmCampaignSelection to another table on the fields shown.
CampaignQuery→smmCampaignQueryJoin on
NameId = smmCampaignQuery.NameId,CampaignId = smmCampaignQuery.CampaignIdMany smmCampaignSelection records → zero or one smmCampaignQuery record
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany smmCampaignSelection records → exactly one ContactPerson record
CustTable→CustTableJoin on
Party = CustTable.PartyMany smmCampaignSelection records → exactly one CustTable record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyCardinality not set in the metadata.
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany smmCampaignSelection records → exactly one DirPartyTable record
FollowUpRespWorker→HcmWorkerJoin on
FollowUpRespWorker = HcmWorker.RecIdMany smmCampaignSelection records → zero or one HcmWorker record
KMVirtualNetworkAnswerLine→KMVirtualNetworkAnswerLineJoin on
KMVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerLine.kmVirtualNetworkAnswerTableIdCardinality not set in the metadata.
KMVirtualNetworkAnswerTable→KMVirtualNetworkAnswerTableJoin on
KMVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableIdMany smmCampaignSelection records → zero or one KMVirtualNetworkAnswerTable record
MainRespWorker→HcmWorkerJoin on
BusRelMainRespWorker = HcmWorker.RecIdMany smmCampaignSelection records → zero or one HcmWorker record
smmActivities→smmActivitiesJoin on
ActivityNumber = smmActivities.ActivityNumberMany smmCampaignSelection records → zero or one smmActivities record
smmBusRelTable→smmBusRelTableJoin on
Party = smmBusRelTable.PartyMany smmCampaignSelection records → exactly one smmBusRelTable record
smmCampaignTable→smmCampaignTableJoin on
CampaignId = smmCampaignTable.CampaignIdMany smmCampaignSelection records → exactly one smmCampaignTable record
smmLeadTable→smmLeadTableJoin on
Party = smmLeadTable.PartyCardinality not set in the metadata.
smmOpportunityTable→smmOpportunityTableJoin on
Party = smmOpportunityTable.PartyCardinality not set in the metadata.
smmQuotationCompetitorGroup→smmQuotationCompetitorGroupJoin on
Party = smmQuotationCompetitorGroup.PartyMany smmCampaignSelection records → exactly one smmQuotationCompetitorGroup record
VendTable→VendTableJoin on
Party = VendTable.PartyMany smmCampaignSelection records → exactly one VendTable record
Get this data out
No public entity reads from smmCampaignSelection. Its data is only reachable through the application, a custom entity or a database export.
Need help with smmCampaignSelection in a report, an integration or a migration? Talk to Dr Dynamics.