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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingStatusStatus of the source document in accounting: None, In process, Completed, Finalized or Canceled.Enum
SourceDocumentAccountingStatus (enum)
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
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
SourceRelationTypeTable ID of the table that the source document relates to.Integer
RefTableId
YesNone
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 holds the source document type.String
EnumName
YesNone
TypeEnumValueNumeric value of the source document type within that enum.Integer
SourceDocumentTypeEnumValue
YesNone

Indexes (1)

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.

Email sales@drdynamics.co.uk