Table

SubledgerVoucherGeneralJournalEntryHistory

SubledgerVoucherGeneralJournalEntry history data.

Holds history data that links a subledger voucher to a general journal entry history record. It also stores the subledger journal entry, accounting event, transfer ID and document type. It has no defined key in the metadata.

Table name
SubledgerVoucherGeneralJournalEntryHistory
Module
General ledger
Table group
Transaction
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
GeneralLedger

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDateDate of the voucher entry.Date
TransDate
NoNone
AccountingEventSystem record ID of the accounting event.Int64
AccountingEventRecId
NoNone
DocumentTypeKind of document. Values are None, Ledger adjustment, Free text invoice and Order invoice.Enum
DocumentType (enum)
NoNone
GeneralJournalEntryReference to the general journal entry history record, by system record ID.Int64
GeneralJournalEntryRecId
YesGeneralJournalEntryHistory.RecIdNone
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
SubledgerJournalEntrySystem record ID of the subledger journal entry.Int64
SubledgerJournalEntryRecId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransferIdIdentifier of the subledger journal transfer.Int64
SubledgerJournalTransferId
NoNone
VoucherVoucher number.String (20)
Voucher
YesNone
VoucherDataAreaIdCompany that the voucher belongs to.String
CompanyId
YesNone

Indexes (1)

Relations (2)

Each relation joins SubledgerVoucherGeneralJournalEntryHistory to another table on the fields shown.

  • DataArea → DataArea

    Join on VoucherDataAreaId = DataArea.id, DataArea.isVirtual = null

    Many SubledgerVoucherGeneralJournalEntryHistory records → exactly one DataArea record

  • GeneralJournalEntry → GeneralJournalEntryHistory

    Join on GeneralJournalEntry = GeneralJournalEntryHistory.RecId

    Many SubledgerVoucherGeneralJournalEntryHistory records → exactly one GeneralJournalEntryHistory record

Get this data out

No public entity reads from SubledgerVoucherGeneralJournalEntryHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk