Table
SourceDocumentHeader
Source document header
Holds the header of a source document, which is the original business document behind accounting entries. It records the accounting status and the type of the source. It has no explicit key in the metadata.
- Table name
SourceDocumentHeader- 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 |
|---|---|---|---|---|
AccountingStatusThe accounting status of the document, from none through in process to completed, finalized or cancelled. | EnumSourceDocumentAccountingStatus (enum) | No | SourceDocumentHeaderBiEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | SourceDocumentHeaderBiEntity | |
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 | SourceDocumentHeaderBiEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | SourceDocumentHeaderBiEntity | |
SourceRelationTypeID of the table that holds the underlying source record. | IntegerRefTableId | Yes | SourceDocumentHeaderBiEntity | |
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 defines the source document type. | StringEnumName | Yes | SourceDocumentHeaderBiEntity | |
TypeEnumValueThe value of the source document type within its enum. | IntegerSourceDocumentTypeEnumValue | Yes | SourceDocumentHeaderBiEntity |
Indexes (3)
SourceRelationTypeNot unique.
AccountingStatusidxAccountingStatus,SourceRelationType,RecIdNot unique.
TypeEnumNameIdxNot unique.
Get this data out
Tables are not exposed directly. These public entities read from SourceDocumentHeader; use one of them in Power BI, Power Platform or a data management project.
SourceDocumentHeaderBiEntity· 7 fields from this table
Need help with SourceDocumentHeader in a report, an integration or a migration? Talk to Dr Dynamics.