Table
GlobalJournalDocumentLine
Global journal document line
Holds the lines of a global journal document. Each line is identified by the document reference and a line number. A line has an account, an optional offset account, and debit and credit amounts in transaction, accounting and reporting currencies. It links to the company, dimension value sets and financial tags.
- Table name
GlobalJournalDocumentLine- Module
Cross-module and platform- Table group
WorksheetLine- Table type
Regular- Data per company
No- Configuration key
LedgerBasic- Primary index
DocumentLineNumberAKIdx- Replacement key
DocumentLineNumberAKIdx- Key fields
GlobalJournalDocument, LineNumber- Model
GlobalJournalCore
Fields (34)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
GlobalJournalDocumentPoints to the global journal document that the line belongs to. | Int64GlobalJournalDocumentRecId | No | GlobalJournalDocument.RecId | None |
LineNumberPosition of the line within its document. | IntegerDocumentLineNumber | No | None | |
AccountAccount number on the line. Its meaning depends on the account type. | String (20)AccountNum | Yes | None | |
AccountingCurrencyCreditAmountCredit amount in the accounting currency. | RealGlobalJournalAmountCreditMST | No | None | |
AccountingCurrencyDebitAmountDebit amount in the accounting currency. | RealGlobalJournalAmountDebitMST | No | None | |
AccountTypeKind of account on the line, such as ledger, customer, vendor, project or bank. | EnumLedgerJournalACType (enum) | No | None | |
CompanyCompany (legal entity) that the line's account belongs to. | StringSelectableDataArea | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
CreatedTransactionIdA system number for the database transaction that created the record. System field. | Int64CreatedTransactionId | No | None | |
DescriptionFree text describing the line. | String (512)TransactionTextLarge | No | None | |
ExchangeRateExchange rate stored on the line for the currency conversion. | RealExchRate | Yes | None | |
ExchangeRateTriangulationSecond exchange rate, used when a conversion goes through an intermediate currency. | RealExchrateSecondary | No | None | |
FinDimensionPoints to the financial dimension value set for the line's account. | Int64FinDimValueSetViewRecId | No | FinDimValueSetView.RecId | None |
FinTagPoints to the financial tag attached to the line. | Int64FinTagRecId | No | FinTag.RecId | None |
IsCorrectionYes/no flag showing whether the line is marked as a correction. | EnumNoYes (enum) | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OffsetAccountAccount number of the offset account. Its meaning depends on the offset account type. | String (20)AccountNum | No | None | |
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank. | EnumLedgerJournalACType (enum) | No | None | |
OffsetCompanyCompany (legal entity) that the offset account belongs to. | StringSelectableDataArea | No | None | |
OffsetDescriptionFree text describing the offset side of the line. | String (512)TransactionTextLarge | No | None | |
OffsetFinDimensionPoints to the financial dimension value set for the offset account. | Int64FinDimValueSetViewRecId | No | FinDimValueSetView.RecId | None |
OffsetFinTagPoints to the financial tag attached to the offset side. | Int64OffsetFinTagRecId | No | FinTag.RecId | 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 | |
ReportingCurrencyCreditAmountCredit amount in the reporting currency. | RealAmountMSTSecondary | No | None | |
ReportingCurrencyDebitAmountDebit amount in the reporting currency. | RealAmountMSTSecondary | No | None | |
ReportingExchangeRateExchange rate stored for the reporting currency. | RealExchRate | No | None | |
ReportingExchangeRateTriangulationSecond exchange rate for the reporting currency, used with an intermediate currency. | RealExchrateSecondary | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TransactionCurrencyCreditAmountCredit amount in the transaction currency. | RealAmountCurCredit | No | None | |
TransactionCurrencyDebitAmountDebit amount in the transaction currency. | RealAmountCurDebit | No | None |
Indexes (4)
DocumentLineNumberAKIdxPrimary indexReplacement keyGlobalJournalDocument,LineNumberUnique, alternate key.
FinDimensionIdxNot unique.
OffsetFinDimensionIdxGlobalJournalDocument,OffsetAccount,OffsetFinDimensionNot unique.
DocumentAmountIdxGlobalJournalDocument,TransactionCurrencyCreditAmount,TransactionCurrencyDebitAmount,AccountingCurrencyCreditAmount,AccountingCurrencyDebitAmount,ReportingCurrencyCreditAmount,ReportingCurrencyDebitAmountNot unique.
Relations (9)
Each relation joins GlobalJournalDocumentLine to another table on the fields shown.
GlobalJournalDocument→GlobalJournalDocumentJoin on
GlobalJournalDocument = GlobalJournalDocument.RecIdMany GlobalJournalDocumentLine records → zero or one GlobalJournalDocument record
FinDimension→FinDimValueSetViewJoin on
FinDimension = FinDimValueSetView.RecIdMany GlobalJournalDocumentLine records → zero or one FinDimValueSetView record
FinTag→FinTagJoin on
FinTag = FinTag.RecIdMany GlobalJournalDocumentLine records → zero or one FinTag record
DataAreaOffset→DataAreaJoin on
OffsetCompany = DataArea.idMany GlobalJournalDocumentLine records → zero or one DataArea record
OffsetFinTag→FinTagJoin on
OffsetFinTag = FinTag.RecIdMany GlobalJournalDocumentLine records → zero or one FinTag record
OffsetFinDimension→FinDimValueSetViewJoin on
OffsetFinDimension = FinDimValueSetView.RecIdMany GlobalJournalDocumentLine records → zero or one FinDimValueSetView record
DataArea→DataAreaJoin on
Company = DataArea.idMany GlobalJournalDocumentLine records → zero or one DataArea record
GlobalJournalDescription→LedgerJournalTxtJoin on
Company = LedgerJournalTxt.dataAreaId,Description = LedgerJournalTxt.TxtMany GlobalJournalDocumentLine records → zero or one LedgerJournalTxt record
GlobalJournalOffsetDescription→LedgerJournalTxtJoin on
OffsetCompany = LedgerJournalTxt.dataAreaId,OffsetDescription = LedgerJournalTxt.TxtMany GlobalJournalDocumentLine records → zero or one LedgerJournalTxt record
Get this data out
No public entity reads from GlobalJournalDocumentLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with GlobalJournalDocumentLine in a report, an integration or a migration? Talk to Dr Dynamics.