Table
DocumentLifecycleEvent
Holds events that move a document or journal from one lifecycle stage to another. Each row has the document type, the stage, the execution status and the time of the event. A flag marks the latest status event.
- Table name
DocumentLifecycleEvent- Module
General ledger- Table group
Framework- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
SourceDocumentation
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocumentLifecycleStageLifecycle stage of the document, such as created, validation, approval, post or finished. | EnumDocumentLifecycleStage (enum) | No | None | |
DocumentLifecycleStageStatusExecution status of the stage, such as validated, failed or pending approval. | EnumDocumentLifecycleExecutionStatus (enum) | No | None | |
DocumentRecIdSystem record ID of the related document. | Int64RefRecId | No | None | |
DocumentStatusOverall status of the document, from draft to posted or error. | EnumDocumentLifecycleDocumentStatus (enum) | No | None | |
DocumentTypeKind of document: ledger adjustment, free text invoice or order invoice. | EnumDocumentType (enum) | No | None | |
EventDateTimeDate and time when the event was created. | UtcDateTimeEventAlertCreatedDateTime | No | None | |
EventIdUnique GUID that identifies the event. | GuidSysGuid | No | None | |
IsLatestStatusEventYes or no flag showing whether this is the latest status event. | EnumNoYes (enum) | No | None | |
JournalRecIdSystem record ID of the related journal. | Int64RefRecId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaskExecutionIdGUID of the task run linked to this event. | GuidSysGuid | No | None |
Indexes (3)
DocumentEventIdxDocumentRecId,EventId,TaskExecutionId,DocumentLifecycleStageStatusNot unique.
JournalIdxNot unique.
LatestStatusEventIdxDocumentRecId,JournalRecId,DocumentType,IsLatestStatusEventNot unique.
Get this data out
No public entity reads from DocumentLifecycleEvent. Its data is only reachable through the application, a custom entity or a database export.
Need help with DocumentLifecycleEvent in a report, an integration or a migration? Talk to Dr Dynamics.