Table

smmMailings

Mailings

Holds mailings, identified by a mailing number (KeyId). Each mailing has a category and item, a planned date, a date sent and a status. It can link to a contact or to a party such as a customer or vendor.

Table name
smmMailings
Module
Sales and marketing
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
SmmCRM
Primary index
KeyIdx
Replacement key
KeyIdx
Key fields
KeyId
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
KeyIdNumber that identifies the mailing.String
smmKeyId
YesNone
ActualDateDate on which the mailing was sent.Date
TransDate
NoNone
CategoryIdMailing category of the mailing. Points to the mailing category record.String (20)
smmMailingCategoryId
YessmmMailingCategoryGroup.CategoryIdNone
CategoryItemIdItem within the mailing category. Used together with the category to find the item.String (20)
smmMailingCategoryItemId
YessmmMailingGroup.CategoryItemIdNone
ContactPersonIdContact the mailing is linked to. Points to the contact record.String (20)
ContactPersonId
YesContactPerson.ContactPersonIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
MailingDateDate on which the mailing is planned.Date
TransDate
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyParty the mailing is linked to, such as a customer or vendor, shown as a name.Int64
DirPartyRecId
YesCustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.PartyNone
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
StatusShows the state of the mailing: Not sent, Sent or Regular.Enum
smmMailingStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

  • DirectoryIdx

    Party

    Not unique.

  • ContactPersonIdx

    ContactPersonId

    Not unique.

  • KeyIdxPrimary indexReplacement key

    KeyId

    Unique, alternate key.

Relations (11)

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

  • ContactPerson → ContactPerson

    Join on ContactPersonId = ContactPerson.ContactPersonId

    Many smmMailings records → exactly one ContactPerson record

  • CustTable → CustTable

    Join on Party = CustTable.Party

    Many smmMailings 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 smmMailings records → exactly one DirPartyTable record

  • DocuRef → DocuRef

    Join on RecId = DocuRef.RefRecId

    Cardinality not set in the metadata.

  • smmBusRelTable → smmBusRelTable

    Join on Party = smmBusRelTable.Party

    Many smmMailings records → exactly one smmBusRelTable record

  • smmMailingCategoryGroup → smmMailingCategoryGroup

    Join on CategoryId = smmMailingCategoryGroup.CategoryId

    Many smmMailings records → exactly one smmMailingCategoryGroup record

  • smmMailingGroup → smmMailingGroup

    Join on CategoryId = smmMailingGroup.CategoryId, CategoryItemId = smmMailingGroup.CategoryItemId

    Many smmMailings records → exactly one smmMailingGroup record

  • smmMailings → smmMailings

    Join on KeyId = smmMailings.KeyId

    Cardinality not set in the metadata.

  • smmTMCallListTable → smmTMCallListTable

    Join on Party = smmTMCallListTable.Party

    Cardinality not set in the metadata.

  • VendTable → VendTable

    Join on Party = VendTable.Party

    Many smmMailings records → exactly one VendTable record

Get this data out

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

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

Email sales@drdynamics.co.uk