Table

SysEmailMessageTable

Email messages

Holds the text of an email template for each language. Each record is identified by the email ID and the language. The email ID links to the Emails table and the language links to the Languages table. The body can be stored as HTML or as XSLT.

Table name
SysEmailMessageTable
Module
System administration
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
IdLanguageIdIdx
Replacement key
None
Key fields
EmailId, LanguageId
Model
ApplicationFoundation

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EmailIdIdentifies the email template that this message text belongs to.String
SysEmailId
YesSysEmailTable.EmailIdNone
LanguageIdLanguage of this version of the message.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
LayoutTypeShows whether the message is laid out as HTML or as XSLT.Enum
SysEmailLayoutType (enum)
NoNone
MailBody text of the email message, used when the layout is HTML.String (-1)
SysEmailContents
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SubjectSubject line of the email message.String (128)
SysEmailSubject
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
XSLTMailBody contents of the message, used when the layout is XSLT.String (-1)
SysEmailContents
NoNone

Indexes (1)

Relations (2)

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

  • LanguageTable → LanguageTable

    Join on LanguageId = LanguageTable.LanguageId, LanguageTable.LabelFile = 1

    Many SysEmailMessageTable records → zero or one LanguageTable record

  • SysEmailTable → SysEmailTable

    Join on EmailId = SysEmailTable.EmailId

    Many SysEmailMessageTable records → exactly one SysEmailTable record

Get this data out

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

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

Email sales@drdynamics.co.uk