Oracle General Ledger - Overview of Table Structure
Oracle General Ledger - Overview of Table Structure
Oracle General Ledger - Overview of Table Structure
Structure
This document aims at elucidating the technical table structure of the Oracle
Financials general ledger module.
Transactions from across various Oracle subledgers/External Source systems
are accounted through the Accounting Engine in Oracle R12 through a set of
Accounting rules where Journal Entry Debit/Credits are determined and
Posted into General Ledger module through Journal Import.
The journal Import interface uses the GL_INTERFACE table as a bridge
between external systems and the Oracle General Ledger base tables. For
each journal line that needs to be imported, a single record is inserted into
GL_INTERFACE table.
For transfers initiated from Oracle sub ledgers, the system automatically
populates the GL_INTERFACE table, and then starts the journal import
process.
GL Data Model:
GL_JE_BATCHES - Journal Batches
GL_JE_HEADERS - Journals
GL_JE_LINES - Journal Lines
GL_BALANCES - Balances for every code combination, currency and period
A journal batch is a group of related journals that are posted together. The
period in which the journals belong is stored at batch level. Each journal in a
batch gives rise to a separate record in the GL_JE_HEADERS. A journal is a
group of journal lines that balance. The sum of the debits is equal to the sum
of credits. The currency code is stored at the journal level. The GL_JE_LINES
table holds a record for each journal line. The lines record the accounted
amounts, either debit or credit, and the account code combination that the
amount will be posted to.
GL_LEDGERS - A row for each Ledger
GL_PERIODS - A row for each calendar period
GL_CODE_COMBINATIONS - All the Account Flex field segment values
Oracle - Overview of GL Table Structure
Page 1
Page 2
Summary foreign currency balances that are the result of foreign currency
translation have TRANSLATED_FLAG set to NULL. All summary account
balances have TEMPLATE_ID not NULL. The columns that end in ADB are not
used. Also, the REVALUATION_STATUS column is not used.
Ledger Tables:
GL_LEDGERS Stores information about the ledgers defined in the
Accounting Setup Manager and the ledger sets defined in the Ledger Set
form. Each row includes the ledger or ledger set name, short name,
description, ledger currency, calendar, period type, chart of accounts, and
other information
GL_CODE_COMBINATIONS - Stores valid account combinations for each
Accounting Flexfield structure within your Oracle General Ledger application.
Associated with each account are certain codes and flags, including whether
the account is enabled, whether detail posting or detail budgeting is allowed,
and others.
Segment values are stored in the SEGMENT columns. Note that each
Accounting Flexfield structure may use different SEGMENT columns within
the table to store the flexfield value combination. Moreover, the SEGMENT
columns that are used are not guaranteed to be in any order.
The Oracle Application Object Library table FND_ID_FLEX_SEGMENTS stores
information about which column in this table is used for each segment of
each Accounting Flexfield structure. Summary accounts have
SUMMARY_FLAG = Y and TEMPLATE_ID not NULL. Detail accounts have
SUMMARY_FLAG = N and TEMPLATE_ID NULL.
Consolidations & Conversion Tables:
GL_CONSOLIDATION: Stores information about your consolidation
mappings. Each row includes a mapping's ID, name, description, and other
information. This table corresponds to the first window of the Consolidation
Mappings form. You need one row for each consolidation mapping you define.
GL_CONSOLIDATION_ACCOUNTS: Stores the account ranges that you
enter when you consolidate balances using the Transfer Consolidation Data
Page 3
form. This table corresponds to the Account Ranges window of the Transfer
Consolidation Data form.
GL_DAILY_RATES: Stores the daily conversion rates for foreign currency
transactions. It replaces the GL_DAILY_CONVERSION_RATES table. It stores
the rate to use when converting between two currencies for a given
conversion date and conversion type.
GL_DAILY_BALANCES: Stores daily aggregate balances for detail and
summary balance sheet accounts in sets of books with average balances
enabled.
Journal Tables:
GL_JE_BATCHES stores journal entry batches. Each row includes the batch
name, description, status, running total debits and credits, and other
information. This table corresponds to the Batch window of the Enter Journals
form. STATUS is 'U' for unposted, 'P' for posted, 'S' for selected, 'I' for in the
process of being posted. Other values of status indicate an error condition.
STATUS_VERIFIED is 'N' when you create or modify an unposted journal entry
batch. The posting program changes STATUS_VERIFIED to 'I' when posting is
in process and 'Y' after posting is complete.
GL_JE_HEADERS stores journal entries. There is a one-to-many relationship
between journal entry batches and journal entries. Each row in this table
includes the associated batch ID, the journal entry name and description,
and other information about the journal entry. This table corresponds to the
Journals window of the Enter Journals form. STATUS is 'U' for unposted, 'P' for
posted. Other statuses indicate that an error condition was found.
GL_JE_LINES : Stores the journal entry lines that you enter in the Enter
Journals form. There is a one-to-many relationship between journal entries
and journal entry lines. Each row in this table stores the associated journal
entry header ID, the line number, the associated code combination ID, and
the debits or credits associated with the journal line. STATUS is 'U' for
unposted or 'P' for posted.
Oracle - Overview of GL Table Structure
Page 4
Period Tables:
GL_PERIODS : Stores information about the accounting periods you define
using the Accounting Calendar form. Each row includes the start date and
end date of the period, the period type, the fiscal year, the period number,
and other information. There is a one-to-many relationship between a row in
the GL_PERIOD_SETS table and rows in this table.
GL_PERIOD_SETS Stores the calendars you define using the Accounting
Calendar form.
GL_PERIOD_TYPES stores the period types you define using the Period
Types form. Each row includes the period type name, the number of periods
per fiscal year, and other information. YEAR_TYPE_IN_NAME is 'C' for calendar
or 'F' for fiscal. This determines the system-assigned name of your
accounting period in the Accounting Calendar form.
GL_AUTHORIZATION_LIMITS stores information about authorization limits
for employees. Each row contains an employee and the employee's
authorization limit. This table corresponds to the Journal Authorization Limits
window of the Journal Authorization Limits form
GL_APPLICATION_GROUPS replaces FND_APPLICATION_GROUPS. It holds
rows for individual application product groups. For each application product
group listed in this table, Oracle General Ledger's Accounting Calendar form
maintains a separate set of accounting period statuses. Thus for each period
defined in the Accounting Calendar form, a row is inserted into
Oracle - Overview of GL Table Structure
Page 5
Page 6
always contains only one row. This table has no foreign keys other than the
standard Who columns
GL_BUDGET_ASSIGNMENTS stores the accounts that are assigned to each
budget organization. Each row includes the currency assigned to the account
and the entry code for the account. The entry code is either 'E' for entered or
'C' for calculated. This table corresponds to the Account Assignments window
of the Define Budget Organization form.
GL_BUDGET_INTERIM is used internally by Oracle General Ledger
applications to post budget balances to the GL_BALANCES table. Rows are
added to this table whenever you run the budget posting program. The
budget posting program updates the appropriate budget balances in
GL_BALANCES based on the rows in this table, and then deletes the rows in
this table that it used.
Interface Tables:
GL_INTERFACE: It is used to import journal entry batches through Journal
Import. You insert rows in this table and then use the Import Journals window
to create journal batches.
GL_INTERFACE_CONTROL: It is used to control Journal Import execution.
Whenever you start Journal Import from the Import Journals form, a row is
inserted into this table for each source and group id that you specified. When
Journal Import completes, it deletes these rows from the table.
GL_BUDGET_INTERFACE: It is used to upload budget data into your Oracle
General Ledger application from a spreadsheet program or other external
source. Each row includes one fiscal years worth of budget amounts for an
account.
Page 7