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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyAmountAmount in the accounting currency, with debit and credit shown by sign. | RealAmountMSTDebCred | No | None | |
AllocationLevelLevel of the allocation for the line. | IntegerLedgerAllocateLevel | No | None | |
AssetLeasePostingTypesKind of lease posting, such as lease asset, lease liability or interest expense. | EnumAssetLeasePostingTypes (enum) | No | None | |
AssetLeaseTransactionTypeType of ledger transaction, such as sales order, purchase order or project. | EnumLedgerTransType (enum) | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | TransactionLog.createdTransactionId | None |
FinTagSystem record ID of the financial tag on the line. | Int64FinTagRecId | No | None | |
GeneralJournalEntryPoints to the history record of the general journal entry. | Int64RefRecId | No | GeneralJournalEntryHistory.RecId | None |
HistoricalExchangeRateDateDate of the historical exchange rate used for the line. | DateHistoricalExchangeRateDate | No | None | |
IsCorrectionYes or No flag showing whether the line is a correction. | EnumNoYes (enum) | No | None | |
IsCreditYes or No flag showing whether the line is a credit. | EnumNoYes (enum) | No | None | |
LedgerAccountLedger account shown as display text, including the dimension values. | String (500)DimensionDisplayValueLTR | No | None | |
LedgerDimensionPoints to the dimension code combination used as the ledger account. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | None |
MainAccountPoints to the main account. | Int64MainAccountRecId | No | MainAccount.RecId | None |
OriginalAccountEntrySystem record ID of the original account entry. | Int64RefRecId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentReferencePayment reference text for the line. | String (35)PaymReference | No | None | |
PostingTypeKind of posting, such as exchange rate gain, sales tax or allocation. | EnumLedgerPostingType (enum) | No | None | |
ProjId_SAProject ID, used for Saudi Arabia. | String (20)ProjId | No | None | |
ProjTableDataAreaIdCompany of the project record. | StringDataAreaId | No | None | |
QuantityQuantity on the line. | RealQty | No | None | |
ReasonRefSystem record ID of the reason record linked to the line. | Int64ReasonRefRecID | 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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReportingCurrencyAmountAmount in the reporting currency. | RealAmountMSTSecondary | No | None | |
SkipCreditCalculationYes or No flag on credit calculation for the line. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
SubledgerJournalEntryIdentifier of the related subledger journal entry. | Int64SubledgerJournalEntryIdentifier | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TextDescription text for the line. | String (512)TransactionTextLarge | No | None | |
TransactionCurrencyAmountAmount in the transaction currency. | RealAmountCur | No | None | |
TransactionCurrencyCodeCode of the transaction currency, pointing to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
Indexes (1)
GeneralJournalEntryFkIdxGeneralJournalEntry,PartitionNot unique.
Relations (5)
Each relation joins GeneralJournalAccountEntryHistory to another table on the fields shown.
GeneralJournalEntry→GeneralJournalEntryHistoryJoin on
GeneralJournalEntry = GeneralJournalEntryHistory.RecIdMany GeneralJournalAccountEntryHistory records → zero or one GeneralJournalEntryHistory record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany GeneralJournalAccountEntryHistory records → exactly one DimensionAttributeValueCombination record
TransactionCurrencyCode→CurrencyJoin on
TransactionCurrencyCode = Currency.CurrencyCodeMany GeneralJournalAccountEntryHistory records → zero or one Currency record
TransactionLog→TransactionLogJoin on
createdTransactionId = TransactionLog.createdTransactionIdMany GeneralJournalAccountEntryHistory records → zero or one TransactionLog record
MainAccount→MainAccountJoin on
MainAccount = MainAccount.RecIdMany 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.