Search Results gl_archive_balances
Overview
The GL_ARCHIVE_BALANCES table is a core data object within the Oracle E-Business Suite General Ledger (GL) module, designed to store archived historical account balances. Its primary role is to serve as a repository for summarized financial data that has been moved from the primary transactional tables, such as GL_BALANCES, for long-term retention and historical reporting. This archiving process is crucial for performance management, data lifecycle management, and maintaining a clean production environment by segregating active and historical data. The table's structure, defined by a composite primary key, is optimized for the efficient storage and retrieval of period-end balances across various accounting dimensions, including sets of books, accounts, currencies, and budget versions.
Key Information Stored
The table stores aggregated balance information keyed by a combination of accounting attributes. The primary key columns define the unique context for each archived balance record: SET_OF_BOOKS_ID identifies the ledger, CODE_COMBINATION_ID specifies the accounting flexfield combination, CURRENCY_CODE denotes the transaction currency, and PERIOD_NAME indicates the accounting period. Additional key columns further classify the balance type: ACTUAL_FLAG (e.g., 'A' for actual, 'B' for budget), BUDGET_VERSION_ID for budget-specific data, ENCUMBRANCE_TYPE_ID for encumbrance tracking, and TRANSLATED_FLAG for balances that have been currency translated. While the specific balance amount columns are not detailed in the provided excerpt, typical related tables store columns like PERIOD_NET_DR, PERIOD_NET_CR, and BEGIN_BALANCE_DR/CR.
Common Use Cases and Queries
The primary use case is generating historical financial reports that span many closed periods without querying the voluminous detail in the GL_JE_BATCHES or GL_JE_LINES tables. For instance, a trend analysis report comparing year-over-year actual balances for a specific cost center would query this archive. A common SQL pattern involves joining to dimension tables for descriptive information.
Sample Query Pattern:
SELECT gab.PERIOD_NAME,
gab.CURRENCY_CODE,
gcc.SEGMENT1 Company,
gcc.SEGMENT3 Account,
gab.PERIOD_NET_DR,
gab.PERIOD_NET_CR
FROM GL_ARCHIVE_BALANCES gab,
GL_CODE_COMBINATIONS gcc
WHERE gab.CODE_COMBINATION_ID = gcc.CODE_COMBINATION_ID
AND gab.SET_OF_BOOKS_ID = 1
AND gab.ACTUAL_FLAG = 'A'
AND gab.PERIOD_NAME LIKE '%-13';
It is critical to note the provided metadata states "Not implemented in this database," indicating this specific table might be a documented but unused artifact in standard EBS deployments. Practitioners should verify its existence and population status in their specific environment before developing dependent code.
Related Objects
GL_ARCHIVE_BALANCES maintains foreign key relationships with several fundamental GL setup and transactional tables, ensuring referential integrity for archived data. These documented relationships are:
- GL_SETS_OF_BOOKS via SET_OF_BOOKS_ID
- GL_CODE_COMBINATIONS via CODE_COMBINATION_ID
- GL_BUDGET_VERSIONS via BUDGET_VERSION_ID
- GL_ENCUMBRANCE_TYPES via ENCUMBRANCE_TYPE_ID
- GL_PERIOD_TYPES via PERIOD_TYPE
- GL_SUMMARY_TEMPLATES via TEMPLATE_ID
- FND_CURRENCIES via CURRENCY_CODE
These relationships allow archived balances to be correctly contextualized with descriptive data from master tables for comprehensive reporting. The table is conceptually related to GL_BALANCES, which likely holds the active, non-archived balance data.
-
Table: GL_ARCHIVE_BALANCES
12.1.1
product: GL - General Ledger , description: Archive account balances , implementation_dba_data: Not implemented in this database ,
-
Table: GL_ARCHIVE_BALANCES
12.2.2
product: GL - General Ledger , description: Archive account balances , implementation_dba_data: Not implemented in this database ,
-
Table: GL_PERIOD_TYPES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_PERIOD_TYPES, object_name:GL_PERIOD_TYPES, status:VALID, product: GL - General Ledger , description: Calendar period types , implementation_dba_data: GL.GL_PERIOD_TYPES ,
-
Table: GL_ENCUMBRANCE_TYPES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_ENCUMBRANCE_TYPES, object_name:GL_ENCUMBRANCE_TYPES, status:VALID, product: GL - General Ledger , description: Encumbrance type definitions , implementation_dba_data: GL.GL_ENCUMBRANCE_TYPES ,
-
Table: GL_SUMMARY_TEMPLATES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SUMMARY_TEMPLATES, object_name:GL_SUMMARY_TEMPLATES, status:VALID, product: GL - General Ledger , description: Summary account templates , implementation_dba_data: GL.GL_SUMMARY_TEMPLATES ,
-
Table: GL_BUDGET_VERSIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BUDGET_VERSIONS, object_name:GL_BUDGET_VERSIONS, status:VALID, product: GL - General Ledger , description: Budget version definitions , implementation_dba_data: GL.GL_BUDGET_VERSIONS ,
-
Table: GL_PERIOD_TYPES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_PERIOD_TYPES, object_name:GL_PERIOD_TYPES, status:VALID, product: GL - General Ledger , description: Calendar period types , implementation_dba_data: GL.GL_PERIOD_TYPES ,
-
Table: GL_ENCUMBRANCE_TYPES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_ENCUMBRANCE_TYPES, object_name:GL_ENCUMBRANCE_TYPES, status:VALID, product: GL - General Ledger , description: Encumbrance type definitions , implementation_dba_data: GL.GL_ENCUMBRANCE_TYPES ,
-
Table: GL_SUMMARY_TEMPLATES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SUMMARY_TEMPLATES, object_name:GL_SUMMARY_TEMPLATES, status:VALID, product: GL - General Ledger , description: Summary account templates , implementation_dba_data: GL.GL_SUMMARY_TEMPLATES ,
-
Table: GL_SETS_OF_BOOKS
12.2.2
product: GL - General Ledger , description: Set of books definitions , implementation_dba_data: Not implemented in this database ,
-
Table: GL_BUDGET_VERSIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BUDGET_VERSIONS, object_name:GL_BUDGET_VERSIONS, status:VALID, product: GL - General Ledger , description: Budget version definitions , implementation_dba_data: GL.GL_BUDGET_VERSIONS ,
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
Table: GL_SETS_OF_BOOKS
12.1.1
product: GL - General Ledger , description: Set of books definitions , implementation_dba_data: Not implemented in this database ,
-
Table: FND_CURRENCIES
12.1.1
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_CURRENCIES, object_name:FND_CURRENCIES, status:VALID, product: FND - Application Object Library , description: Currencies enabled for use at your site , implementation_dba_data: APPLSYS.FND_CURRENCIES ,
-
Table: FND_CURRENCIES
12.2.2
owner:APPLSYS, object_type:TABLE, fnd_design_data:FND.FND_CURRENCIES, object_name:FND_CURRENCIES, status:VALID, product: FND - Application Object Library , description: Currencies enabled for use at your site , implementation_dba_data: APPLSYS.FND_CURRENCIES ,
-
Table: GL_CODE_COMBINATIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CODE_COMBINATIONS, object_name:GL_CODE_COMBINATIONS, status:VALID, product: GL - General Ledger , description: Account combinations , implementation_dba_data: GL.GL_CODE_COMBINATIONS ,
-
Table: GL_CODE_COMBINATIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CODE_COMBINATIONS, object_name:GL_CODE_COMBINATIONS, status:VALID, product: GL - General Ledger , description: Account combinations , implementation_dba_data: GL.GL_CODE_COMBINATIONS ,