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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
MessageThe message this state belongs to. It points to JmgMES3PMessage or SysMessage. | Int64SysMessageRecId | Yes | JmgMES3PMessage.RecIdSysMessage.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
FailCountNumber of times processing has failed. | IntegerSysMessageFailCount | No | None | |
MessageCreatedTransactionIdID of the transaction in which the message was created. | Int64CreatedTransactionId | Yes | None | |
MessageQueueQueue the message is in, such as Warehouse, Production or Shipment Orders. | EnumSysMessageQueue (enum) | Yes | None | |
MessageTargetReference to the message target. It points to SysMessageTarget. | Int64SysMessageTargetRecId | Yes | SysMessageTarget.RecId | None |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StateCurrent state of the message: None, Queued, Processed, Canceled or Failed. | EnumSysMessageState (enum) | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
MessageIdxPrimary indexUnique, alternate key.
Relations (3)
Each relation joins SysMessageProcessingState to another table on the fields shown.
Message→SysMessageJoin on
Message = SysMessage.RecIdZero or one SysMessageProcessingState record → exactly one SysMessage record
SysMessageTarget→SysMessageTargetJoin on
MessageTarget = SysMessageTarget.RecIdMany SysMessageProcessingState records → exactly one SysMessageTarget record
JmgMES3PMessage→JmgMES3PMessageJoin on
Message = JmgMES3PMessage.RecIdZero 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.