Search Results basic_ed




Overview

The view JAI_CMN_RG_23_II_V is a reporting object owned by the APPS schema within the JA – Asia/Pacific Localizations product family. It exposes excise register data for the RG-23 register (Part II, Inputs), a statutory register format used in Indian excise reporting within Oracle E-Business Suite. The view consolidates transaction-level excise duty amounts, register balances, organization and location context, and receipt references into a single denormalized structure suitable for reporting, reconciliation, and downstream integration. In Oracle EBS 12.1.1 and 12.2.2, the object is registered as a VALID view and is intended primarily for read-only consumption by localization reports, reconciliation programs, and customer-defined extracts.

The view does not itself store data; it derives its result set entirely from an underlying transaction table joined to descriptive and reference lookups. Because it is a view rather than a table, it carries no data integrity constraints of its own and inherits the integrity of its base objects. Its naming convention (JAI_CMN_RG_23_II_V) indicates a common (CMN) localization object tied to the RG-23 register.

Underlying Base Objects

Per the documented ETRM metadata, JAI_CMN_RG_23_II_V is defined over the following referenced base objects, all accessed through synonyms in the APPS schema:

The joins to RCV_TRANSACTIONS and RCV_SHIPMENT_HEADERS are outer joins (denoted by the (+) operator in the view text), ensuring that register entries without a corresponding receiving transaction are still returned. The joins to MTL_PARAMETERS, HR_LOCATIONS_ALL, and HR_ALL_ORGANIZATION_UNITS are inner joins, so a valid organization and location are required for a row to appear.

Key Columns

The view exposes a ROW_ID (derived from the base table ROWID) in addition to the following functional columns. Several monetary columns use a DECODE/NVL construct that nets debit and credit amounts, returning a signed excise value:

Common Use Cases and Queries

Typical uses include RG-23 Part II input register reporting, excise duty reconciliation against receiving transactions, and period-end extracts for statutory filing. A representative query filtering to a financial year and organization follows:

  • SELECT organization_code, location_code, transaction_date, basic_ed, additional_ed, additional_cvd, closing_balance FROM jai_cmn_rg_23_ii_v WHERE fin_year = :fin_year AND organization_id = :org_id ORDER BY transaction_date, slno;
  • SELECT register_type, SUM(basic_ed) total_basic_ed, SUM(additional_ed) total_additional_ed FROM jai_cmn_rg_23_ii_v WHERE fin_year = :fin_year GROUP BY register_type;
  • SELECT excise_invoice_no, receipt_num, basic_ed FROM jai_cmn_rg_23_ii_v WHERE receipt_ref IS NOT NULL AND fin_year = :fin_year;

Because the view performs outer joins to receiving tables, reports using receipt columns should account for NULL RECEIPT_NUM values. For performance, filter on FIN_YEAR, ORGANIZATION_ID, and TRANSACTION_DATE to limit the scanned base transaction set.