Search Results create_op




Overview

APPS.OE_PC_GLOBALS is a foundational constants and global-declaration package within the Oracle E-Business Suite Order Management (Order Entry) module. It does not itself implement business transactions; rather, it centralizes the shared literal values, type declarations, and enumerated constants that the broader Order Capture / Processing Constraints framework and related APIs rely upon. The package is declared AUTHID CURRENT_USER, meaning its stored procedures and functions execute with the privileges of the invoking user rather than the package owner, which is appropriate for a shared utility referenced across many callers. The source header (OEXPPCGS.pls 115.9, 2003/10/20) indicates the package dates to the earlier Order Entry code line and has been carried forward unchanged into the 12.1.1 and 12.2.2 releases. In the ETRM metadata it is classified as an API of type OTHER and is referenced by 39 other packages, confirming its role as a widely consumed dependency across Order Management processing.

Key Procedures and Functions

Only one procedure is formally documented in the ETRM metadata for this package:

  • DEBUG_PRINT — A diagnostic utility used to emit debugging output during development or troubleshooting. It is not part of the functional order-processing path and is not intended for use in production business logic.

The great majority of the package body consists of constant and type declarations rather than executable subprograms. These constants are the package's real value to callers. The order-operation action codes are particularly relevant to the user's search term:

Tables Accessed

The ETRM metadata records no direct table references through APPS synonyms for this package, which is consistent with its nature as a constants repository. Its entity constants are nonetheless definitionally tied to oe_pc_entities_v, the constrained-entities view whose entity_id values the constants enumerate. Consumers of the package, not the package itself, perform the actual DML against Order Management base and interface tables.

Usage Notes

OE_PC_GLOBALS is invoked indirectly wherever Order Management processing constraints, order capture APIs, or validation routines need to interpret an operation code, entity identifier, or validation type. A caller performing a deletion, for example, passes or compares against OE_PC_GLOBALS.DELETE_OP rather than hard-coding the literal 'D'. Because it is referenced by 39 other packages, its constants function as the de facto contract for operation and entity semantics throughout Order Entry. It is not exposed directly through a form or concurrent program; it is a programmatic dependency for PL/SQL-based customizations, workflow validation routines, and standard Order Management APIs. When extending Order Management in 12.1.1 or 12.2.2, referencing these constants rather than literal values is the recommended practice to maintain compatibility.