Search Results ja_cn_journal_lines




Overview

The JA_CN_JOURNAL_LINES table is a localization data object owned by the JA schema within the Asia/Pacific Localizations product family. Its documented purpose is to store General Ledger journal lines together with information about any related subsidiary accounts. The table is classified as VALID in the ETRM 12.2.2 physical schema and contains 71 documented columns. It is a standalone object from a foreign-key perspective: the only documented outbound relationship is from LEGAL_ENTITY_ID to FV_LEGAL_ENTITIES. Because the object carries descriptive journal-line attributes alongside ledger references, the heuristic Data Vault classification is satellite, suggesting it behaves as a descriptive detail store keyed to an upstream journal header or line hub rather than as a hub or link in its own right.

Key Information Stored

The table captures the journal header context, the accounting entry itself, and localization-specific subsidiary account detail. The most significant columns are:

No explicit surrogate primary key or unique index candidate is documented in the supplied metadata; JE_HEADER_ID combined with JE_LINE_NUM is the practical business-key candidate for identifying a journal line.

Common Use Cases and Queries

Typical scenarios include subsidiary-account reporting, journal-line reconciliation, and combined GL plus localization extracts. A representative query joining the documented legal entity relationship:

  • Query journal lines for a legal entity: SELECT j.JE_HEADER_ID, j.JE_LINE_NUM, j.PERIOD_NAME, j.ENTERED_DR, j.ENTERED_CR FROM JA.JA_CN_JOURNAL_LINES j JOIN FV_LEGAL_ENTITIES e ON j.LEGAL_ENTITY_ID = e.LEGAL_ENTITY_ID.
  • Summarize posted activity by ledger and account: SELECT LEDGER_ID, CODE_COMBINATION_ID, SUM(ACCOUNTED_DR - ACCOUNTED_CR) FROM JA.JA_CN_JOURNAL_LINES WHERE STATUS = 'P' GROUP BY LEDGER_ID, CODE_COMBINATION_ID.
  • Filter lines carrying subsidiary account detail: restrict on THIRD_PARTY_ID IS NOT NULL or PROJECT_ID IS NOT NULL.

Related Objects

The most significant related objects, based on the documented FK and the table's role, include:

  • FV_LEGAL_ENTITIES — referenced via JA_CN_JOURNAL_LINES.LEGAL_ENTITY_ID.
  • GL_JE_HEADERS and GL_JE_LINES — the parent GL journal objects associated through JE_HEADER_ID and JE_LINE_NUM.
  • GL_CODE_COMBINATIONS — resolved through CODE_COMBINATION_ID.
  • GL_LEDGERS and GL_SETS_OF_BOOKS — referenced through LEDGER_ID and SET_OF_BOOKS_ID.
  • Supplier and personnel masters referenced by THIRD_PARTY_ID and PERSONNEL_ID for subsidiary account detail.