Table

smmCampaignTempSelection

Campaign temporary selections

Temporary selections for campaigns. Each row pairs a campaign with a contact, a party and the name of the query used. It has no defined key and links to the campaign query and contact records.

Table name
smmCampaignTempSelection
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 (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CampaignIdThe campaign the temporary selection is for.String
smmCampaignId
NosmmCampaignTable.CampaignIdNone
ContactPersonIdThe contact person in the selection.String (20)
ContactPersonId
NoContactPerson.ContactPersonIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
NameIdName of the campaign query linked to the selection.String (60)
smmCampaignQueryName
NosmmCampaignQuery.NameIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyThe party in the selection, shown as a name from the global address book.Int64
DirPartyRecId
NoDirPartyTable.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (4)

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

  • CampaignQueries → smmCampaignQuery

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

    Many smmCampaignTempSelection records → zero or one smmCampaignQuery record

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmCampaignTempSelection records → zero or one ContactPerson record

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmCampaignTempSelection records → zero or one DirPartyTable record

  • smmCampaignTable → smmCampaignTable

    Join on CampaignId = smmCampaignTable.CampaignId

    Many smmCampaignTempSelection records → zero or one smmCampaignTable record

Get this data out

No public entity reads from smmCampaignTempSelection. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk