Table

RetailEventNotificationLog

Commerce email notification log

Log of commerce email notifications. Each row stores the sender, receiver, subject, content, language and send time. It also shows whether the email was built and sent, with any error message. Rows can link to a sales order, packing slip, credit card transaction and other source records.

Table name
RetailEventNotificationLog
Module
Commerce transactions and orders
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (17)

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, linked to a language record.String (7)
LanguageId
NoLanguageTable.LanguageIdNone
EmailConstructedSuccessfullyYes or no: whether the email was built successfully.Enum
RetailEventNotificationEmailConstructedSuccessfully
NoYes (enum)
NoNone
EmailMessageBody text of the email.String (-1)
SysEmailContents
NoNone
EmailSubjectSubject line of the email.String (128)
SysEmailSubject
NoNone
ErrorMessageError text recorded when sending the email failed.String (100)
RetailEventNotificationErrorMessage
NoNone
EventNotificationTypeType of notification, such as order confirmed 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
RefRecIdRecord ID of the source record for the notification, for example a credit card transaction, packing slip or sales order.Int64
RefRecId
NoCreditCardAuthTrans.RecIdCustPackingSlipJour.RecIdSalesTable.RecIdShipCarrierStaging.RecIdWMSPickingRoute.RecIdNone
SalesOrderRecord ID of the related sales order.Int64
RefRecId
NoSalesTable.RecIdNone
SenderEmailAddressEmail address the message was sent from.String (80)
SysEmailAddress
NoNone
SentDateTimeDate and time the email was sent.UtcDateTime
UTCTimestamp
NoNone
SentSuccessfullyYes or no: whether the email was sent without failure.Enum
RetailEmailSentSuccessfully
NoYes (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (8)

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

  • CreditCardAuthTrans → CreditCardAuthTrans

    Join on EventNotificationType = RetailEventNotificationType::PaymentFailed, RefRecId = CreditCardAuthTrans.RecId

    Many RetailEventNotificationLog records → zero or one CreditCardAuthTrans record

  • CustPackingSlipJour → CustPackingSlipJour

    Join on EventNotificationType = RetailEventNotificationType::PackingComplete, RefRecId = CustPackingSlipJour.RecId

    Many RetailEventNotificationLog records → zero or one CustPackingSlipJour record

  • LanguageTable → LanguageTable

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

    Many RetailEventNotificationLog records → exactly one LanguageTable record

  • MainSalesTable → SalesTable

    Join on SalesOrder = SalesTable.RecId

    Many RetailEventNotificationLog records → exactly one SalesTable record

  • RefSalesTable → SalesTable

    Join on EventNotificationType = RetailEventNotificationType::OrderCreation, RefRecId = SalesTable.RecId

    Many RetailEventNotificationLog records → zero or one SalesTable record

  • RefSalesTable2 → SalesTable

    Join on EventNotificationType = RetailEventNotificationType::OrderConfirmation, RefRecId = SalesTable.RecId

    Many RetailEventNotificationLog records → zero or one SalesTable record

  • ShipCarrierStaging → ShipCarrierStaging

    Join on EventNotificationType = RetailEventNotificationType::Shipment, RefRecId = ShipCarrierStaging.RecId

    Many RetailEventNotificationLog records → zero or one ShipCarrierStaging record

  • WMSPickingRoute → WMSPickingRoute

    Join on EventNotificationType = RetailEventNotificationType::PickingComplete, RefRecId = WMSPickingRoute.RecId

    Many RetailEventNotificationLog records → zero or one WMSPickingRoute record

Get this data out

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

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

Email sales@drdynamics.co.uk