Table

SourceDocumentDomainEventReferenceIdentity

Holds reference details of a source document tied to a domain event. It stores the document number and posting layer. It points to a domain event, a source document header and a ledger.

Table name
SourceDocumentDomainEventReferenceIdentity
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 (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentNumberDocument number.String (20)
DocumentNum
NoNone
DomainEventPoints to the domain event record.Int64YesDomainEvent.RecIdNone
LedgerPoints to the ledger record.Int64
LedgerRecId
YesLedger.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingLayerPosting layer, such as Current, Operations, Tax or a custom layer.Enum
CurrentOperationsTax (enum)
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
SourceDocumentHeaderPoints to the source document header record.Int64YesSourceDocumentHeader.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many SourceDocumentDomainEventReferenceIdentity records → exactly one SourceDocumentHeader record

  • DomainEvent → DomainEvent

    Join on DomainEvent = DomainEvent.RecId

    Many SourceDocumentDomainEventReferenceIdentity records → exactly one DomainEvent record

  • Ledger → Ledger

    Join on Ledger = Ledger.RecId

    Many SourceDocumentDomainEventReferenceIdentity records → exactly one Ledger record

Get this data out

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

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

Email sales@drdynamics.co.uk