Search Results transaction_phase_code




Overview

The view OE_AK_TRXN_PHASE_V is a lightweight dictionary-style view owned by the APPS schema in Oracle E-Business Suite releases 12.1.1 and 12.2.2. It belongs to the ONT – Order Management product family and is documented in the E-Business Suite Technical Reference Manual (ETRM) with the description "Used in Defaulting Transaction Phase." Its singular purpose is to expose the set of valid transaction phase codes that participate in the Order Management defaulting framework, so that Oracle Application Framework (OAF) and Oracle Forms defaulting logic can resolve a phase code value without querying the lookup table directly.

In practical terms, the view is the canonical enumeration of TRANSACTION_PHASE_CODE values. Because defaulting rules in Order Management are evaluated per transaction phase (for example, at order entry, at Booking, or at Shipping/Scheduling), the defaulting engine must be able to present and validate the allowable phase values. OE_AK_TRXN_PHASE_V supplies exactly that list. It is a read-only, single-column view and carries no business transactions of its own; it is a reference object used to populate list-of-values regions, lookup validation, and defaulting metadata.

Underlying Base Objects

The ETRM documentation for 12.2.2 identifies a single referenced base object: OE_LOOKUPS, itself a view over the Order Management lookup repository.

The view text documented is:

SELECT LOOKUP_CODE FROM OE_LOOKUPS WHERE LOOKUP_TYPE = 'TRANSACTION_PHASE'

This definition confirms that the view is a filtered projection of the OE_LOOKUPS view. Only rows whose LOOKUP_TYPE equals the seed value 'TRANSACTION_PHASE' are returned. Each such row yields one lookup code, which becomes a distinct transaction phase code. Because OE_LOOKUPS is derived from the underlying Order Management lookup tables (typically FND_LOOKUP_VALUES / FND_LOOKUP_TYPES exposed through the ONT lookup layer), maintenance of the phase list is performed through the standard lookup administration path rather than through DML against this view. The view therefore inherits whatever enabled, translated, and effective-dated filtering OE_LOOKUPS applies.

Key Columns

  • TRANSACTION_PHASE_CODE — The sole column exposed by the view, per the documented metadata. It is the alias applied to LOOKUP_CODE in the select list and represents a valid Order Management transaction phase code, such as values used by defaulting rules to scope when a default is applied.

Because the projection contains only this column, the view offers no meaning, description, or enabled flag. Consumers requiring a phase description must join separately to the Order Management lookups to retrieve MEANING or DESCRIPTION. References to the column in the ETRM column list appear as TRANSACTION_PHASE_CODE, which matches the value most users search for when investigating transaction_phase_code in defaulting setups.

Common Use Cases and Queries

The primary use case is populating and validating transaction phase selection in Order Management defaulting configuration, including OAF list-of-values and profile-driven defaulting regions. A second use case is diagnostic: confirming which phase codes are currently active in an environment when a defaulting rule does not fire as expected.

Sample queries include:

  • Enumerating all valid phase codes: SELECT transaction_phase_code FROM apps.oe_ak_trxn_phase_v ORDER BY transaction_phase_code;
  • Resolving a phase code to its meaning: SELECT v.transaction_phase_code, l.meaning FROM apps.oe_ak_trxn_phase_v v, apps.oe_lookups l WHERE l.lookup_type = 'TRANSACTION_PHASE' AND l.lookup_code = v.transaction_phase_code;
  • Validating a supplied value: SELECT 1 FROM apps.oe_ak_trxn_phase_v WHERE transaction_phase_code = :p_phase_code;

Because the object is a view with no update path, it should be used strictly for read-only lookup and validation. Phase maintenance is performed at the lookup layer, and any change made there is immediately reflected through this view.