Table
SourceDocumentHeaderHistory
Source document header history
Holds history records for source document headers. Each record stores an accounting status, the type of the source document and the table it relates to. No key or related table is listed in the metadata.
- Table name
SourceDocumentHeaderHistory- Module
Accounting foundation- Table group
TransactionHeader- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
None- Replacement key
None- Key fields
None- Model
SourceDocumentation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingStatusStatus of the source document in accounting: None, In process, Completed, Finalized or Canceled. | EnumSourceDocumentAccountingStatus (enum) | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | 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 | |
SourceRelationTypeTable ID of the table that the source document relates to. | IntegerRefTableId | Yes | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TypeEnumNameName of the enum that holds the source document type. | StringEnumName | Yes | None | |
TypeEnumValueNumeric value of the source document type within that enum. | IntegerSourceDocumentTypeEnumValue | Yes | None |
Indexes (1)
RecIdIdxUnique.
Get this data out
No public entity reads from SourceDocumentHeaderHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with SourceDocumentHeaderHistory in a report, an integration or a migration? Talk to Dr Dynamics.