Table
SourceDocumentHeaderForProcessingTask
This table is used by the source document accounting state processor for processing records
Holds source document headers that the source document accounting state processor handles. Each row has a task state, an accounting event, a target accounting status and a result log. It links to the source document header.
- Table name
SourceDocumentHeaderForProcessingTask- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Subledger
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingEventSystem record ID of the accounting event. | Int64AccountingEventRecId | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DocumentDataAreaIdCompany (legal entity) ID of the source document. | StringDataAreaId | No | None | |
ExecutionIdGUID that identifies one run of the processing.low confidence | Guid | No | None | |
ExecutionResultLogShort log text with the result of the processing. | String (255)LogText | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessAutomationExecutionIdGUID that identifies a process automation run.low confidence | Guid | 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 | |
SourceDocumentHeaderSource document header that the task works on. Points to its system record ID. | Int64 | No | SourceDocumentHeader.RecId | None |
SourceDocumentTargetAccountingStatusAccounting status of the source document: none, in process, completed, finalized or canceled. | EnumSourceDocumentAccountingStatus (enum) | No | None | |
SourceRelationTypeID of the table that the source document belongs to. | IntegerRefTableId | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaskCurrentStateProcessing state of the task: not started, in process, success, error or subledger data generated. | EnumSourceDocumentProcessorTaskState (enum) | No | None |
Indexes (5)
SourceDocumentHeaderIdxSourceDocumentHeader,AccountingEvent,DocumentDataAreaId,TaskCurrentState,SourceDocumentTargetAccountingStatus,ExecutionId,ProcessAutomationExecutionIdUnique.
ExecutionIdxProcessAutomationExecutionId,ExecutionId,CreatedDateTime,TaskCurrentState,AccountingEvent,PartitionNot unique.
TaskCurrentStateIdxTaskCurrentState,ProcessAutomationExecutionId,ExecutionId,SourceRelationType,SourceDocumentHeader,AccountingEvent,SourceDocumentTargetAccountingStatus,DocumentDataAreaId,PartitionNot unique.
DocumentSelectIdxSourceDocumentHeader,AccountingEvent,TaskCurrentState,ExecutionId,DocumentDataAreaId,PartitionNot unique.
SourceRelationTypeIdxNot unique.
Relations (1)
Each relation joins SourceDocumentHeaderForProcessingTask to another table on the fields shown.
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdCardinality not set in the metadata.
Get this data out
No public entity reads from SourceDocumentHeaderForProcessingTask. Its data is only reachable through the application, a custom entity or a database export.
Need help with SourceDocumentHeaderForProcessingTask in a report, an integration or a migration? Talk to Dr Dynamics.