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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingStatusThe accounting status of the document, from none through in process to completed, finalized or cancelled.Enum
SourceDocumentAccountingStatus (enum)
NoSourceDocumentHeaderBiEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoSourceDocumentHeaderBiEntity
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
NoSourceDocumentHeaderBiEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoSourceDocumentHeaderBiEntity
SourceRelationTypeID of the table that holds the underlying source record.Integer
RefTableId
YesSourceDocumentHeaderBiEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TypeEnumNameName of the enum that defines the source document type.String
EnumName
YesSourceDocumentHeaderBiEntity
TypeEnumValueThe value of the source document type within its enum.Integer
SourceDocumentTypeEnumValue
YesSourceDocumentHeaderBiEntity

Indexes (3)

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.

Need help with SourceDocumentHeader in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk