Oracle General Ledger - Technical Foundation
Oracle General Ledger - Technical Foundation
--Technical Foundation
Important GL Tables
GL Application Foundation (FND) Tables
Control - “GL_INTERFACE_CONTORL”
Temporary - “GL_POSTING_INTERIM”, “GL_TEMPORARY_COMBINATIONS”
GL Objects
GL Application ID = 101
Important GL Profiles
GL Profiles
fnd_profile.VALUE('GL_SET_OF_BKS_ID');
GL Profiles
GL APIs
Creating new code combination
FND_FLEX_EXT.get_ccid('SQLGL','GL#',
v_coa_id,fnd_date.date_to_canonical(sysdate), p_concat_segments);
fnd_flex_ext.get_segs('SQLGL', 'GL#',v_coa_id,p_CCID) ;
•GL_DAILY_RATES_API
•GL_JOURNAL_IMPORT_PKG
•GL_SETS_OF_BOOKS_PKG
•GL_REVALUATION_PKG
•GL_BALANCES_PKG
•GL_CURRENCY_API
SELECT object_name FROM ALL_OBJECTS WHERE object_name LIKE 'GL%'
and object_type IN ('PACKAGE','PROCEDURE')
GL PUBLIC APIS
GL INTERFACE TABLES
GL_INTERFACE
Notes:
Requires calendar periods to be “Open” or “Future”.
The “Journal Import” program transfers data from the Interface table into the
Oracle base tables (e.g. GL_JE_BATCHES,GL_JE_HEADERS, and
GL_JE_LINES).
The “Journal Posting” program changes the posting status w/i the “GL_JE_”
tables,updates the GL_BALANCES table, creates Intercompany
Balancing transactions, Suspense Posting transactions, etc.
GL_BUDGET_INTERFACE
Used to import budget data directly into GL_BALANCES table without requiring
accounting periods to be open or run the Journal Posting program
Code:
GL_DAILY_RATES_INTERFACE
GL_INTERFACE GL_BUDGET_INTERFACE
GL_JE_BATCHES
GL_BALANCES
GL_JE_HEADERS
GL_JE_BATCHES
Submitting Journal Import program using PLSQL API
v_interface_run_id := gl_journal_import_s.nextval;
FND_REQUEST.submit_request(
application => 'SQLGL'
,program => 'GLLEZL'
,description => NULL
,start_time => SYSDATE
,sub_request => FALSE
,argument1 => v_interface_run_id
,argument2 => p_sob_id
,argument3 => ‘N’ --p_suspense flag
,argument4 => NULL --p_start_date
,argument5 => NULL -- p_end_date
,argument6 => ‘N’ --p_summary_flag
,argument7 => 'W') -- import descriptive flexfields
;
GL Technical
Documentation
GL Journal Import - GL Interface
GL BALANCE
TRANSLATIONS
GL BALANCE TRANSLATIONS
Balances that require translation into one currency for reporting and/or
consolidation purposes must run the translation process. This process requires
that there be a period rate entered for set of books functional currency to the
translation currency, i.e. EUR to USD. This rate is entered manually using the
period rates form for each set of books. The user will then submit a process using
the translation form to translate the balances to the new currency. The process
will perform the following query to determine the balances available for
translation.
GL BALANCE
TRANSLATIONS
GL BALANCE TRANSLATIONS
The process will also retrieve the historical rates for equity accounts from the
GL_HISTORICAL_RATES table for the prior period and insert new records based
on a profile option set for the module (Year to Date or Period To Date).
The process will then insert into a temporary table all of the balances to be
translated called the GL_TRANSLATION_INTERIM. From here the process will
translate the balances and insert those records into the
GL_XLATE_POSTING_INTERIM table. Last the data will be inserted into or
updated in the GL_BALANCES table.
GL BALANCE TRANSLATIONS
Main tables
GL_PERIOD_RATES
GL_HISTORICAL_RATES
GL_TRANSLATION_TRACKING
GL_TRANSALATION_INTERIM
GL_XLATE_POSTING_INTERIM
GL_BALANCES
SUBLEDGER TO GL
INVENTORY
Source: Inventory
Category: MTL(Material Transactions
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category: WIP
Program:
Accounting:
DR CR Account Type
WIP - Inventory @ STD x Asset
Material Usage Variance x Expense
Outside Processing Charges x Expense
MFG Std. Variance x Expense
PO
Source: Purchasing
Category: Receiving
Program: Receipt Accruals - Period-End
Accounting:
DR CR Account Type
INVENTORY RECEIVING INSPECTION X Asset
A/P - Unvouchered Receipts x Liability
ACCOUNTS PAYABLE
Source: Payables
Category: Purchase Invoices
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category: Payments
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
ACCOUNTS RECEIVABLE
Source: Receivables
Category: Sales Invoices
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Source: Assets
Category: Addition
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category: Depreciation
Program:
Accounting:
DR CR Account Type
WIP - Inventory @ STD x Asset
Material Usage Variance x Expense
Outside Processing Charges x Expense
MFG Std. Variance x Expense
Category: Transfer
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category: Adjustment
Program:
Accounting:
DR CR Account Type
WIP - Inventory @ STD x Asset
Material Usage Variance x Expense
Outside Processing Charges x Expense
MFG Std. Variance x Expense
Category: Reclass
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category: Retirement
Program:
Accounting:
DR CR Account Type
WIP - Inventory @ STD x Asset
Material Usage Variance x Expense
Outside Processing Charges x Expense
MFG Std. Variance x Expense
PROJECTS
Source: Projects
Category:
Program:
Accounting:
DR CR Account Type
INVENTORY X Asset
ERP Inventory Load x Expense
Category:
Program:
Accounting:
DR CR Account Type
WIP - Inventory @ STD x Asset
Material Usage Variance x Expense
Outside Processing Charges x Expense
MFG Std. Variance x Expense
Questions
????
Thank You
Thank You