Table

SysMessageProcessingState

Processing state

Holds the processing state of each message. The key is Message, which points to JmgMES3PMessage or SysMessage. It also has the queue, the message target, the number of failed attempts and a state from None to Failed.

Table name
SysMessageProcessingState
Module
System administration
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
MessageIdx
Replacement key
None
Key fields
Message
Model
MessageProcessor

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
MessageThe message this state belongs to. It points to JmgMES3PMessage or SysMessage.Int64
SysMessageRecId
YesJmgMES3PMessage.RecIdSysMessage.RecIdNone
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
FailCountNumber of times processing has failed.Integer
SysMessageFailCount
NoNone
MessageCreatedTransactionIdID of the transaction in which the message was created.Int64
CreatedTransactionId
YesNone
MessageQueueQueue the message is in, such as Warehouse, Production or Shipment Orders.Enum
SysMessageQueue (enum)
YesNone
MessageTargetReference to the message target. It points to SysMessageTarget.Int64
SysMessageTargetRecId
YesSysMessageTarget.RecIdNone
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
StateCurrent state of the message: None, Queued, Processed, Canceled or Failed.Enum
SysMessageState (enum)
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • MessageIdxPrimary index

    Message

    Unique, alternate key.

Relations (3)

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

  • Message → SysMessage

    Join on Message = SysMessage.RecId

    Zero or one SysMessageProcessingState record → exactly one SysMessage record

  • SysMessageTarget → SysMessageTarget

    Join on MessageTarget = SysMessageTarget.RecId

    Many SysMessageProcessingState records → exactly one SysMessageTarget record

  • JmgMES3PMessage → JmgMES3PMessage

    Join on Message = JmgMES3PMessage.RecId

    Zero or one SysMessageProcessingState record → exactly one JmgMES3PMessage record

Get this data out

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

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

Email sales@drdynamics.co.uk