Search Results so_action_pre_reqs




Overview

The SO_ACTION_PRE_REQS table is a core data object within the Order Entry (OE) module of Oracle E-Business Suite (EBS) versions 12.1.1 and 12.2.2. It functions as a configuration table that defines prerequisite relationships within the order management cycle. Specifically, it stores the rules governing which order cycle actions must be successfully completed before a subsequent action can be initiated. This table is essential for enforcing business process flows, ensuring that orders progress through their lifecycle in a controlled and logical sequence, such as preventing shipment before credit approval or invoice generation before shipment.

Key Information Stored

The table's primary purpose is to link prerequisite actions to dependent actions within a specific order cycle. While the provided ETRM metadata does not list all columns, the documented foreign key relationships reveal its critical data components. The core columns are the identifiers that create these prerequisite links: CYCLE_ACTION_ID, which identifies the order cycle action that has a prerequisite; ACTION_ID, which identifies the specific action that must be completed; and RESULT_ID, which may specify a required outcome or result code from the prerequisite action. This structure allows for granular control over workflow dependencies based on both the action taken and its result.

Common Use Cases and Queries

This table is primarily referenced during order processing to validate if an action can proceed. A common use case is when a user attempts to perform an action like "Ship Confirm" on an order line; the application queries this table to check if all prerequisite actions (e.g., "Pick Release" with a successful result) are complete. For reporting and analysis, administrators may query the table to audit or document configured workflow rules. A typical analytical query would join to related tables to list all prerequisites for a given cycle action:

  • SELECT cap.cycle_action_id, a.action_name AS prerequisite_action, r.name AS required_result FROM oe.so_action_pre_reqs cap JOIN oe.so_actions a ON cap.action_id = a.action_id LEFT JOIN oe.so_results_b r ON cap.result_id = r.result_id WHERE cap.cycle_action_id = :cycle_action_id;

Related Objects

The SO_ACTION_PRE_REQS table maintains integral foreign key relationships with three other core Order Entry tables, as documented in the ETRM metadata:

  • SO_CYCLE_ACTIONS: Joined via SO_ACTION_PRE_REQS.CYCLE_ACTION_ID. This table defines the actions available within a specific order cycle.
  • SO_ACTIONS: Joined via SO_ACTION_PRE_REQS.ACTION_ID. This is the master table defining all possible order management actions.
  • SO_RESULTS_B: Joined via SO_ACTION_PRE_REQS.RESULT_ID. This table stores the valid result codes (e.g., Success, Error) for actions, allowing prerequisites to be based on a specific outcome.

These relationships position SO_ACTION_PRE_REQS as a central junction table that orchestrates the sequence of operations in the order management workflow.