Wednesday, 19 March 2025

All Oracle Fusion General Ledger Tables

 Oracle Fusion General Ledger is a comprehensive financial management solution that forms the core of Oracle's ERP Cloud offering. Understanding the underlying table structure is essential for anyone working with Oracle Financials, whether you're developing custom reports, troubleshooting issues, or planning data migrations.

This post provides a complete reference guide to Oracle Fusion General Ledger tables, organized by functional categories to help you understand how they relate to business processes.

Why Understanding GL Tables Matters

Before diving into the specific tables, it's important to understand why this knowledge is valuable:

  1. Custom Reporting: When standard reports don't meet your needs, understanding the underlying tables allows you to create custom queries and reports.
  2. Data Validation: During implementations or upgrades, knowledge of table structures helps validate data integrity.
  3. Troubleshooting: When issues arise, knowing where and how data is stored can significantly speed up problem resolution.
  4. Integration Projects: For integrating with other systems, understanding the data model is crucial for mapping fields correctly.
  5. Performance Optimization: Knowledge of table relationships helps optimize queries and improve system performance.

Core Financial Data Tables

These tables store the actual financial balances and are the heart of the General Ledger system:

Table NameDescriptionKey Fields
GL_BALANCESStores account balances - the core financial data in General LedgerLEDGER_ID, CODE_COMBINATION_ID, PERIOD_NAME, CURRENCY_CODE, ACTUAL_FLAG
GL_DAILY_BALANCESContains daily balance information for more granular reportingLEDGER_ID, CODE_COMBINATION_ID, CURRENCY_CODE, BALANCE_DATE
GL_BUDGET_BALANCESStores budget data for comparison with actual resultsLEDGER_ID, CODE_COMBINATION_ID, PERIOD_NAME, BUDGET_VERSION_ID
GL_BALANCE_CURRENCIESMaintains currency information for multi-currency balancesLEDGER_ID, CURRENCY_CODE
GL_BALANCE_INIT_HISTORYRecords history of balance initialization processesLEDGER_ID, PERIOD_NAME, INIT_DATE
GL_BALANCE_TRANSFER_HISTORYTracks balance transfers between accountsLEDGER_ID, FROM_CCID, TO_CCID, TRANSFER_DATE
GL_BAL_CUBE_CONCURRENCYManages concurrency for balance cube processingLEDGER_ID, CUBE_ID, PROCESS_ID

Real-world application: When analyzing financial performance, finance teams query GL_BALANCES to compare actual results against budgets stored in GL_BUDGET_BALANCES. For daily cash management, GL_DAILY_BALANCES provides more granular visibility.

Journal Entry Management Tables

These tables manage the journal entries that create and modify financial balances:

Table NameDescriptionKey Fields
GL_JE_HEADERSContains journal entry header informationJE_HEADER_ID, LEDGER_ID, PERIOD_NAME, NAME, STATUS
GL_JE_LINESStores journal entry line detailsJE_HEADER_ID, JE_LINE_NUM, CODE_COMBINATION_ID, ENTERED_DR, ENTERED_CR
GL_JE_BATCHESManages journal batches for processingJE_BATCH_ID, NAME, STATUS, BATCH_POSTED_DATE
GL_INTERFACEServes as interface for journal importREFERENCE_ID, STATUS, GROUP_ID, LEDGER_ID
GL_IMPORT_REFERENCESMaintains references for imported journalsREFERENCE_ID, JE_HEADER_ID, SOURCE_TABLE
GL_DAILY_POST_INTSupports daily posting interface processesLEDGER_ID, POSTING_DATE, STATUS

Real-world application: When accountants create journal entries in the system, data is stored in GL_JE_HEADERS and GL_JE_LINES. For automated journal imports from other systems (like Accounts Payable), data first lands in GL_INTERFACE before being validated and transferred to the journal tables.

Ledger Configuration Tables

These tables define the ledger structures that organize financial data:

