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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentNumberDocument number. | String (20)DocumentNum | No | None | |
DomainEventPoints to the domain event record. | Int64 | Yes | DomainEvent.RecId | None |
LedgerPoints to the ledger record. | Int64LedgerRecId | Yes | Ledger.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingLayerPosting layer, such as Current, Operations, Tax or a custom layer. | EnumCurrentOperationsTax (enum) | 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 | |
SourceDocumentHeaderPoints to the source document header record. | Int64 | Yes | SourceDocumentHeader.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
SourceDocumentDomainEventIdxDomainEvent,SourceDocumentHeaderUnique, alternate key.
Relations (3)
Each relation joins SourceDocumentDomainEventReferenceIdentity to another table on the fields shown.
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany SourceDocumentDomainEventReferenceIdentity records → exactly one SourceDocumentHeader record
DomainEvent→DomainEventJoin on
DomainEvent = DomainEvent.RecIdMany SourceDocumentDomainEventReferenceIdentity records → exactly one DomainEvent record
Ledger→LedgerJoin on
Ledger = Ledger.RecIdMany 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.