Professional Documents
Culture Documents
Subledgeraccountingtechoverview 151113151018 Lva1 App6891 PDF
Subledgeraccountingtechoverview 151113151018 Lva1 App6891 PDF
Technical Overview
David Taylor
29th June 2012
Contents
Oracle GL
• Journals
• Journal Lines Manual Journals
o Accounting information is transferred to General Ledger to support financial statutory and management reporting
4. Basic Transaction Accounting
o Accounts Payable (AP)
Transaction Level DR / CR Account Type
Invoice Header CR Liability
Distribution DR Expense
Distribution DR Tax
Credit Note Header DR Liability
Distribution CR Expense
Distribution CR Tax
Prepayment Header CR Liability
Distribution DR Prepaid Expense
Distribution DR Tax
Payment Header DR Liability
Header CR Cash Clearing
Reconciled Payment Header DR Cash Clearing
Header CR Cash
Basic Transaction Accounting (cont)
o Accounts Receivable (AR)
Transaction Level DR / CR Account Type
Invoice Header DR Receivables (Trade Debtors)
Distribution CR Revenue
Distribution CR Tax
Credit Memo Header CR Receivables (Trade Debtors)
Distribution DR Revenue
Distribution DR Tax
Adjustment Header CR Receivables (Trade Debtors)
Header DR Write Off/Bad Debt
Basic Transaction Accounting (cont)
o Accounts Receivable (AR), continued
Transaction Level DR / CR Account Type
Misc Cash Receipt Header CR Receivables (Activity)
Header DR Cash Clearing
Misc Cash Payment Header DR Receivables (Activity)
Header CR Cash Clearing
Cash Receipt Header DR Cash Clearing
Header CR Unidentified
Header or CR Unapplied
Header or CR On Account
Header or CR Receivables (Trade Debtors)
Reconciled Cash Receipt Header CR Cash Clearing
Header DR Cash
5. View Accounting in Oracle eBs Suite
o When viewing the sub-ledger transaction, use the “Tools” or “Reports” menu.
o E.g. for an AP invoice, with the following invoice distributions…
Note: Oracle SLA has prorated the Liability amount across item and tax lines
6. Sub-ledger to GL Transfer
o Accounted amounts can be transferred to Oracle GL in Detail or Summary mode.
o In Detail mode:
• Each sub-ledger transaction header or distribution is used to create a corresponding journal line
• There is a one-to-one relationship between the sub-ledger accounting entry, and the GL journal line
• GL stores some of the sub-ledger transaction information (invoice number, etc) in the REFERENCE_x columns of
the GL_JE_LINES table
o In Summary mode
• For a given journal header, a single journal line is created per unique account code combination
• There is a many-to-one relationship between the sub-ledger accounting entry, and the GL journal line
• In this case, GL cannot store sub-ledger transaction information in the GL_JE_LINES table
• A GL report which relies on the REFERENCE_x columns of the GL_JE_LINES table cannot provide transaction info if
accounting is transferred to GL in Summary mode
• Detail transaction information can only be derived by connecting from GL to sub-ledger transaction tables
(AP_INVOICES_ALL, AP_INVOICE_DISTRIBUTIONS_ALL, etc.)
7. Oracle GL to Sub-ledger Drill-down
o In R12 Oracle eBs, drill-down from GL to all sub-ledger modules (AP, AR, etc.) proceeds via Oracle Sub-Ledger Accounting
(SLA) database tables, in the XLA database schema.
o As part of the R12 upgrade process, the XLA tables are populated for all R11 transactions.
o Beware! There may be some (old) historical transactions which are not in XLA.
Oracle GL to Sub-ledger Drill-down
o Resp: GL Administrator, Nav: Inquiry > Account. Click on “Show Journal Details”, and then on “Show Full Journal”:
Oracle GL to Sub-ledger Drill-down
o The Line Drilldown shows the multiple SLA lines corresponding to the single GL journal line (since transfer to GL was
carried out in Summary mode):
o The View Transaction button takes the user to the Sub-Ledger transaction which generated the accounting line (an AP
Invoice, in this case)
8. Oracle SLA Data Model
Oracle Sub Ledger (E.g. Payables) Oracle Sub Ledger Accounting (SLA) Oracle General Ledger
XLA_EVENTS GL_JE_HEADERS
XLA_AE_HEADERS GL_JE_LINES
SUMMARISED
AP_INVOICE_DISTRIBUTIONS_ALL XLA_DISTRIBUTION_LINKS
9. SQL: GL to AP Drill-down Query
SELECT *
FROM gl_je_batches gjb
, gl_je_headers gjh
, gl_je_lines gjl
, gl_period_statuses gps
, gl_code_combinations gcc
, gl_import_references gir
, xla_ae_lines xal
, xla_ae_headers xah
, xla.xla_transaction_entities xte -- must use XLA base table, not APPS synonym
, xla_distribution_links xdl
, ap_invoice_distributions_all aida
, ap_invoices_all aia
WHERE 1 = 1
-- identify GL journal lines
AND gps.application_id = 101
AND gps.ledger_id = 1
AND gps.effective_period_num >= &P_EFF_PERIOD_NUM_FROM
AND gps.effective_period_num <= &P_EFF_PERIOD_NUM_TO
AND gjb.je_batch_id = gjh.je_batch_id
AND gjh.period_name = gps.period_name
AND gjh.ledger_id = gps.ledger_id
AND gjh.status = 'P'
AND gjh.actual_flag = 'A'
AND gjh.je_source = 'Payables'
AND gjcv.je_category_key(+) = gjh.je_category
AND gjh.je_header_id = gjl.je_header_id
AND gjl.code_combination_id = gcc.code_combination_id
AND gcc.summary_flag = 'N'
GL to AP Drill-down Query (cont)
o All eBs entity codes, and their descriptions, are listed in XLA_ENTITY_TYPES_TL.
o Mappings from XLA_TRANSACTION_ENTITIES to sub-ledger transaction tables for all entity codes are listed in
XLA_ENTITY_ID_MAPPINGS.
o A GL to Sub-ledger Drill-down report will require one query per transaction entity, and the separate queries joined by
UNION ALL.
XLA_DISTRIBUTION_LINKS
o The following distribution types are commonly used…
o If the XLA_DISTRIBUTION_LINKS table is used, all amounts should be taken from the UNROUNDED_ACCOUNTED_DR /
CR and UNROUNDED_ENTERED_DR / CR columns.
o Since some accounting does not originate from transaction distributions (such as INTRA or INTER company accounting),
the XLA_DISTRIBUTION_LINKS table should be outer-joined to the main query.
Questions, questions?