Skip to the content.

GL Setup Upload – Oracle EBS SQL Report

Oracle E-Business Suite SQL report from the Enginatics Library powered by Blitz Report™.

Overview

Create and update the General Ledger setup entities that the GL Setup menu maintains, replicating the Calendars (GLXSTCAL), Period Types (GLXSTPTY), Journal Sources (GLXSTSRC), Journal Categories (GLXSTCAT), Encumbrance Types (GLXSTENC), Statistical Units of Measure (GLXSTUOM), Ledger Sets (GLXSTLST), Data Access Sets (GLXSTACC), Journal Reversal Criteria (GLXSTARV) and AutoPost Criteria (GLXSTAPO) forms, plus ledger options.

Each row is one of fifteen entity types, chosen in the Row Type column. Only the columns belonging to that entity are read; all other columns are ignored. A template is supplied for every entity, which shows only that entity’s columns and sets the Row Type automatically.

An entity is created when it does not yet exist and updated otherwise; the Upload Mode parameter only decides whether existing records are downloaded for review. Rows that change nothing report No change and are not written.

After a Calendar Period upload the calendar is checked for gaps and overlaps between its periods, which are reported as a warning. Run the Calendar Validation Report for full details.

Run this report in Excel in seconds: download Blitz Report™ free (your first 30 reports are free) or try it in the online demo.

Report Parameters

Upload Mode, Row Type, Calendar, Period Type, Chart of Accounts

Oracle EBS Tables Used

gl_period_types, gl_periods, gl_period_sets, gl_je_sources_vl, gl_je_categories_vl, gl_encumbrance_types, gl_stat_account_uom, fnd_id_flex_structures_vl, gl_ledgers, gl_access_sets, gl_ledger_set_norm_assign, gl_access_set_norm_assign, gl_code_combinations_kfv, gl_transaction_calendar, gl_autorev_criteria_sets, gl_autoreverse_options, gl_automatic_posting_sets, fnd_lookup_values_vl, gl_automatic_posting_options

Report Categories

Enginatics, R12 only, Upload

GL Account Analysis (Drilldown) (with inventory and WIP), GL Account Distribution Analysis, GL Balance Drilldown

Running This SQL Without Blitz Report

The SQL source can be run in any SQL client. Some Oracle EBS SQL reports in this library use functions from the utility package xxen_util – install it first. Blitz Report™ adds parameters, Excel output with pivots, scheduling and security on top.

Download & Import Options

Resource Link
Excel Example Output Example
Blitz Report™ XML Import GL_Setup_Upload.xml
SQL Source GL Setup Upload.sql
Full Report on Enginatics www.enginatics.com/reports/gl-setup-upload/

Case Study & Technical Analysis: GL Setup Upload

Executive Summary

The GL Setup Upload report creates and updates the General Ledger setup entities that the GL Setup menu maintains, in a single Excel file. It covers calendars and their periods, period types, journal sources and categories, encumbrance types, statistical units of measure, ledger sets, data access sets, AutoReverse criteria and AutoPost criteria, together with the options of existing ledgers. Each row belongs to one of fifteen entity types, chosen in the Row Type column, and a template is supplied for each entity. Implementation teams and GL administrators use it to build or change the accounting setup for a new instance, or to copy setup changes between environments.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. Each of the fifteen entity types is built as its own branch, and the branches are combined with UNION ALL. A row number orders the result by row type and the entity’s key columns.
  2. Each branch joins its entity table to its period type, chart of accounts or flexfield structure, so that the chart of accounts ID and application 101 are matched on the accounting flexfield code.
  3. Calendar Period joins GL_PERIOD_SETS to GL_PERIODS and then to GL_PERIOD_TYPES.
  4. Ledger Set and Data Access Set Assignment branches join the member assignment tables to the set and to the ledger, excluding deleted assignments.

Parameters & Filtering

Performance & Optimization

FAQ

Q: Why can I not change the periods per year of an existing period type? A: The description states that Periods Per Year and Year Type In Name are required to create a period type and cannot be changed afterwards. Q: Can this upload create a ledger? A: No. Ledgers cannot be created here, because only the Accounting Setup Manager can create the accounting setup around one. The upload updates the options of an existing ledger. Q: Does a calendar period upload check the calendar? A: Yes. After the upload the calendar is checked for gaps and overlaps between its periods, and any issue is reported as a warning. The Calendar Validation Report gives the full detail.


© Enginatics GmbH