Table

smmCampaignSelectionResult

Campaign temporary selections

Temporary selection results for campaigns, labelled as temporary selections. Each row pairs a campaign with a contact and a party from the global address book. It has no defined key.

Table name
smmCampaignSelectionResult
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 (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CampaignIdThe campaign the temporary selection is for.String
smmCampaignId
YessmmCampaignTable.CampaignIdNone
ContactPersonIdThe contact person in the selection.String (20)
smmContactPerson
YesContactPerson.ContactPersonIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
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 smmCampaignSelectionResult to another table on the fields shown.

  • CampaignQueries → smmCampaignQuery

    Join on CampaignId = smmCampaignQuery.CampaignId

    Cardinality not set in the metadata.

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmCampaignSelectionResult records → exactly one ContactPerson record

  • DirPartyTable_FK → DirPartyTable

    Join on Party = DirPartyTable.RecId

    Many smmCampaignSelectionResult records → zero or one DirPartyTable record

  • smmCampaignTable → smmCampaignTable

    Join on CampaignId = smmCampaignTable.CampaignId

    Many smmCampaignSelectionResult records → exactly one smmCampaignTable record

Get this data out

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

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

Email sales@drdynamics.co.uk