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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingDateDate the line is accounted for. | DateAccountingDate | No | None | |
LedgerDimensionLedger account, with its dimensions, that the line posts to. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
LedgerJournalLink to the ledger journal this line belongs to. | Int64RefRecId | No | LedgerJournal.RecId | None |
LineNumberNumber of the line within the document. | IntegerDocumentLineNumber | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SourceDocumentLineLink to the source document line behind this journal line. | Int64 | No | SourceDocumentLine.RecId | 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 | |
TransactionCurrencyAmountCreditCredit amount in the transaction currency. | RealAmountCur | No | None | |
TransactionCurrencyAmountDebitDebit amount in the transaction currency. | RealAmountCur | No | None | |
TransactionCurrencyCodeCurrency code of the transaction. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
VoucherVoucher number of the line. | String (20)Voucher | No | None |
Indexes (1)
LedgerJournalUnique.
Relations (4)
Each relation joins LedgerJournalLine to another table on the fields shown.
LedgerJournal→LedgerJournalJoin on
LedgerJournal = LedgerJournal.RecIdMany LedgerJournalLine records → exactly one LedgerJournal record
Currency→CurrencyJoin on
TransactionCurrencyCode = Currency.CurrencyCodeMany LedgerJournalLine records → exactly one Currency record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany LedgerJournalLine records → zero or one DimensionAttributeValueCombination record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdCardinality 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.