Search Results oe_header_payment_security




Overview

The APPS.OE_HEADER_PAYMENT_SECURITY package body is a supporting PL/SQL component within the Oracle Order Management (OM) module of Oracle E-Business Suite, present in both release 12.1.1 and 12.2.2. Its documented API classification is "OTHER," indicating it is an internal, non-public API rather than a supported external interface. The package serves as the security and validation layer for payment information captured at the order header level. In Order Management, orders may be associated with payment details — payment type codes, payment level codes, and payment transaction references — particularly where payment processing or credit card authorization is integrated with the order capture flow. The package encapsulates the logic required to validate, default, and secure these payment attributes against the constraints defined in the payment constraints configuration tables, while also honoring the multi-org and security context established by the current session.

Key Procedures and Functions

The ETRM metadata documents 33 procedures and functions. The majority are attribute accessors corresponding to the descriptive flexfield (DFF) columns associated with the payment entity: ATTRIBUTE1 through ATTRIBUTE15 and CONTEXT. These routines provide get/set access to the DFF segments, allowing callers to read or populate the flexible attribute columns without touching the underlying table directly.

The remaining documented members relate to core payment fields and audit metadata: PAYMENT_LEVEL_CODE, PAYMENT_TYPE_CODE, PAYMENT_TRX, and CREATED_BY. The PAYMENT_LEVEL_CODE accessor governs the level at which payment applies (for example, header versus line). PAYMENT_TYPE_CODE addresses the classification of the payment instrument. PAYMENT_TRX relates to the payment transaction reference, and CREATED_BY exposes the auditing column identifying the creating user. The metadata does not document parameter lists, and none are asserted here; the procedures function as attribute-level accessors and validators around these payment fields.

Tables Accessed

The package references the table OE_PC_CONSTRAINTS through APPS synonyms. This table stores payment constraints configuration used by the Order Management payment processing framework. The package reads this table to enforce configured payment rules — permitted payment types and levels, and associated validation constraints — before allowing header payment data to be set. The dependency listing also shows reliance on the view OE_AK_HEADER_PAYMENTS_V, an Order Management header payments view used within the payment security validation path. Supporting dependencies include OE_PC_CONSTRAINTS_ADMIN_PVT and OE_PC_GLOBALS, indicating interaction with the payment constraints administration private API and payment globals.

Usage Notes

As an "OTHER"-classified internal package, OE_HEADER_PAYMENT_SECURITY is not intended for direct invocation by external or customer code. It is consumed internally by the Order Management order capture and payment processing stack. Dependencies on FND_API, FND_GLOBAL, OE_ORDER_PUB, OE_MSG_PUB, OE_ORDER_CACHE, OE_CODE_CONTROL, and OE_DEBUG_PUB confirm it operates within the standard OM PL/SQL architecture, using the FND message and API frameworks for error handling and the OE order public APIs for order context. The package is referenced by 31 other database objects, underscoring its role as a shared security/validation utility. Because it is not referenced by any object outside APPS and is not a public API, customizations should avoid direct calls; instead, payment security should be exercised through supported Order Management APIs and forms. Debugging may be enabled through the OE debug framework where the package emits diagnostic messages.