Table

RetailCustEmailNotificationLog

Commerce email notification log

Log of email notifications sent to customers from commerce. Each record keeps the subject, contents, sender, receiver, language and send time. It also holds the notification type, such as order created or payment failed, and a link to the sales order.

Table name
RetailCustEmailNotificationLog
Module
Commerce customers
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultLanguageLanguage of the email.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
EmailMessageBody text of the email.String (-1)
SysEmailContents
NoNone
EmailSubjectSubject line of the email.String (128)
SysEmailSubject
NoNone
EventNotificationTypeEvent that triggered the email, such as order created, order shipped or password reset.Enum
RetailEventNotificationType (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReceiverEmailAddressEmail address the message was sent to.String (80)
SysEmailAddress
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
RefRecIdGeneric system record ID reference; the target table is not stated.low confidenceInt64
RefRecId
NoNone
SalesOrderSystem record ID reference to the sales order; the table is not stated.low confidenceInt64
RefRecId
NoNone
SalesOrderNoSales order number the email relates to.String (20)
SalesIdBase
NoSalesTable.SalesIdNone
SenderEmailAddressEmail address the message was sent from.String (80)
SysEmailAddress
NoNone
SentDateTimeDate and time the email was sent.UtcDateTime
UTCTimestamp
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (2)

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

  • LanguageTable → LanguageTable

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

    Many RetailCustEmailNotificationLog records → exactly one LanguageTable record

  • SalesTable → SalesTable

    Join on SalesOrderNo = SalesTable.SalesId

    Many RetailCustEmailNotificationLog records → exactly one SalesTable record

Get this data out

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

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

Email sales@drdynamics.co.uk