Search Results oe_line_payment_util




Overview

OE_LINE_PAYMENT_UTIL is an Oracle E-Business Suite PL/SQL utility package owned by the APPS schema and classified as a utility (UTIL) API. Its principal business function is to provide the technical foundation for managing and persisting line-level payment information associated with order lines in Oracle Order Management. Payment details on order lines include such attributes as payment type, payment amount, and associated authorization references. The package encapsulates the low-level row handling logic — insert, update, delete, query, and locking — that the higher-level payment defaulting, security, and validation modules rely upon. By centralizing this logic, OE_LINE_PAYMENT_UTIL ensures consistent treatment of the OE_AK_LINE_PAYMENTS_V entity across all calling programs, including forms, order import, and internal processing routines.

Key Procedures and Functions

The package exposes eighteen documented procedures and functions that fall into several functional categories.

  • Record conversion routinesAPI_REC_TO_ROWTYPE_REC and ROWTYPE_REC_TO_API_REC translate between the API-level record structure and the database row type, allowing callers to work with the public API interface while the package handles persistence in the underlying table format.
  • Attribute maintenanceAPPLY_ATTRIBUTE_CHANGES and CLEAR_DEPENDENT_ATTR manage the propagation and clearing of dependent attribute values, ensuring that related payment fields remain internally consistent when one attribute is modified.
  • Data manipulationINSERT_ROW, UPDATE_ROW, and DELETE_ROW perform the physical create, modify, and remove operations against the line payment entity. COMPLETE_RECORD finalizes a record prior to persistence.
  • Query and lock operationsQUERY_ROW and QUERY_ROWS retrieve single and multiple payment records, while LOCK_ROW and LOCK_ROWS acquire row-level locks to protect payment data during concurrent processing.
  • Lookup helpersGET_VALUES and GET_IDS resolve descriptive values and primary keys for callers that need to reference line payments by identifier.
  • InfrastructureG_MISS_OE_AK_LPAYMENT_REC serves as the package's global missing-record constant, CONVERT_MISS_TO_NULL normalizes attribute values that were never populated, and PRE_WRITE_PROCESS performs pre-persistence processing.

Tables Accessed

The package operates against several core Order Management tables through APPS synonyms. OE_ORDER_HEADERS and OE_ORDER_LINES_ALL provide the order context to which line payments belong. OE_PAYMENTS stores the payment detail records themselves. OE_ORDER_HOLDS and OE_HOLD_SOURCES are consulted in relation to hold placement, while OE_HOLD_RELEASES supports hold release processing. PLITBLM is the standard EBS PL/SQL index-by table used internally for bulk operations and record set handling. OE_AK_LINE_PAYMENTS_V, the descriptive flexfield-visible view over line payments, is referenced as part of the package's entity model.

Usage Notes

OE_LINE_PAYMENT_UTIL is not intended to be called directly by end users or external applications. It is invoked indirectly through higher-level packages including OE_ORDER_PUB, OE_DEFAULT_LINE_PAYMENT, OE_LINE_PAYMENT_SECURITY, OE_LINE_PAYMENT_CL_DEP_ATTR, OE_ORDER_PVT, OE_PREPAYMENT_PVT, OE_ORDER_COPY_UTIL, OE_ORDER_GRP, OE_LINE_UTIL, and OE_DEPENDENCIES. These callers are triggered by the Order Management forms (via OE_OE_FORM_LINE_PAYMENT), order import, copy-order processing, and prepayment workflows. Customizations that need to manipulate line payment records should invoke the published OE_ORDER_PUB APIs rather than this utility package directly, preserving upgrade safety and validation integrity.