Table
DomainEvent
Holds domain events, which are typed events linked to a source document header. Each event has a type and an activity type. It can also point to another domain event and to a transition model.
- Table name
DomainEvent- Module
Accounting foundation- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
SourceDocumentation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActivityTypeCategory of the activity the event covers. The only value listed is ledger adjustment. | EnumDomainEventActivityType (enum) | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DomainEventLink to another domain event record. | Int64 | No | DomainEvent.RecId | None |
DomainEventTransitionModelLink to the transition model record used by this event. | Int64 | No | DomainEventTransitionModel.RecId | 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 | |
SourceDocumentHeaderLink to the source document header the event belongs to. | Int64SourceDocumentHeaderRecId | No | SourceDocumentHeader.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeCategory of the domain event, such as general ledger transfer or subledger recognition. | EnumDomainEventType (enum) | No | None |
Indexes (2)
SourceDocumentSourceDocumentHeader,CreatedDateTime,Type,ActivityTypeUnique.
TypeIdxNot unique.
Relations (3)
Each relation joins DomainEvent to another table on the fields shown.
DomainEvent→DomainEventJoin on
DomainEvent = DomainEvent.RecIdZero or one DomainEvent record → exactly one DomainEvent record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany DomainEvent records → zero or one SourceDocumentHeader record
DomainEventTransitionModel→DomainEventTransitionModelJoin on
DomainEventTransitionModel = DomainEventTransitionModel.RecIdMany DomainEvent records → exactly one DomainEventTransitionModel record
Get this data out
No public entity reads from DomainEvent. Its data is only reachable through the application, a custom entity or a database export.
Need help with DomainEvent in a report, an integration or a migration? Talk to Dr Dynamics.