Table

GeneralJournalAccountEntryHistory

GeneralJournalAccountEntry history data.

Holds history copies of general journal account entry lines. Each line links to a history record of the journal entry. It stores amounts in accounting, reporting and transaction currency, a ledger account and main account, and a posting type. It also has fields for lease posting and a payment reference.

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

Fields (30)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingCurrencyAmountAmount in the accounting currency, with debit and credit shown by sign.Real
AmountMSTDebCred
NoNone
AllocationLevelLevel of the allocation for the line.Integer
LedgerAllocateLevel
NoNone
AssetLeasePostingTypesKind of lease posting, such as lease asset, lease liability or interest expense.Enum
AssetLeasePostingTypes (enum)
NoNone
AssetLeaseTransactionTypeType of ledger transaction, such as sales order, purchase order or project.Enum
LedgerTransType (enum)
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoTransactionLog.createdTransactionIdNone
FinTagSystem record ID of the financial tag on the line.Int64
FinTagRecId
NoNone
GeneralJournalEntryPoints to the history record of the general journal entry.Int64
RefRecId
NoGeneralJournalEntryHistory.RecIdNone
HistoricalExchangeRateDateDate of the historical exchange rate used for the line.Date
HistoricalExchangeRateDate
NoNone
IsCorrectionYes or No flag showing whether the line is a correction.Enum
NoYes (enum)
NoNone
IsCreditYes or No flag showing whether the line is a credit.Enum
NoYes (enum)
NoNone
LedgerAccountLedger account shown as display text, including the dimension values.String (500)
DimensionDisplayValueLTR
NoNone
LedgerDimensionPoints to the dimension code combination used as the ledger account.Int64
LedgerDimensionAccount
YesDimensionAttributeValueCombination.RecIdNone
MainAccountPoints to the main account.Int64
MainAccountRecId
NoMainAccount.RecIdNone
OriginalAccountEntrySystem record ID of the original account entry.Int64
RefRecId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentReferencePayment reference text for the line.String (35)
PaymReference
NoNone
PostingTypeKind of posting, such as exchange rate gain, sales tax or allocation.Enum
LedgerPostingType (enum)
NoNone
ProjId_SAProject ID, used for Saudi Arabia.String (20)
ProjId
NoNone
ProjTableDataAreaIdCompany of the project record.String
DataAreaId
NoNone
QuantityQuantity on the line.Real
Qty
NoNone
ReasonRefSystem record ID of the reason record linked to the line.Int64
ReasonRefRecID
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
ReportingCurrencyAmountAmount in the reporting currency.Real
AmountMSTSecondary
NoNone
SkipCreditCalculationYes or No flag on credit calculation for the line. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
SubledgerJournalEntryIdentifier of the related subledger journal entry.Int64
SubledgerJournalEntryIdentifier
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TextDescription text for the line.String (512)
TransactionTextLarge
NoNone
TransactionCurrencyAmountAmount in the transaction currency.Real
AmountCur
NoNone
TransactionCurrencyCodeCode of the transaction currency, pointing to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone

Indexes (1)

Relations (5)

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

  • GeneralJournalEntry → GeneralJournalEntryHistory

    Join on GeneralJournalEntry = GeneralJournalEntryHistory.RecId

    Many GeneralJournalAccountEntryHistory records → zero or one GeneralJournalEntryHistory record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many GeneralJournalAccountEntryHistory records → exactly one DimensionAttributeValueCombination record

  • TransactionCurrencyCode → Currency

    Join on TransactionCurrencyCode = Currency.CurrencyCode

    Many GeneralJournalAccountEntryHistory records → zero or one Currency record

  • TransactionLog → TransactionLog

    Join on createdTransactionId = TransactionLog.createdTransactionId

    Many GeneralJournalAccountEntryHistory records → zero or one TransactionLog record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many GeneralJournalAccountEntryHistory records → exactly one MainAccount record

Get this data out

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

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

Email sales@drdynamics.co.uk