Table

GeneralJournalAccountEntry

General journal account entry

Holds the individual account lines of general journal entries. Each line links to a general journal entry header, a ledger account combination and a main account. It carries amounts in transaction, accounting and reporting currency, plus a posting type. It can also link to a financial tag, a reason reference and a project.

Table name
GeneralJournalAccountEntry
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 (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingCurrencyAmountAmount of the line in the accounting currency of the company.Real
AmountMSTDebCred
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
AllocationLevelNumber showing the allocation level of the line.low confidenceInteger
LedgerAllocateLevel
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
AssetLeasePostingTypesKind of lease posting for the line, such as lease asset, lease liability or interest expense.Enum
AssetLeasePostingTypes (enum)
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
AssetLeaseTransactionTypeTransaction type of the line, such as sales order, purchase order or project.Enum
LedgerTransType (enum)
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoTransactionLog.createdTransactionIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
FinTagPoints to the financial tag record linked to the line.Int64
FinTagRecId
NoFinTag.RecIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
GeneralJournalEntryPoints to the general journal entry that this line belongs to.Int64
RefRecId
NoGeneralJournalEntry.RecIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
HistoricalExchangeRateDateDate of the historical exchange rate linked to the line.Date
HistoricalExchangeRateDate
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
IsCorrectionYes/No flag showing whether the line is a correction.Enum
NoYes (enum)
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
IsCreditYes/No flag showing whether the line is a credit rather than a debit.Enum
NoYes (enum)
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
LedgerAccountAccount shown as text, built from the account and its dimension values.String (500)
DimensionDisplayValueLTR
NoLedgerTransSettlementEnhancedEntityGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntityand 1 more
LedgerDimensionPoints to the combination of main account and dimensions used on the line.Int64
LedgerDimensionAccount
YesDimensionAttributeValueCombination.RecIdLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
MainAccountPoints to the main account used on the line.Int64
MainAccountRecId
NoMainAccount.RecIdLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
OriginalAccountEntryRecord ID of another account entry. It is probably the original entry, but no relation is given.low confidenceInt64
RefRecId
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentReferencePayment reference text of up to 35 characters.String (35)
PaymReference
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
PostingTypeKind of posting for the line, such as exchange rate gain or loss, sales tax or allocation.Enum
LedgerPostingType (enum)
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
ProjId_SAProject ID, used for Saudi Arabia. It is matched with the project table together with the project company.String (20)
ProjId
NoProjTable.ProjIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
ProjTableDataAreaIdCompany of the project that the project ID points to.String
DataAreaId
NoProjTable.dataAreaIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
QuantityQuantity recorded on the line.Real
Qty
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
ReasonRefPoints to a reason reference record for the line.Int64
ReasonRefRecID
NoReasonTableRef.RecIdGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity
ReportingCurrencyAmountAmount of the line in the reporting currency.Real
AmountMSTSecondary
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
SkipCreditCalculationYes/No flag with no label. Purpose not clear from the metadata.low confidenceEnum
NoYes (enum)
NoNone
SubledgerJournalEntryIdentifier of the related subledger journal entry.Int64
SubledgerJournalEntryIdentifier
NoNone
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
TextFree-text description of the line.String (512)
TransactionTextLarge
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
TransactionCurrencyAmountAmount of the line in the currency of the original transaction.Real
AmountCur
NoLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more
TransactionCurrencyCodeCode of the transaction currency, pointing to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeLedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more

Indexes (13)

Relations (11)

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

  • GeneralJournalEntry → GeneralJournalEntry

    Join on GeneralJournalEntry = GeneralJournalEntry.RecId

    Many GeneralJournalAccountEntry records → zero or one GeneralJournalEntry record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many GeneralJournalAccountEntry records → exactly one DimensionAttributeValueCombination record

  • TransactionCurrencyCode → Currency

    Join on TransactionCurrencyCode = Currency.CurrencyCode

    Many GeneralJournalAccountEntry records → zero or one Currency record

  • TransactionLog → TransactionLog

    Join on createdTransactionId = TransactionLog.createdTransactionId

    Many GeneralJournalAccountEntry records → zero or one TransactionLog record

  • MainAccount → MainAccount

    Join on MainAccount = MainAccount.RecId

    Many GeneralJournalAccountEntry records → exactly one MainAccount record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many GeneralJournalAccountEntry records → zero or one FinTag record

  • CustExchRateAdjustment → CustExchRateAdjustment

    Join on createdTransactionId = CustExchRateAdjustment.createdTransactionId

    Many GeneralJournalAccountEntry records → zero or one CustExchRateAdjustment record

  • ProjTable → ProjTable

    Join on ProjTableDataAreaId = ProjTable.dataAreaId, ProjId_SA = ProjTable.ProjId

    Many GeneralJournalAccountEntry records → zero or one ProjTable record

  • ReasonTableRef → ReasonTableRef

    Join on ReasonRef = ReasonTableRef.RecId

    Many GeneralJournalAccountEntry records → zero or one ReasonTableRef record

  • VendExchRateAdjustment → VendExchRateAdjustment

    Join on createdTransactionId = VendExchRateAdjustment.createdTransactionId

    Zero or one GeneralJournalAccountEntry record → zero or one VendExchRateAdjustment record

  • TaxTransDetail_BE → TaxTransDetail_BE

    Join on RecId = TaxTransDetail_BE.GeneralJournalAccountEntry

    Many GeneralJournalAccountEntry records → zero or one TaxTransDetail_BE record

Get this data out

Tables are not exposed directly. These public entities read from GeneralJournalAccountEntry; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk