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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CampaignIdThe campaign that the selection belongs to.String
smmCampaignId
YessmmCampaignTable.CampaignIdNone
PartyThe party the contact is for, pointing to a customer, vendor or address book party.Int64
DirPartyRecId
YesCustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartysmmQuotationCompetitorGroup.PartyNone
ContactPersonIdThe contact person selected for the campaign.String (20)
ContactPersonId
YesContactPerson.ContactPersonIdNone
ActivityNumberThe activity linked to this selection.String (50)
smmActivityNumber
NosmmActivities.ActivityNumberNone
AnswerFrequencyAnswer frequency, shown as a percentage.Integer
smmCampaignAnswerFrequency
NoNone
BroadcastTypeHow the campaign is sent to the target: email, mail, call list, or not broadcast.Enum
smmCampaignBroadcastType (enum)
NoNone
BusRelMainRespWorkerThe worker who is the main contact, pointing to a worker record.Int64
smmBusRelAccResponsibleWorker
NoHcmWorker.RecIdNone
CampaignResponseKind of response received: none, web or manual.Enum
smmCampaignResponse (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DistributionDateDate when the campaign was broadcast to this target.Date
smmCampaignBroadcastDate
NoNone
FollowUpRespWorkerThe worker who owns the follow-up, pointing to a worker record.Int64
CrmWorkerRecId
NoHcmWorker.RecIdNone
KMVirtualNetworkAnswerTableIdThe questionnaire answer linked to this selection.String
KMVirtualNetworkAnswerTableId
NoKMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableIdNone
NameIdName of the campaign query that produced the selection.String (60)
smmCampaignQueryName
NosmmCampaignQuery.NameIdNone
NumOfTargetsTotal number of targets, stored as a number.Real
smmCampaignNumOfTargets
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlannedDateDate planned for the campaign action.Date
smmCampaignPlannedDate
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
RespondedYes or No value showing whether the target responded.Enum
smmCampaignResponded
NoYes (enum)
NoNone
SysCheckParameterYes or No check flag. Its exact use is not stated in the metadata.low confidenceEnum
smmCampaignSysCheckParameter
NoYes (enum)
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

Indexes (5)

Relations (16)

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

  • CampaignQuery → smmCampaignQuery

    Join on NameId = smmCampaignQuery.NameId, CampaignId = smmCampaignQuery.CampaignId

    Many smmCampaignSelection records → zero or one smmCampaignQuery record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmCampaignSelection records → exactly one ContactPerson record

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Many smmCampaignSelection records → exactly one CustTable record

  • DirAddressBookParty → DirAddressBookPartyAllView

    Join on Party = DirAddressBookPartyAllView.Party

    Cardinality not set in the metadata.

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmCampaignSelection records → exactly one DirPartyTable record

  • FollowUpRespWorker → HcmWorker

    Join on FollowUpRespWorker = HcmWorker.RecId

    Many smmCampaignSelection records → zero or one HcmWorker record

  • KMVirtualNetworkAnswerLine → KMVirtualNetworkAnswerLine

    Join on KMVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerLine.kmVirtualNetworkAnswerTableId

    Cardinality not set in the metadata.

  • KMVirtualNetworkAnswerTable → KMVirtualNetworkAnswerTable

    Join on KMVirtualNetworkAnswerTableId = KMVirtualNetworkAnswerTable.kmVirtualNetworkAnswerTableId

    Many smmCampaignSelection records → zero or one KMVirtualNetworkAnswerTable record

  • MainRespWorker → HcmWorker

    Join on BusRelMainRespWorker = HcmWorker.RecId

    Many smmCampaignSelection records → zero or one HcmWorker record

  • smmActivities → smmActivities

    Join on ActivityNumber = smmActivities.ActivityNumber

    Many smmCampaignSelection records → zero or one smmActivities record

  • smmBusRelTable → smmBusRelTable

    Join on Party = smmBusRelTable.Party

    Many smmCampaignSelection records → exactly one smmBusRelTable record

  • smmCampaignTable → smmCampaignTable

    Join on CampaignId = smmCampaignTable.CampaignId

    Many smmCampaignSelection records → exactly one smmCampaignTable record

  • smmLeadTable → smmLeadTable

    Join on Party = smmLeadTable.Party

    Cardinality not set in the metadata.

  • smmOpportunityTable → smmOpportunityTable

    Join on Party = smmOpportunityTable.Party

    Cardinality not set in the metadata.

  • smmQuotationCompetitorGroup → smmQuotationCompetitorGroup

    Join on Party = smmQuotationCompetitorGroup.Party

    Many smmCampaignSelection records → exactly one smmQuotationCompetitorGroup record

  • VendTable → VendTable

    Join on Party = VendTable.Party

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

Email sales@drdynamics.co.uk