Table NameDescriptionKey Fields
GL_LEDGERSDefines ledgers in the systemLEDGER_ID, NAME, CHART_OF_ACCOUNTS_ID, CURRENCY_CODE
GL_LEDGER_CONFIG_DETAILSStores ledger configuration detailsCONFIGURATION_ID, LEDGER_ID, OBJECT_TYPE_CODE
GL_LEDGER_CONFIGURATIONSContains ledger configuration settingsCONFIGURATION_ID, NAME, STATUS_CODE
GL_LEDGER_RELATIONSHIPSDefines relationships between ledgersPRIMARY_LEDGER_ID, SECONDARY_LEDGER_ID, RELATIONSHIP_TYPE_CODE
GL_LEDGER_SEGMENT_VALUESMaps segment values to ledgersLEDGER_ID, SEGMENT_VALUE_ID, SEGMENT_TYPE_CODE
GL_LEDGER_SETSDefines sets of ledgers for processingLEDGER_SET_ID, NAME, DESCRIPTION
GL_LEDGER_SET_ASSIGNMENTSAssigns ledgers to ledger setsLEDGER_SET_ID, LEDGER_ID, EFFECTIVE_DATE

Real-world application: In multinational companies, GL_LEDGERS defines each country's ledger, while GL_LEDGER_RELATIONSHIPS establishes connections between primary and reporting ledgers. GL_LEDGER_SETS groups ledgers for consolidated reporting.

Chart of Accounts Tables

These tables define the accounting structure used to categorize financial transactions:

Table NameDescriptionKey Fields
GL_CODE_COMBINATIONSStores valid account combinationsCODE_COMBINATION_ID, CHART_OF_ACCOUNTS_ID, SEGMENT1-30
GL_CHART_OF_ACCOUNTS_OPTIONSContains chart of accounts configurationCHART_OF_ACCOUNTS_ID, NAME, NUM_SEGMENTS
GL_ACCOUNT_ALIASES_BManages account aliases (base table)ACCOUNT_ALIAS_ID, CODE_COMBINATION_ID, ALIAS
GL_ACCOUNT_ALIASES_TLStores translated account aliasesACCOUNT_ALIAS_ID, LANGUAGE, DESCRIPTION
GL_ACCOUNT_GROUPSDefines account groupings for reportingGROUP_ID, NAME, DESCRIPTION
GL_CROSS_VALIDATION_RULES_INTContains cross-validation rulesRULE_ID, ENABLED_FLAG, DESCRIPTION

Real-world application: When users enter accounting codes in forms, the system validates against GL_CODE_COMBINATIONS to ensure only valid combinations are used. For easier data entry, users can use aliases defined in GL_ACCOUNT_ALIASES_B instead of remembering full account combinations.

Calendar and Period Tables

These tables define the time periods used for financial reporting:

Table NameDescriptionKey Fields
GL_CALENDARSDefines accounting calendarsCALENDAR_ID, NAME, PERIOD_TYPE
GL_PERIOD_SETSContains sets of accounting periodsPERIOD_SET_ID, NAME, DESCRIPTION
GL_PERIOD_TYPESDefines types of accounting periodsPERIOD_TYPE, NAME, CALENDAR_TYPE_CODE
GL_PERIODSStores individual accounting periodsPERIOD_NAME, PERIOD_SET_ID, START_DATE, END_DATE
GL_DATE_PERIOD_MAPMaps dates to accounting periodsPERIOD_SET_ID, CALENDAR_DATE, PERIOD_NAME
GL_CAL_CONFIRMED_YEARSTracks confirmed calendar yearsCALENDAR_ID, FISCAL_YEAR, CONFIRMED_FLAG

Real-world application: The financial close process relies on GL_PERIODS to control which periods are open for posting. When transactions are entered, GL_DATE_PERIOD_MAP determines which accounting period receives the entry based on the transaction date.

Currency and Exchange Rate Tables

These tables support multi-currency transactions and reporting:

