Skip to the content.

AR AutoAccounting Upload – Oracle EBS SQL Report

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

Overview

Creates and updates the Receivables AutoAccounting definitions - the Excel equivalent of the Automatic Accounting form (Setup > Transactions > AutoAccounting).

Each row is one segment of the chart of accounts of an AutoAccounting type, with the operating unit and type repeated on every row. Enter either a Table Name, from which AutoAccounting takes the segment value, or a Constant.

Each type is saved as a whole: after the upload, every enabled segment of the chart of accounts must have a table name or constant, and a dependent segment must use the table name of its parent segment or a constant valid for the parent constant. Otherwise none of the type’s rows are saved. To define a new type, enter one row per segment. The type’s descriptive flexfield values are taken from its first row.

Changing the balancing segment of the Revenue or Receivable type also changes the balancing segment of the Tax, Freight, Unbilled Receivable, Unearned Revenue and AutoInvoice Clearing types, as in the form.

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, Operating Unit, Type

Oracle EBS Tables Used

fnd_flex_values_vl, ra_account_default_segments, ra_account_defaults_all, hr_operating_units, ar_system_parameters_all, gl_ledgers, fnd_id_flex_segments_vl, mo_glob_org_access_tmp

Report Categories

Enginatics, R12 only, Upload

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 AR_AutoAccounting_Upload.xml
SQL Source AR AutoAccounting Upload.sql
Full Report on Enginatics www.enginatics.com/reports/ar-autoaccounting-upload/

Case Study & Technical Analysis: AR AutoAccounting Upload

Executive Summary

The AR AutoAccounting Upload is a spreadsheet-based maintenance tool for the Receivables AutoAccounting definitions that the Automatic Accounting form (Setup > Transactions > AutoAccounting) normally controls. For each operating unit it lists every AutoAccounting type, such as Revenue, Receivable, Tax, Freight, Unbilled Receivable, Unearned Revenue and AutoInvoice Clearing, together with one row per enabled segment of the general ledger chart of accounts and the table name or constant that supplies that segment. Receivables configuration specialists and finance systems teams use it to review, replicate and maintenance-update account generation rules across operating units. The report runs in Excel via Blitz Report.

Business Challenge

The Solution

Technical Architecture (High Level)

Primary Tables

Logical Relationships

  1. RA_ACCOUNT_DEFAULTS_ALL is filtered by org_id against MO_GLOB_ORG_ACCESS_TMP and joined to HR_OPERATING_UNITS on organization_id.
  2. AR_SYSTEM_PARAMETERS_ALL is joined on org_id, and GL_LEDGERS on set_of_books_id equal to ledger_id, to obtain the chart_of_accounts_id.
  3. RA_ACCOUNT_DEFAULTS_ALL is joined to RA_ACCOUNT_DEFAULT_SEGMENTS on gl_default_id.
  4. The chart of accounts identifier is matched to FND_ID_FLEX_SEGMENTS_VL (application 101, GL#), and the segment name is matched to the segment column of the default segment row.
  5. For constant segments, a correlated subquery on FND_FLEX_VALUES_VL returns the value description within the same flex value set.

Parameters & Filtering

The SQL text does not reference these three parameters through bind variables. Row selection is determined by the operating unit access list and the join conditions described above.

Performance & Optimization

FAQ

Q: How do I bulk-review AutoAccounting table names and constants across operating units? A: Run the report with the operating units in scope; each row lists one AutoAccounting type segment with its table name or constant and the operating unit it belongs to.

Q: Why does an AutoAccounting type fail to save after an upload? A: Every enabled chart of accounts segment must have a table name or constant, and a dependent segment must use its parent’s table name or a constant valid for the parent constant; otherwise none of that type’s rows are saved.

Q: Which upload changes the balancing segment for Tax and Freight AutoAccounting? A: Changing the balancing segment of the Revenue or Receivable type also updates the balancing segment of the Tax, Freight, Unbilled Receivable, Unearned Revenue and AutoInvoice Clearing types, as in the Automatic Accounting form.


© Enginatics GmbH