Search Results aso_apr_function




Overview

The ASO_APR_FUNCTION table is a historical data object within the Oracle E-Business Suite (EBS) Order Capture (ASO) module. According to the official ETRM documentation, this table is explicitly marked as obsolete and was not used in the 11i release cycle. Its intended purpose was to support the Advanced Pricing Rules (APR) engine, which governs complex pricing and discounting logic. The table was designed to store function definitions or references that could be invoked within the left-hand side (LHS) or right-hand side (RHS) of a pricing rule step, allowing for dynamic calculations or data transformations during the order pricing process. In releases 12.1.1 and 12.2.2, this table is a legacy artifact and holds no functional implementation.

Key Information Stored

Based on the documented primary key and foreign key relationships, the core data element stored in this table is the ASO_APR_FUNCTION_ID. This column serves as the unique identifier for a function record. While the specific column list is not detailed in the provided metadata, a table of this nature would typically contain columns to define the function's executable logic or reference, such as FUNCTION_NAME, FUNCTION_TYPE, and possibly a reference to a stored PL/SQL procedure or a formula. Given its obsolete status, these columns, if they exist, contain no active data relevant to the operational system in EBS 12.x.

Common Use Cases and Queries

As a deprecated table with no implementation in the current database, there are no active use cases for ASO_APR_FUNCTION in EBS 12.1.1 or 12.2.2. It is not involved in any operational pricing, ordering, or reporting processes. Technical consultants or DBAs might query this table only in specific legacy data migration or cleanup contexts. A sample query to verify its status or examine any residual data would be:

SELECT COUNT(*), table_name FROM user_tables WHERE table_name = 'ASO_APR_FUNCTION';

If the table exists but is unused, a subsequent descriptive query would be:

SELECT column_name, data_type FROM user_tab_columns WHERE table_name = 'ASO_APR_FUNCTION' ORDER BY column_id;

Related Objects

The ETRM documentation specifies two foreign key relationships that define this table's historical integration within the Advanced Pricing Rules subsystem. These relationships are with the ASO_APR_RULE_STEPS_B table, which stores the individual steps of a pricing rule.

  • ASO_APR_RULE_STEPS_B.LHS_FUNCTION_ID references ASO_APR_FUNCTION.ASO_APR_FUNCTION_ID. This linked a function to be used in the left-hand side operand of a rule step.
  • ASO_APR_RULE_STEPS_B.RHS_FUNCTION_ID references ASO_APR_FUNCTION.ASO_APR_FUNCTION_ID. This linked a function to be used in the right-hand side operand or result of a rule step.

These relationships indicate that the ASO_APR_FUNCTION table was a central repository for reusable functions within the rule step architecture, though this model is no longer active in supported releases.