Table NameDescriptionKey Fields
GL_DAILY_RATESStores daily currency exchange ratesFROM_CURRENCY, TO_CURRENCY, CONVERSION_DATE, CONVERSION_TYPE, CONVERSION_RATE
GL_DAILY_RATES_INTERFACEProvides interface for currency ratesFROM_CURRENCY, TO_CURRENCY, CONVERSION_DATE, STATUS
GL_CROSS_RATE_RULE_DTLSContains cross-rate calculation rulesRULE_ID, FROM_CURRENCY, TO_CURRENCY
GL_DAILY_CONVERSION_TYPESDefines currency conversion typesCONVERSION_TYPE, NAME, DESCRIPTION

Real-world application: For multinational companies, GL_DAILY_RATES provides the exchange rates used when converting foreign currency transactions to the ledger currency. Treasury departments often load rates through GL_DAILY_RATES_INTERFACE from external sources.

Access Control and Security Tables

These tables manage security and access to financial data:

Table NameDescriptionKey Fields
GL_ACCESS_SETSDefines access control setsACCESS_SET_ID, NAME, DESCRIPTION
GL_ACCESS_SET_ASSIGNMENTSContains access set assignmentsACCESS_SET_ID, USER_ID, ASSIGNMENT_TYPE
GL_ACCESS_SET_LEDGERSMaps ledgers to access setsACCESS_SET_ID, LEDGER_ID, READ_ONLY_FLAG
GL_SECURITY_RULESStores security rule definitionsRULE_ID, NAME, ENABLED_FLAG
GL_SECURITY_SEGMENTSManages security for segmentsSEGMENT_ID, SEGMENT_NAME, SECURITY_TYPE
GL_CONCURRENCY_CONTROLContains concurrency control settingsOBJECT_ID, OBJECT_TYPE, LOCK_DATE

Real-world application: Finance departments use GL_ACCESS_SETS and GL_ACCESS_SET_ASSIGNMENTS to control which users can access specific ledgers, while GL_ACCESS_SET_LEDGERS determines whether users have read-only or read-write access.

Allocation and Automation Tables

These tables support automated processes for financial operations:

Table NameDescriptionKey Fields
GL_ALLOC_RULESDefines allocation rulesRULE_ID, NAME, FORMULA, STATUS
GL_ALLOC_RULESETSContains sets of allocation rulesRULESET_ID, NAME, DESCRIPTION
GL_AUTORUN_SETUPStores automated process configurationSETUP_ID, PROCESS_TYPE, FREQUENCY_TYPE
GL_AUTORUN_RUNSTracks automated process executionsRUN_ID, SETUP_ID, START_TIME, END_TIME
GL_AUTORUN_RUN_RESULTSRecords results of automated processesRESULT_ID, RUN_ID, STATUS, MESSAGE
GL_AUTOMATIC_POSTING_OPTIONSConfigures automatic postingLEDGER_ID, SOURCE_NAME, ENABLED_FLAG

Real-world application: Month-end processes often use GL_ALLOC_RULES to automatically distribute overhead costs to departments. GL_AUTORUN_SETUP configures these allocations to run on schedule, while GL_AUTORUN_RUN_RESULTS tracks their success or failure.

Mapping and Transformation Tables

These tables support financial consolidation and reporting across different accounting structures:

Table NameDescriptionKey Fields
GL_COA_MAPPINGSDefines chart of accounts mappingsMAPPING_ID, NAME, SOURCE_COA_ID, TARGET_COA_ID
GL_COA_MAP_ACCOUNT_RULESContains account mapping rulesRULE_ID, MAPPING_ID, SOURCE_VALUE, TARGET_VALUE
GL_COA_MAP_ROLLUP_RULESDefines rollup mapping rulesRULE_ID, MAPPING_ID, TARGET_VALUE
GL_COA_MAP_SEGMENT_RULESStores segment mapping rulesRULE_ID, MAPPING_ID, SOURCE_SEGMENT, TARGET_SEGMENT
GL_ACCTS_MAP_SEG1_GT through GL_ACCTS_MAP_SEG30_GTSegment mapping tablesSOURCE_VALUE, TARGET_VALUE, MAPPING_ID

