Table

LedgerJournalLine

Holds ledger journal lines. Each line has a line number, accounting date, voucher, ledger account and debit and credit amounts in the transaction currency. Lines link to a journal and to a source document line.

Table name
LedgerJournalLine
Module
Accounting foundation
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
GeneralLedger

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingDateDate the line is accounted for.Date
AccountingDate
NoNone
LedgerDimensionLedger account, with its dimensions, that the line posts to.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
LedgerJournalLink to the ledger journal this line belongs to.Int64
RefRecId
NoLedgerJournal.RecIdNone
LineNumberNumber of the line within the document.Integer
DocumentLineNumber
YesNone
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
SourceDocumentLineLink to the source document line behind this journal line.Int64NoSourceDocumentLine.RecIdNone
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
TransactionCurrencyAmountCreditCredit amount in the transaction currency.Real
AmountCur
NoNone
TransactionCurrencyAmountDebitDebit amount in the transaction currency.Real
AmountCur
NoNone
TransactionCurrencyCodeCurrency code of the transaction.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
VoucherVoucher number of the line.String (20)
Voucher
NoNone

Indexes (1)

Relations (4)

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

  • LedgerJournal → LedgerJournal

    Join on LedgerJournal = LedgerJournal.RecId

    Many LedgerJournalLine records → exactly one LedgerJournal record

  • Currency → Currency

    Join on TransactionCurrencyCode = Currency.CurrencyCode

    Many LedgerJournalLine records → exactly one Currency record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many LedgerJournalLine records → zero or one DimensionAttributeValueCombination record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk