Search Results arrx_cogs_rep_inner
Overview
ARRX_COGS_REP_INNER is an internal PL/SQL package body owned by the APPS schema in Oracle E-Business Suite Releases 12.1.1 and 12.2.2. It supports the Cost of Goods Sold (COGS) reporting functionality within Oracle Receivables, providing the procedural engine that assembles COGS data by matching revenue recognition records in Receivables against corresponding inventory cost records. The package name includes the suffix "_INNER," indicating that it is a helper or implementation package rather than a standalone API; it is typically called by an outer wrapper package that handles parameter validation, concurrent program registration, and output formatting.
The package is classified as VALID in the ETRM repository and is an "OTHER" API classification, meaning it is not part of Oracle's published public API surface. Documented subprograms number three: POPULATE_ROWS, GET_COST, and POPULATE_SUMMARY. The package is not referenced by any database object, but is itself referenced by one other package, consistent with its role as a subordinate implementation unit.
Key Procedures and Functions
- POPULATE_ROWS — Drives the primary data collection pass. It reads transaction and distribution records, matches Receivables revenue lines against the corresponding interface cost rows, and populates the working data set that feeds the COGS report output.
- GET_COST — Retrieves the item cost applicable to a given transaction line. It resolves cost information from inventory valuation data so that each revenue line can be paired with its associated cost of goods sold amount.
- POPULATE_SUMMARY — Aggregates the detail rows produced by the other subprograms into summary-level totals suitable for report presentation, applying grouping and totaling logic across the collected records.
No parameter lists are documented for these subprograms; callers should not assume a callable interface, as the package is intended for internal invocation by its parent package.
Tables Accessed
The package reads and writes a defined set of application tables via APPS synonyms, spanning Receivables, Inventory, and general ledger data:
- AR_COGS_REV_ITF — The COGS revenue interface table, the primary staging area where matched revenue and cost rows are written.
- RA_CUSTOMER_TRX, RA_CUSTOMER_TRX_LINES, RA_CUST_TRX_LINE_GL_DIST, RA_CUST_TRX_LINE_GL_DIST_ALL, RA_CUSTOMER_TRX_TYPES — Source transaction, line, distribution, and transaction type data for identifying revenue lines and their accounting.
- MTL_MATERIAL_TRANSACTIONS, MTL_TRANSACTION_ACCOUNTS, MTL_SYSTEM_ITEMS_B, MTL_PARAMETERS, CST_ITEM_COSTS — Inventory transaction history, accounting distributions, item definitions, and item cost information used to derive COGS amounts.
- GL_CODE_COMBINATIONS, GL_SETS_OF_BOOKS — Chart of accounts and ledger definitions for validation and reporting context.
- HZ_CUST_ACCOUNTS, HZ_PARTIES — Trading partner and customer details for report output.
- AR_SYSTEM_PARAMETERS, FND_CURRENCIES, FND_PROFILE, FND_DATE, FND_FILE, FND_FLEX_EXT, FND_FLEX_KEYVAL — Setup parameters, currency conversion, profile options, date utilities, file output, and key flexfield utilities.
Usage Notes
ARRX_COGS_REP_INNER is an internal implementation package and is not intended for direct invocation by customer code. It is called by a single parent package (the outer COGS reporting wrapper), which in turn is typically launched from a Receivables concurrent program or a report submission path. Customers requiring COGS reporting should invoke the supported concurrent program or the parent package rather than this body directly.
Because the package writes to AR_COGS_REV_ITF, any direct execution outside the parent flow risks leaving orphaned interface rows requiring cleanup. For diagnostics, developers may query the package source to understand report logic, but modifications should be avoided since the package falls outside Oracle's supported API boundary. Behavior is consistent across 12.1.1 and 12.2.2, with no documented structural differences between the two releases.
-
PACKAGE BODY: APPS.ARRX_COGS_REP_INNER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARRX_COGS_REP_INNER, status:VALID,
-
PACKAGE: APPS.ARRX_COGS_REP_INNER
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARRX_COGS_REP_INNER, status:VALID,
-
PACKAGE: APPS.ARRX_COGS_REP_INNER
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARRX_COGS_REP_INNER, status:VALID,
-
PACKAGE BODY: APPS.ARRX_COGS_REP_INNER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARRX_COGS_REP_INNER, status:VALID,
-
PACKAGE: APPS.ARRX_COGS_REP_INNER
12.1.1
-
PACKAGE: APPS.ARRX_COGS_REP_INNER
12.2.2
-
SYNONYM: APPS.AR_COGS_REV_ITF
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_COGS_REV_ITF, status:VALID,
-
SYNONYM: APPS.AR_COGS_REV_ITF
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_COGS_REV_ITF, status:VALID,
-
PACKAGE BODY: APPS.ARRX_C_COGS_REP_OUTER
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:ARRX_C_COGS_REP_OUTER, status:VALID,
-
PACKAGE BODY: APPS.ARRX_C_COGS_REP_OUTER
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ARRX_C_COGS_REP_OUTER, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTION_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTION_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.MTL_TRANSACTION_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_TRANSACTION_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.CST_ITEM_COSTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:CST_ITEM_COSTS, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_GL_DIST_ALL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_GL_DIST_ALL, status:VALID,
-
SYNONYM: APPS.CST_ITEM_COSTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:CST_ITEM_COSTS, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_GL_DIST_ALL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_GL_DIST_ALL, status:VALID,
-
PACKAGE: APPS.FND_FLEX_KEYVAL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_KEYVAL, status:VALID,
-
PACKAGE: APPS.FND_FLEX_KEYVAL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_KEYVAL, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_GL_DIST
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_GL_DIST, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_LINE_GL_DIST
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_LINE_GL_DIST, status:VALID,
-
PACKAGE BODY: APPS.ARRX_COGS_REP_INNER
12.1.1
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
PACKAGE BODY: APPS.ARRX_COGS_REP_INNER
12.2.2
-
APPS.ARRX_COGS_REP_INNER dependencies on ARRX_COGS_REP_INNER
12.2.2
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX_LINES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX_LINES, status:VALID,
-
SYNONYM: APPS.AR_SYSTEM_PARAMETERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AR_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.RA_CUST_TRX_TYPES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUST_TRX_TYPES, status:VALID,
-
APPS.ARRX_C_COGS_REP_OUTER dependencies on ARRX_COGS_REP_INNER
12.2.2
-
APPS.ARRX_C_COGS_REP_OUTER dependencies on ARRX_COGS_REP_INNER
12.1.1
-
APPS.ARRX_COGS_REP_INNER dependencies on ARRX_COGS_REP_INNER
12.1.1
-
PACKAGE: APPS.FND_FLEX_EXT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_EXT, status:VALID,
-
PACKAGE: APPS.FND_FLEX_EXT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FLEX_EXT, status:VALID,
-
SYNONYM: APPS.AR_SYSTEM_PARAMETERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AR_SYSTEM_PARAMETERS, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
SYNONYM: APPS.GL_CODE_COMBINATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GL_CODE_COMBINATIONS, status:VALID,
-
PACKAGE: APPS.ARP_STANDARD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:ARP_STANDARD, status:VALID,
-
SYNONYM: APPS.MTL_MATERIAL_TRANSACTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_MATERIAL_TRANSACTIONS, status:VALID,
-
PACKAGE: APPS.ARP_STANDARD
12.2.2
owner:APPS, object_type:PACKAGE, object_name:ARP_STANDARD, status:VALID,
-
SYNONYM: APPS.GL_CODE_COMBINATIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:GL_CODE_COMBINATIONS, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX
12.1.1
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX, status:VALID,
-
SYNONYM: APPS.RA_CUSTOMER_TRX
12.2.2
owner:APPS, object_type:SYNONYM, object_name:RA_CUSTOMER_TRX, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_B, status:VALID,
-
SYNONYM: APPS.MTL_SYSTEM_ITEMS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:MTL_SYSTEM_ITEMS_B, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
SYNONYM: APPS.FND_CURRENCIES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:FND_CURRENCIES, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
SYNONYM: APPS.HZ_CUST_ACCOUNTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:HZ_CUST_ACCOUNTS, status:VALID,
-
APPS.ARRX_COGS_REP_INNER dependencies on ARP_STANDARD
12.1.1
-
APPS.ARRX_COGS_REP_INNER dependencies on ARP_STANDARD
12.2.2