Real-world application: During acquisitions or system migrations, GL_COA_MAPPINGS and related tables facilitate mapping between different chart of accounts structures, ensuring financial data can be consolidated correctly despite structural differences.

Reversal and Adjustment Tables

These tables manage reversals and adjustments to financial data:

Table NameDescriptionKey Fields
GL_AUTOREVERSE_OPTIONSConfigures auto-reversal optionsLEDGER_ID, REVERSAL_PERIOD_TYPE, REVERSAL_METHOD
GL_AUTOREV_CRITERIA_SETSDefines auto-reversal criteriaCRITERIA_SET_ID, NAME, DESCRIPTION
GL_CLEARING_ACCT_RECON_GTSupports clearing account reconciliationLEDGER_ID, ACCOUNT_CCID, RECONCILIATION_DATE

Real-world application: Accounting teams use GL_AUTOREVERSE_OPTIONS to configure how accrual entries automatically reverse in the following period. This ensures temporary entries don't permanently affect financial statements.

Understanding Table Relationships

Oracle Fusion General Ledger tables work together in an integrated system:

  1. Journal entries (GL_JE_HEADERS, GL_JE_LINES) create and modify balances (GL_BALANCES)
  2. Ledger configuration (GL_LEDGERS) and chart of accounts (GL_CODE_COMBINATIONS) define the structure for financial data
  3. Calendar and period tables (GL_CALENDARS, GL_PERIODS) determine when journals can be posted
  4. Currency and exchange rate tables support multi-currency operations
  5. Access control tables determine who can view and modify financial data
  6. Allocation and automation tables support automated processes
  7. Mapping and transformation tables enable reporting across different accounting structures

Key Tables for Common Tasks

When working with Oracle Fusion General Ledger, these key tables are most frequently used:

  1. GL_BALANCES - For querying account balances
    • Example use: SELECT * FROM GL_BALANCES WHERE LEDGER_ID = 123 AND PERIOD_NAME = 'JAN-25'
  2. GL_JE_HEADERS and GL_JE_LINES - For journal entry information
    • Example use: SELECT h.NAME, l.ENTERED_DR, l.ENTERED_CR FROM GL_JE_HEADERS h JOIN GL_JE_LINES l ON h.JE_HEADER_ID = l.JE_HEADER_ID WHERE h.PERIOD_NAME = 'JAN-25'
  3. GL_CODE_COMBINATIONS - For account combination details
    • Example use: SELECT * FROM GL_CODE_COMBINATIONS WHERE SEGMENT1 = '01' AND SEGMENT2 = '1000'
  4. GL_LEDGERS - For ledger configuration information
    • Example use: SELECT * FROM GL_LEDGERS WHERE NAME = 'US Operations'
  5. GL_PERIODS - For period status and date ranges
    • Example use: SELECT * FROM GL_PERIODS WHERE PERIOD_SET_ID = 123 ORDER BY START_DATE

Best Practices for Working with GL Tables

  1. Always use the API when possible: While direct table access is useful for reporting, use Oracle's APIs for data manipulation to ensure proper validation and processing.
  2. Consider performance implications: Many GL tables contain millions of rows. Use appropriate indexing and filtering in your queries.
  3. Understand the impact of security: Remember that data security policies may restrict access to certain records even when querying tables directly.
  4. Be aware of multi-org data: In a multi-organization implementation, ensure your queries include appropriate organization filters.
  5. Test in non-production first: Always test custom queries in a test environment before running them in production.

Conclusion

Understanding Oracle Fusion General Ledger tables is essential for effectively working with Oracle Financials. This comprehensive reference organizes the tables by functional category to help you navigate the complex data model.

Whether you're developing reports, troubleshooting issues, or planning data migrations, this guide provides the foundation you need to work with Oracle Fusion General Ledger data effectively.


Note: Table structures may vary slightly between Oracle Fusion versions. Always verify the exact structure in your specific implementation.

Labels: , ,

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home