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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DocumentLifecycleStageLifecycle stage of the document, such as created, validation, approval, post or finished.Enum
DocumentLifecycleStage (enum)
NoNone
DocumentLifecycleStageStatusExecution status of the stage, such as validated, failed or pending approval.Enum
DocumentLifecycleExecutionStatus (enum)
NoNone
DocumentRecIdSystem record ID of the related document.Int64
RefRecId
NoNone
DocumentStatusOverall status of the document, from draft to posted or error.Enum
DocumentLifecycleDocumentStatus (enum)
NoNone
DocumentTypeKind of document: ledger adjustment, free text invoice or order invoice.Enum
DocumentType (enum)
NoNone
EventDateTimeDate and time when the event was created.UtcDateTime
EventAlertCreatedDateTime
NoNone
EventIdUnique GUID that identifies the event.Guid
SysGuid
NoNone
IsLatestStatusEventYes or no flag showing whether this is the latest status event.Enum
NoYes (enum)
NoNone
JournalRecIdSystem record ID of the related journal.Int64
RefRecId
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaskExecutionIdGUID of the task run linked to this event.Guid
SysGuid
NoNone

Indexes (3)

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.

Email sales@drdynamics.co.uk