Search Results GL_CODE_COMBINATIONS
Overview
The GL_CODE_COMBINATIONS table is the foundational data object for the chart of accounts within Oracle E-Business Suite General Ledger (GL). It stores every unique, valid account combination, known by its unique identifier, CODE_COMBINATION_ID (CCID). Each row represents a specific combination of segment values (e.g., Company, Department, Account) as defined by the organization's accounting flexfield structure. This table is central to all financial transactions across Oracle EBS, as the CCID is referenced by virtually all subledger and general ledger transaction lines to denote the account being debited or credited. Its integrity is paramount for accurate financial reporting.
Key Information Stored
The table's structure directly reflects the configured accounting flexfield. Its primary columns include the system-generated surrogate key, CODE_COMBINATION_ID, and the composite business key that enforces uniqueness for each account combination. As per the provided metadata, this unique key comprises:
- CHART_OF_ACCOUNTS_ID: Links to the specific chart of accounts structure.
- SEGMENT1 through SEGMENT30: Hold the actual values for each segment of the accounting flexfield. Only the number of segments defined in the flexfield structure are populated and used in the unique constraint.
- TEMPLATE_ID: A foreign key to GL_SUMMARY_TEMPLATES, indicating if the combination is a template account used for summary account generation.
- REVALUATION_ID: A foreign key to GL_REVALUATIONS, linking to revaluation setup information for the account.
Additional columns not listed in the excerpt but critical in practice include ENABLED_FLAG (to activate/inactivate the combination), DETAIL_POSTING_ALLOWED_FLAG, and various descriptive fields like DESCRIPTION.
Common Use Cases and Queries
The primary use case is validating and retrieving account combinations for transaction posting and reporting. A frequent query involves joining with the GL_SETS_OF_BOOKS or GL_LEDGERS table and the flexfield value tables (e.g., FND_FLEX_VALUES) to translate CCIDs into meaningful segment descriptions for reports. For example, a standard query to list active account combinations with descriptions is:
SELECT gcc.code_combination_id, gcc.segment1, gcc.segment2, gcc.segment3, gcc.description
FROM gl.gl_code_combinations gcc
WHERE gcc.enabled_flag = 'Y'
AND gcc.chart_of_accounts_id = :coa_id
ORDER BY gcc.segment1, gcc.segment2, gcc.segment3;
Another critical scenario is identifying the usage of a specific CCID across subledgers before disabling it, requiring joins to various distribution tables in AP, AR, FA, and GL. Administrators also query this table to audit and maintain the chart of accounts, ensuring no duplicate combinations exist.
Related Objects
GL_CODE_COMBINATIONS is one of the most referenced tables in Oracle EBS. The provided metadata highlights its foreign key relationship with GL_SUMMARY_TEMPLATES. Crucially, it is the foreign key target for numerous critical columns across application modules, as indicated by the extensive list of foreign keys from tables like AP_BANK_ACCOUNTS_ALL. Key dependent objects include:
- GL_JE_LINES: Every journal entry line stores a CODE_COMBINATION_ID.
- Subledger Distribution Tables: Such as AP_INVOICE_DISTRIBUTIONS_ALL, RA_CUST_TRX_LINE_GL_DIST_ALL, and FA_DISTRIBUTION_HISTORY.
- Setup Tables: GL_LEDGERS references the chart of accounts ID, which governs valid combinations.
- Key Views: GL_CODE_COMBINATIONS_KFV provides a flexfields-aware view of the data.
- APIs: The FND_FLEX_KEYVAL API is used for programmatic validation and creation of code combinations.
-
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 ,
-
Table: GL_IEA_TRANSACTIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_TRANSACTIONS, object_name:GL_IEA_TRANSACTIONS, status:VALID, product: GL - General Ledger , description: Intercompany transactions , implementation_dba_data: GL.GL_IEA_TRANSACTIONS ,
-
Table: GL_IEA_TRANSACTIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_TRANSACTIONS, object_name:GL_IEA_TRANSACTIONS, status:VALID, product: GL - General Ledger , description: Intercompany transactions , implementation_dba_data: GL.GL_IEA_TRANSACTIONS ,
-
Table: GL_LEDGERS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEDGERS, object_name:GL_LEDGERS, status:VALID, product: GL - General Ledger , description: Ledger definition , implementation_dba_data: GL.GL_LEDGERS ,
-
Table: GL_ACCOUNT_HIERARCHIES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_ACCOUNT_HIERARCHIES, object_name:GL_ACCOUNT_HIERARCHIES, status:VALID, product: GL - General Ledger , description: Summary/Detail account hierarchies , implementation_dba_data: GL.GL_ACCOUNT_HIERARCHIES ,
-
Table: GL_ACCOUNT_HIERARCHIES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_ACCOUNT_HIERARCHIES, object_name:GL_ACCOUNT_HIERARCHIES, status:VALID, product: GL - General Ledger , description: Summary/Detail account hierarchies , implementation_dba_data: GL.GL_ACCOUNT_HIERARCHIES ,
-
Table: GL_LEDGERS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_LEDGERS, object_name:GL_LEDGERS, status:VALID, product: GL - General Ledger , description: Ledger definition , implementation_dba_data: GL.GL_LEDGERS ,
-
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_SETS_OF_BOOKS
12.1.1
product: GL - General Ledger , description: Set of books definitions , implementation_dba_data: Not implemented in this database ,
-
Table: GL_XFR_CCID_MAPPINGS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_XFR_CCID_MAPPINGS, object_name:GL_XFR_CCID_MAPPINGS, status:VALID, product: GL - General Ledger , description: This table contains the account mappings for each period for a ledger mapping. , implementation_dba_data: GL.GL_XFR_CCID_MAPPINGS ,
-
Table: GL_INTERCOMPANY_ACCOUNTS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_INTERCOMPANY_ACCOUNTS, object_name:GL_INTERCOMPANY_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Assignments of intercompany due to and due from accounts to a source, category, and balancing segment value. , implementation_dba_data: GL.GL_INTERCOMPANY_ACCOUNTS ,
-
Table: GL_IEA_RECUR_TRANSACTIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_RECUR_TRANSACTIONS, object_name:GL_IEA_RECUR_TRANSACTIONS, status:VALID, product: GL - General Ledger , description: Recurring intercompany transactions , implementation_dba_data: GL.GL_IEA_RECUR_TRANSACTIONS ,
-
Table: GL_CONSOLIDATION_AUDIT
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CONSOLIDATION_AUDIT, object_name:GL_CONSOLIDATION_AUDIT, status:VALID, product: GL - General Ledger , description: Audit data for consolidation run , implementation_dba_data: GL.GL_CONSOLIDATION_AUDIT ,
-
Table: GL_CONSOLIDATION_AUDIT
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CONSOLIDATION_AUDIT, object_name:GL_CONSOLIDATION_AUDIT, status:VALID, product: GL - General Ledger , description: Audit data for consolidation run , implementation_dba_data: GL.GL_CONSOLIDATION_AUDIT ,
-
Table: GL_IEA_INTERFACE
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_INTERFACE, object_name:GL_IEA_INTERFACE, status:VALID, product: GL - General Ledger , description: Transactional data for import into Global Intercompany System , implementation_dba_data: GL.GL_IEA_INTERFACE ,
-
Table: GL_INTERCOMPANY_ACCOUNTS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_INTERCOMPANY_ACCOUNTS, object_name:GL_INTERCOMPANY_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Assignments of intercompany due to and due from accounts to a source, category, and balancing segment value. , implementation_dba_data: GL.GL_INTERCOMPANY_ACCOUNTS ,
-
Table: GL_IEA_RECUR_TRANSACTIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_RECUR_TRANSACTIONS, object_name:GL_IEA_RECUR_TRANSACTIONS, status:VALID, product: GL - General Ledger , description: Recurring intercompany transactions , implementation_dba_data: GL.GL_IEA_RECUR_TRANSACTIONS ,
-
Table: GL_IEA_INTERFACE
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_INTERFACE, object_name:GL_IEA_INTERFACE, status:VALID, product: GL - General Ledger , description: Transactional data for import into Global Intercompany System , implementation_dba_data: GL.GL_IEA_INTERFACE ,
-
Table: GL_SETS_OF_BOOKS_11I
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_11I, object_name:GL_SETS_OF_BOOKS_11I, status:VALID, product: GL - General Ledger , description: Set of books definitions , implementation_dba_data: GL.GL_SETS_OF_BOOKS_11I ,
-
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_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_11I
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SETS_OF_BOOKS_11I, object_name:GL_SETS_OF_BOOKS_11I, status:VALID, product: GL - General Ledger , description: Set of books definitions , implementation_dba_data: GL.GL_SETS_OF_BOOKS_11I ,
-
Table: GL_CONS_FLEXFIELD_MAP
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CONS_FLEXFIELD_MAP, object_name:GL_CONS_FLEXFIELD_MAP, status:VALID, product: GL - General Ledger , description: Consolidation account rules , implementation_dba_data: GL.GL_CONS_FLEXFIELD_MAP ,
-
Table: GL_NET_INCOME_ACCOUNTS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_NET_INCOME_ACCOUNTS, object_name:GL_NET_INCOME_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Net income accounts , implementation_dba_data: GL.GL_NET_INCOME_ACCOUNTS ,
-
Table: GL_IEA_TRANSACTION_LINES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_TRANSACTION_LINES, object_name:GL_IEA_TRANSACTION_LINES, status:VALID, product: GL - General Ledger , description: Intercompany transaction lines , implementation_dba_data: GL.GL_IEA_TRANSACTION_LINES ,
-
Table: GL_DYNAMIC_SUMM_COMBINATIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_DYNAMIC_SUMM_COMBINATIONS, object_name:GL_DYNAMIC_SUMM_COMBINATIONS, status:VALID, product: GL - General Ledger , description: Newly created summary account combinations , implementation_dba_data: GL.GL_DYNAMIC_SUMM_COMBINATIONS ,
-
Table: GL_IEA_RECUR_LINES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_RECUR_LINES, object_name:GL_IEA_RECUR_LINES, status:VALID, product: GL - General Ledger , description: Recurring intercompany transaction lines , implementation_dba_data: GL.GL_IEA_RECUR_LINES ,
-
Table: GL_CONS_FLEXFIELD_MAP
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_CONS_FLEXFIELD_MAP, object_name:GL_CONS_FLEXFIELD_MAP, status:VALID, product: GL - General Ledger , description: Consolidation account rules , implementation_dba_data: GL.GL_CONS_FLEXFIELD_MAP ,
-
Table: GL_TRANSLATION_INTERIM
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_TRANSLATION_INTERIM, object_name:GL_TRANSLATION_INTERIM, status:VALID, product: GL - General Ledger , description: Foreign currency translated interim balances , implementation_dba_data: GL.GL_TRANSLATION_INTERIM ,
-
Table: GL_SUSPENSE_ACCOUNTS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SUSPENSE_ACCOUNTS, object_name:GL_SUSPENSE_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Additional suspense accounts for source/category combinations , implementation_dba_data: GL.GL_SUSPENSE_ACCOUNTS ,
-
Table: GL_REVALUATION
12.2.2
product: GL - General Ledger , description: Revaluation default gain/loss account , implementation_dba_data: Not implemented in this database ,
-
Table: GL_IEA_TRANSACTION_LINES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_TRANSACTION_LINES, object_name:GL_IEA_TRANSACTION_LINES, status:VALID, product: GL - General Ledger , description: Intercompany transaction lines , implementation_dba_data: GL.GL_IEA_TRANSACTION_LINES ,
-
Table: GL_DYNAMIC_SUMM_COMBINATIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_DYNAMIC_SUMM_COMBINATIONS, object_name:GL_DYNAMIC_SUMM_COMBINATIONS, status:VALID, product: GL - General Ledger , description: Newly created summary account combinations , implementation_dba_data: GL.GL_DYNAMIC_SUMM_COMBINATIONS ,
-
Table: GL_NET_INCOME_ACCOUNTS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_NET_INCOME_ACCOUNTS, object_name:GL_NET_INCOME_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Net income accounts , implementation_dba_data: GL.GL_NET_INCOME_ACCOUNTS ,
-
Table: GL_IEA_RECUR_LINES
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_IEA_RECUR_LINES, object_name:GL_IEA_RECUR_LINES, status:VALID, product: GL - General Ledger , description: Recurring intercompany transaction lines , implementation_dba_data: GL.GL_IEA_RECUR_LINES ,
-
Table: GL_REVALUATION
12.1.1
product: GL - General Ledger , description: Revaluation default gain/loss account , implementation_dba_data: Not implemented in this database ,
-
Table: GL_POSTING_INTERIM
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_POSTING_INTERIM, object_name:GL_POSTING_INTERIM, status:VALID, product: GL - General Ledger , description: Posting interim balances , implementation_dba_data: GL.GL_POSTING_INTERIM ,
-
Table: GL_BUDGET_INTERIM
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BUDGET_INTERIM, object_name:GL_BUDGET_INTERIM, status:VALID, product: GL - General Ledger , description: Budget posting interim balances , implementation_dba_data: GL.GL_BUDGET_INTERIM ,
-
Table: GL_HISTORICAL_RATES
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_HISTORICAL_RATES, object_name:GL_HISTORICAL_RATES, status:VALID, product: GL - General Ledger , description: Foreign currency translation rates for historical accounts , implementation_dba_data: GL.GL_HISTORICAL_RATES ,
-
Table: GL_BUDGET_INTERIM
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BUDGET_INTERIM, object_name:GL_BUDGET_INTERIM, status:VALID, product: GL - General Ledger , description: Budget posting interim balances , implementation_dba_data: GL.GL_BUDGET_INTERIM ,
-
Table: GL_POSTING_INTERIM
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_POSTING_INTERIM, object_name:GL_POSTING_INTERIM, status:VALID, product: GL - General Ledger , description: Posting interim balances , implementation_dba_data: GL.GL_POSTING_INTERIM ,
-
Table: GL_TRANSLATION_INTERIM
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_TRANSLATION_INTERIM, object_name:GL_TRANSLATION_INTERIM, status:VALID, product: GL - General Ledger , description: Foreign currency translated interim balances , implementation_dba_data: GL.GL_TRANSLATION_INTERIM ,
-
Table: GL_REVALUATIONS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_REVALUATIONS, object_name:GL_REVALUATIONS, status:VALID, product: GL - General Ledger , description: Revaluation definitions , implementation_dba_data: GL.GL_REVALUATIONS ,
-
Table: GL_BALANCES_DELTA_INTERIM
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BALANCES_DELTA_INTERIM, object_name:GL_BALANCES_DELTA_INTERIM, status:VALID, product: GL - General Ledger , description: Interim tracking of incremental account balances , implementation_dba_data: GL.GL_BALANCES_DELTA_INTERIM ,
-
Table: GL_ALLOC_TARGETS
12.1.1
product: GL - General Ledger , description: Temporary table for MassAllocations and MassBudgets , implementation_dba_data: Not implemented in this database ,
-
Table: GL_SUSPENSE_ACCOUNTS
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_SUSPENSE_ACCOUNTS, object_name:GL_SUSPENSE_ACCOUNTS, status:VALID, product: GL - General Ledger , description: Additional suspense accounts for source/category combinations , implementation_dba_data: GL.GL_SUSPENSE_ACCOUNTS ,
-
Table: GL_ALLOC_TARGETS
12.2.2
product: GL - General Ledger , description: Temporary table for MassAllocations and MassBudgets , implementation_dba_data: Not implemented in this database ,
-
Table: GL_REVALUATIONS
12.2.2
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_REVALUATIONS, object_name:GL_REVALUATIONS, status:VALID, product: GL - General Ledger , description: Revaluation definitions , implementation_dba_data: GL.GL_REVALUATIONS ,
-
Table: GL_BALANCES_DELTA_INTERIM
12.1.1
owner:GL, object_type:TABLE, fnd_design_data:SQLGL.GL_BALANCES_DELTA_INTERIM, object_name:GL_BALANCES_DELTA_INTERIM, status:VALID, product: GL - General Ledger , description: Interim tracking of incremental account balances , implementation_dba_data: GL.GL_BALANCES_DELTA_INTERIM ,