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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActivityTypeCategory of the activity the event covers. The only value listed is ledger adjustment.Enum
DomainEventActivityType (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DomainEventLink to another domain event record.Int64NoDomainEvent.RecIdNone
DomainEventTransitionModelLink to the transition model record used by this event.Int64NoDomainEventTransitionModel.RecIdNone
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
SourceDocumentHeaderLink to the source document header the event belongs to.Int64
SourceDocumentHeaderRecId
NoSourceDocumentHeader.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TypeCategory of the domain event, such as general ledger transfer or subledger recognition.Enum
DomainEventType (enum)
NoNone

Indexes (2)

Relations (3)

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

  • DomainEvent → DomainEvent

    Join on DomainEvent = DomainEvent.RecId

    Zero or one DomainEvent record → exactly one DomainEvent record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many DomainEvent records → zero or one SourceDocumentHeader record

  • DomainEventTransitionModel → DomainEventTransitionModel

    Join on DomainEventTransitionModel = DomainEventTransitionModel.RecId

    Many 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.

Email sales@drdynamics.co.uk