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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
KeyIdNumber that identifies the mailing. | StringsmmKeyId | Yes | None | |
ActualDateDate on which the mailing was sent. | DateTransDate | No | None | |
CategoryIdMailing category of the mailing. Points to the mailing category record. | String (20)smmMailingCategoryId | Yes | smmMailingCategoryGroup.CategoryId | None |
CategoryItemIdItem within the mailing category. Used together with the category to find the item. | String (20)smmMailingCategoryItemId | Yes | smmMailingGroup.CategoryItemId | None |
ContactPersonIdContact the mailing is linked to. Points to the contact record. | String (20)ContactPersonId | Yes | ContactPerson.ContactPersonId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
MailingDateDate on which the mailing is planned. | DateTransDate | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyParty the mailing is linked to, such as a customer or vendor, shown as a name. | Int64DirPartyRecId | Yes | CustTable.PartyDirPartyTable.RecIdVendTable.PartysmmBusRelTable.Party | 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 | |
StatusShows the state of the mailing: Not sent, Sent or Regular. | EnumsmmMailingStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
DirectoryIdxNot unique.
ContactPersonIdxNot unique.
KeyIdxPrimary indexReplacement keyUnique, alternate key.
Relations (11)
Each relation joins smmMailings to another table on the fields shown.
ContactPerson→ContactPersonJoin on
ContactPersonId = ContactPerson.ContactPersonIdMany smmMailings records → exactly one ContactPerson record
CustTable→CustTableJoin on
Party = CustTable.PartyMany smmMailings records → exactly one CustTable record
DirAddressBookParty→DirAddressBookPartyAllViewJoin on
Party = DirAddressBookPartyAllView.PartyCardinality not set in the metadata.
DirPartyTable_FK→DirPartyTableJoin on
Party = DirPartyTable.RecIdMany smmMailings records → exactly one DirPartyTable record
DocuRef→DocuRefJoin on
RecId = DocuRef.RefRecIdCardinality not set in the metadata.
smmBusRelTable→smmBusRelTableJoin on
Party = smmBusRelTable.PartyMany smmMailings records → exactly one smmBusRelTable record
smmMailingCategoryGroup→smmMailingCategoryGroupJoin on
CategoryId = smmMailingCategoryGroup.CategoryIdMany smmMailings records → exactly one smmMailingCategoryGroup record
smmMailingGroup→smmMailingGroupJoin on
CategoryId = smmMailingGroup.CategoryId,CategoryItemId = smmMailingGroup.CategoryItemIdMany smmMailings records → exactly one smmMailingGroup record
smmMailings→smmMailingsJoin on
KeyId = smmMailings.KeyIdCardinality not set in the metadata.
smmTMCallListTable→smmTMCallListTableJoin on
Party = smmTMCallListTable.PartyCardinality not set in the metadata.
VendTable→VendTableJoin on
Party = VendTable.PartyMany 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.