Oracle GL Techncial

Post on 24-Nov-2014

203 views 11 download

Tags:

transcript

Oracle General LedgerOracle General Ledger

--Technical Foundation--Technical Foundation

Important GL Tables

GL Application Foundation (FND) Tables

Accounting Flexfield - “FND_ID_FLEX_STRUCTURES” & “FND_ID_FLEX_SEGMENTS”Value Sets - “FND_FLEX_VALUE_SETS”Segment Values - “FND_FLEX_VALUES” & “FND_FLEX_VALUES_TL”

GL Application - Setup Tables

Set of Books - “GL_SETS_OF_BOOKS”Code Combinations - “GL_CODE_COMBINATIONS”Calendar - “GL_PERIODS”, “GL_PERIOD_STATUSES”Budget Definitions - “GL_BUDGETS”, “GL_BUDGET_ENTITIES”, “GL_BUDGET_VERSIONS”

GL Application - Open Interface Tables

Actuals Interface - “GL_INTERFACE”Budget Interface - “GL_BUDGET_INTERFACE”Daily Foreign Currency Rates - “GL_DAILY_RATES_INTERFACE”

GL Application - Transaction & Balance Data Tables

Journal Entries (Transactions) - “GL_JE_BATCHES”, “GL_JE_HEADERS”, “GL_JE_LINES”Balances - “GL_BALANCES”

GL Application - Consolidations & Conversion Tables

Consolidation Mapping - “GL_CONSOLIDATION ”Consolidate Account Ranges - “GL_CONSOLIDATION_ACCOUNTS ”Daily Foreign Currency Rates - “GL_DAILY_RATES_INTERFACE”Aggregate balances (average balances enabled) - GL_DAILY_BALANCES

GL Application - Revaluation Tables

Revaluation definitions - “GL_REVALUATIONS ”Revaluation Account Ranges GL_REVAL_ACCOUNT_RANGES Data for country-specific RX trial balance reports GL_RX_TRIAL_BALANCE_ITF

GL Application Definition Tables

Cross Validation Rules - “FND_FLEX_VALIDATION_RULES” & “FND_FLEX_VALIDATION_RULE_LINES” Mass Allocations - “GL_ALLOC_BATCHES”, “GL_ALLOC_FORMULAS”, “GL_ALLOC_FORMULA_LINES”

Application Lookup Tables

GL Lookup Values (e.g. A, B, E) - “GL_LOOKUPS” FND Lookup Values - “FND_LOOKUPS”

GL Application Processing & Temporary Tables

Control - “GL_INTERFACE_CONTORL”Temporary - “GL_POSTING_INTERIM”, “GL_TEMPORARY_COMBINATIONS”

GL Application Archive, Log, & History Tables

History - “GL_ALLOC_HISTORY”, “GL_ARCHIVE_HISTORY”, “GL_INTERFACE_HISTORY”

Archive & Purge - “GL_ARCHIVE_BATCHES”Log - “GL_IMPORT_REFERENCES”

GL Objects

GL Objects

GL Application ID = 101

Important GL Profiles

GL Profiles

GL Set of Books ID GL Set of Books Name Journals: Default Category Journals: Allow Preparer Approval fnd_profile.VALUE('GL_SET_OF_BKS_ID');

API to get profile value:

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);

Get the combination from the ccid fnd_flex_ext.get_segs('SQLGL', 'GL#',v_coa_id,p_CCID) ;

It returns the number of segments but also feeds the segments to the v_tax_array

o_number_of_segments:=FND_FLEX_EXT.breakup_segments(concatenated_segs => v_tax_combination ,delimiter => '.',segments => v_tax_array);

GL Private APIs

•GL_DAILY_RATES_API•GL_JOURNAL_IMPORT_PKG•GL_SETS_OF_BOOKS_PKG•GL_REVALUATION_PKG•GL_BALANCES_PKG•GL_CURRENCY_APISELECT object_name FROM ALL_OBJECTS WHERE object_name LIKE 'GL%' and object_type IN ('PACKAGE','PROCEDURE')

GL PUBLIC APIS

GL INTERFACE TABLES

GL_INTERFACE

Used to import journal entry transactions (budget, actual, encumbrance, and statistical) from external sources. Also used to send transactions between sets of books (e.g.Consolidation, MRC etc.).

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

Used to automates the loading of currency conversion rates into the GL_DAILY_RATES table.

GL JOURNAL IMPORT

Legacy System(s) / ADI/Web ADI

Oracle GL - Open Interface Tables

GL_INTERFACE GL_BUDGET_INTERFACE

Run Journal Import Run Budget Upload

GL_JE_BATCHES

GL_JE_HEADERS

GL_JE_BATCHES

GL_BALANCES

Sub Ledgers

Submitting Journal Import program using PLSQL APIv_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_RATESGL_HISTORICAL_RATESGL_TRANSLATION_TRACKINGGL_TRANSALATION_INTERIMGL_XLATE_POSTING_INTERIMGL_BALANCES

SUBLEDGER TO GL

INVENTORY

Source: InventoryCategory: MTL(Material TransactionsProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: WIPProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

PO

Source: PurchasingCategory: ReceivingProgram: Receipt Accruals - Period-EndAccounting: DR CR Account TypeINVENTORY RECEIVING INSPECTION X AssetA/P - Unvouchered Receipts x Liability

ACCOUNTS PAYABLE

Source: PayablesCategory: Purchase InvoicesProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: PaymentsProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

ACCOUNTS RECEIVABLE

Source: ReceivablesCategory: Sales InvoicesProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: Trade ReceiptsProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

Category: Cross CurrencyProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: Debit MemosProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

Category: AdjustmentProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: Credit Memo ApplicationsProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

Category: Credit MemosProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: Misc ReceiptsProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

FIXED ASSETS

Source: AssetsCategory: AdditionProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: DepreciationProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

Category: TransferProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: AdjustmentProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

Category: ReclassProgram: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: RetirementProgram: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

PROJECTS

Source: ProjectsCategory: Program: Accounting: DR CR Account TypeINVENTORY X AssetERP Inventory Load x Expense

Category: Program: Accounting: DR CR Account TypeWIP - Inventory @ STD x AssetMaterial Usage Variance x ExpenseOutside Processing Charges x ExpenseMFG Std. Variance x Expense

????

Questions

Thank You

Thank You