Table

SysMessage

Messages

Holds messages that are placed in a queue for processing. Each row has a queue, a message type and the message content. It links to message targets through two reference fields.

Table name
SysMessage
Module
Cross-module and platform
Table group
Main
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
MessageProcessor

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ContentFull text content of the message.String (-1)
SysMessageContent
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
MessageQueueQueue that the message belongs to, such as warehouse, production or shipment orders.Enum
SysMessageQueue (enum)
YesNone
MessageTargetPoints to the message target record for this message.Int64
SysMessageTargetRecId
YesSysMessageTarget.RecIdNone
MessageTypeKind of message, for example a despatch advice or a sales quotation action.Enum
SysMessageType (enum)
YesNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
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
SourceMessageTargetPoints to the message target record that the message came from.Int64
SysMessageTargetRecId
NoSysMessageTarget.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (4)

Relations (2)

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

  • MessageTarget → SysMessageTarget

    Join on MessageTarget = SysMessageTarget.RecId

    Many SysMessage records → exactly one SysMessageTarget record

  • SourceMessageTarget → SysMessageTarget

    Join on SourceMessageTarget = SysMessageTarget.RecId

    Many SysMessage records → zero or one SysMessageTarget record

Get this data out

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

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

Email sales@drdynamics.co.uk