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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyAmountAmount of the line in the accounting currency of the company. | RealAmountMSTDebCred | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
AllocationLevelNumber showing the allocation level of the line.low confidence | IntegerLedgerAllocateLevel | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
AssetLeasePostingTypesKind of lease posting for the line, such as lease asset, lease liability or interest expense. | EnumAssetLeasePostingTypes (enum) | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
AssetLeaseTransactionTypeTransaction type of the line, such as sales order, purchase order or project. | EnumLedgerTransType (enum) | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | TransactionLog.createdTransactionId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
FinTagPoints to the financial tag record linked to the line. | Int64FinTagRecId | No | FinTag.RecId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
GeneralJournalEntryPoints to the general journal entry that this line belongs to. | Int64RefRecId | No | GeneralJournalEntry.RecId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
HistoricalExchangeRateDateDate of the historical exchange rate linked to the line. | DateHistoricalExchangeRateDate | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
IsCorrectionYes/No flag showing whether the line is a correction. | EnumNoYes (enum) | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
IsCreditYes/No flag showing whether the line is a credit rather than a debit. | EnumNoYes (enum) | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
LedgerAccountAccount shown as text, built from the account and its dimension values. | String (500)DimensionDisplayValueLTR | No | LedgerTransSettlementEnhancedEntityGeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntityand 1 more | |
LedgerDimensionPoints to the combination of main account and dimensions used on the line. | Int64LedgerDimensionAccount | Yes | DimensionAttributeValueCombination.RecId | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more |
MainAccountPoints to the main account used on the line. | Int64MainAccountRecId | No | MainAccount.RecId | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more |
OriginalAccountEntryRecord ID of another account entry. It is probably the original entry, but no relation is given.low confidence | Int64RefRecId | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentReferencePayment reference text of up to 35 characters. | String (35)PaymReference | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
PostingTypeKind of posting for the line, such as exchange rate gain or loss, sales tax or allocation. | EnumLedgerPostingType (enum) | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
ProjId_SAProject ID, used for Saudi Arabia. It is matched with the project table together with the project company. | String (20)ProjId | No | ProjTable.ProjId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
ProjTableDataAreaIdCompany of the project that the project ID points to. | StringDataAreaId | No | ProjTable.dataAreaId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
QuantityQuantity recorded on the line. | RealQty | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
ReasonRefPoints to a reason reference record for the line. | Int64ReasonRefRecID | No | ReasonTableRef.RecId | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | GeneralJournalAccountEntryBiEntityGeneralJournalAccountEntryCDREntity | |
ReportingCurrencyAmountAmount of the line in the reporting currency. | RealAmountMSTSecondary | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
SkipCreditCalculationYes/No flag with no label. Purpose not clear from the metadata.low confidence | EnumNoYes (enum) | No | None | |
SubledgerJournalEntryIdentifier of the related subledger journal entry. | Int64SubledgerJournalEntryIdentifier | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TextFree-text description of the line. | String (512)TransactionTextLarge | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
TransactionCurrencyAmountAmount of the line in the currency of the original transaction. | RealAmountCur | No | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more | |
TransactionCurrencyCodeCode of the transaction currency, pointing to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | LedgerTransSettlementEnhancedEntityLedgerTransSettlementEntityGeneralJournalAccountEntryBiEntityand 2 more |
Indexes (13)
LedgerDimensionIdxNot unique.
GeneralJournalEntryIdxGeneralJournalEntry,Partition,LedgerDimension,PostingType,AccountingCurrencyAmount,ReportingCurrencyAmount,TransactionCurrencyCode,TransactionCurrencyAmount,Quantity,IsCredit,MainAccountNot unique.
AccountingCurrencyAmountIdxAccountingCurrencyAmount,PostingTypeNot unique.
TransactionCurrencyAmountIdxNot unique.
TransactionCurrencyCodeIdxNot unique.
LedgerAccountIdxNot unique.
CreatedTransactionIdxcreatedTransactionId,PostingTypeNot unique.
MainAccountIdxMainAccount,Partition,PostingType,AccountingCurrencyAmount,GeneralJournalEntry,IsCredit,Quantity,ReportingCurrencyAmount,TransactionCurrencyAmountNot unique.
ColumnStoreIdxTransactionCurrencyAmount,AccountingCurrencyAmount,ReportingCurrencyAmount,TransactionCurrencyCode,GeneralJournalEntry,Partition,MainAccount,LedgerDimension,RecIdNot unique.
UpgradePostingTypeNot unique.
GeneralJournalEntryCorrectionIdxIsCorrection,PostingType,GeneralJournalEntryNot unique.
LedgerDimMainAccountIdxMainAccount,GeneralJournalEntry,IsCredit,AccountingCurrencyAmount,LedgerDimensionNot unique.
OriginalAccountEntryNot unique.
Relations (11)
Each relation joins GeneralJournalAccountEntry to another table on the fields shown.
GeneralJournalEntry→GeneralJournalEntryJoin on
GeneralJournalEntry = GeneralJournalEntry.RecIdMany GeneralJournalAccountEntry records → zero or one GeneralJournalEntry record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany GeneralJournalAccountEntry records → exactly one DimensionAttributeValueCombination record
TransactionCurrencyCode→CurrencyJoin on
TransactionCurrencyCode = Currency.CurrencyCodeMany GeneralJournalAccountEntry records → zero or one Currency record
TransactionLog→TransactionLogJoin on
createdTransactionId = TransactionLog.createdTransactionIdMany GeneralJournalAccountEntry records → zero or one TransactionLog record
MainAccount→MainAccountJoin on
MainAccount = MainAccount.RecIdMany GeneralJournalAccountEntry records → exactly one MainAccount record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany GeneralJournalAccountEntry records → zero or one FinTag record
CustExchRateAdjustment→CustExchRateAdjustmentJoin on
createdTransactionId = CustExchRateAdjustment.createdTransactionIdMany GeneralJournalAccountEntry records → zero or one CustExchRateAdjustment record
ProjTable→ProjTableJoin on
ProjTableDataAreaId = ProjTable.dataAreaId,ProjId_SA = ProjTable.ProjIdMany GeneralJournalAccountEntry records → zero or one ProjTable record
ReasonTableRef→ReasonTableRefJoin on
ReasonRef = ReasonTableRef.RecIdMany GeneralJournalAccountEntry records → zero or one ReasonTableRef record
VendExchRateAdjustment→VendExchRateAdjustmentJoin on
createdTransactionId = VendExchRateAdjustment.createdTransactionIdZero or one GeneralJournalAccountEntry record → zero or one VendExchRateAdjustment record
TaxTransDetail_BE→TaxTransDetail_BEJoin on
RecId = TaxTransDetail_BE.GeneralJournalAccountEntryMany 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.
LedgerTransSettlementEnhancedEntity· 11 fields from this tableLedgerTransSettlementEntity· 10 fields from this tableGeneralJournalAccountEntryBiEntity· 26 fields from this tableGeneralJournalAccountEntryCDREntity· 26 fields from this tableLedgerTransSettlementV2Entity· 11 fields from this table
Need help with GeneralJournalAccountEntry in a report, an integration or a migration? Talk to Dr Dynamics.