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 descriptionType / EDT / enumMandatoryReferencesIn public entities
GlobalJournalDocumentPoints to the global journal document that the line belongs to.Int64
GlobalJournalDocumentRecId
NoGlobalJournalDocument.RecIdNone
LineNumberPosition of the line within its document.Integer
DocumentLineNumber
NoNone
AccountAccount number on the line. Its meaning depends on the account type.String (20)
AccountNum
YesNone
AccountingCurrencyCreditAmountCredit amount in the accounting currency.Real
GlobalJournalAmountCreditMST
NoNone
AccountingCurrencyDebitAmountDebit amount in the accounting currency.Real
GlobalJournalAmountDebitMST
NoNone
AccountTypeKind of account on the line, such as ledger, customer, vendor, project or bank.Enum
LedgerJournalACType (enum)
NoNone
CompanyCompany (legal entity) that the line's account belongs to.String
SelectableDataArea
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CreatedTransactionIdA system number for the database transaction that created the record. System field.Int64
CreatedTransactionId
NoNone
DescriptionFree text describing the line.String (512)
TransactionTextLarge
NoNone
ExchangeRateExchange rate stored on the line for the currency conversion.Real
ExchRate
YesNone
ExchangeRateTriangulationSecond exchange rate, used when a conversion goes through an intermediate currency.Real
ExchrateSecondary
NoNone
FinDimensionPoints to the financial dimension value set for the line's account.Int64
FinDimValueSetViewRecId
NoFinDimValueSetView.RecIdNone
FinTagPoints to the financial tag attached to the line.Int64
FinTagRecId
NoFinTag.RecIdNone
IsCorrectionYes/no flag showing whether the line is marked as a correction.Enum
NoYes (enum)
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OffsetAccountAccount number of the offset account. Its meaning depends on the offset account type.String (20)
AccountNum
NoNone
OffsetAccountTypeKind of offset account, such as ledger, customer, vendor or bank.Enum
LedgerJournalACType (enum)
NoNone
OffsetCompanyCompany (legal entity) that the offset account belongs to.String
SelectableDataArea
NoNone
OffsetDescriptionFree text describing the offset side of the line.String (512)
TransactionTextLarge
NoNone
OffsetFinDimensionPoints to the financial dimension value set for the offset account.Int64
FinDimValueSetViewRecId
NoFinDimValueSetView.RecIdNone
OffsetFinTagPoints to the financial tag attached to the offset side.Int64
OffsetFinTagRecId
NoFinTag.RecIdNone
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
ReportingCurrencyCreditAmountCredit amount in the reporting currency.Real
AmountMSTSecondary
NoNone
ReportingCurrencyDebitAmountDebit amount in the reporting currency.Real
AmountMSTSecondary
NoNone
ReportingExchangeRateExchange rate stored for the reporting currency.Real
ExchRate
NoNone
ReportingExchangeRateTriangulationSecond exchange rate for the reporting currency, used with an intermediate currency.Real
ExchrateSecondary
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionCurrencyCreditAmountCredit amount in the transaction currency.Real
AmountCurCredit
NoNone
TransactionCurrencyDebitAmountDebit amount in the transaction currency.Real
AmountCurDebit
NoNone

Indexes (4)

Relations (9)

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

  • GlobalJournalDocument → GlobalJournalDocument

    Join on GlobalJournalDocument = GlobalJournalDocument.RecId

    Many GlobalJournalDocumentLine records → zero or one GlobalJournalDocument record

  • FinDimension → FinDimValueSetView

    Join on FinDimension = FinDimValueSetView.RecId

    Many GlobalJournalDocumentLine records → zero or one FinDimValueSetView record

  • FinTag → FinTag

    Join on FinTag = FinTag.RecId

    Many GlobalJournalDocumentLine records → zero or one FinTag record

  • DataAreaOffset → DataArea

    Join on OffsetCompany = DataArea.id

    Many GlobalJournalDocumentLine records → zero or one DataArea record

  • OffsetFinTag → FinTag

    Join on OffsetFinTag = FinTag.RecId

    Many GlobalJournalDocumentLine records → zero or one FinTag record

  • OffsetFinDimension → FinDimValueSetView

    Join on OffsetFinDimension = FinDimValueSetView.RecId

    Many GlobalJournalDocumentLine records → zero or one FinDimValueSetView record

  • DataArea → DataArea

    Join on Company = DataArea.id

    Many GlobalJournalDocumentLine records → zero or one DataArea record

  • GlobalJournalDescription → LedgerJournalTxt

    Join on Company = LedgerJournalTxt.dataAreaId, Description = LedgerJournalTxt.Txt

    Many GlobalJournalDocumentLine records → zero or one LedgerJournalTxt record

  • GlobalJournalOffsetDescription → LedgerJournalTxt

    Join on OffsetCompany = LedgerJournalTxt.dataAreaId, OffsetDescription = LedgerJournalTxt.Txt

    Many 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.

Email sales@drdynamics.co.uk