Search Results get_clobs




Overview

XDP_INTERFACES_PUB_W is a public wrapper package in the Oracle E-Business Suite APPS schema, classified under the ETRM taxonomy as API classification OTHER. The suffix "_W" denotes a generated or manually maintained wrapper that exposes the underlying XDP interface logic through a stable public signature, shielding callers from private implementation packages. The package is defined with AUTHID CURRENT_USER, meaning that name resolution and privilege checks for unqualified objects are evaluated against the invoking schema rather than the APPS owner, which is the standard pattern for EBS public APIs that are executed under application user credentials or from concurrent processing contexts.

Functionally, the package serves as the programmatic entry point for telephony and interaction-center order processing within the XDP (interaction/CTI) product family. It accepts a large, partially positional parameter set that carries header-level attributes, collection-based line attributes, and contact or party collections, then returns status information through the standard EBS API messaging convention (x_return_status, x_msg_count, x_msg_data).

Key Procedures and Functions

  • PROCESS_ORDER — The primary insert/update entry point. It exists in overloaded form: one variant takes a long series of scalar parameters (p7_a0 through p7_a26, mixing VARCHAR2, DATE, and NUMBER types) plus JTF typed collections (p8_a0, p8_a1, p9_a0 through p9_a22, p10_a0 through p10_a3) and returns x_sdp_order_id. The second overload accepts the standard EBS API preamble (p_api_version, p_init_msg_list, p_commit, p_validation_level) with a reduced parameter list. Together they validate and persist an order and its associated lines and contacts.
  • GET_ORDER_DETAILS — Returns attribute-level detail for a previously created order, typically reconstructed into the same JTF collection structures used by PROCESS_ORDER.
  • GET_ORDER_STATUS — Returns the current processing or fulfillment status of a given order, used by callers to poll state after submission.
  • GET_CLOBS — The procedure most directly associated with the user's search term. It retrieves CLOB (character large object) content associated with order records, reading through the DBMS_LOB package. This is the documented consumer of the DBMS_LOB table reference noted in the metadata.

The metadata records seven documented procedures in total across the package. Parameter lists should always be verified against the installed package specification for the specific release, because XDP wrapper signatures are known to vary between 12.1.1 and 12.2.2.

Tables Accessed

The only table-level object documented in the ETRM metadata is the APPS synonym for DBMS_LOB. This is not a business table but the Oracle-supplied large object manipulation package, invoked by GET_CLOBS to read, substring, or write CLOB data. All other data access is performed indirectly through the private XDP implementation packages that the wrapper delegates to, and those underlying table references are not enumerated in the documented metadata.

Usage Notes

  • Invoke from custom PL/SQL using the standard EBS API preamble: initialize the message list, pass a compatible p_api_version, and inspect x_return_status before proceeding. Use FND_MSG_PUB to retrieve messages when x_msg_count is greater than zero.
  • When calling from a concurrent program or an OAF/Forms-based flow, set p_commit consistently with the surrounding transaction; the wrapper does not manage savepoints on the caller's behalf.
  • GET_CLOBS is the correct entry point when large text payloads attached to an order must be materialized; use DBMS_LOB.SUBSTR or DBMS_LOB.READ within the caller to consume the returned locator.
  • Because the package is AUTHID CURRENT_USER, the calling schema must hold the appropriate privileges on the referenced synonyms; grants on APPS objects alone are not sufficient in every configuration.
  • Package signatures in the XDP family are not guaranteed stable across point releases. Validate the specification in the target instance before promoting custom code between 12.1.1 and 12.2.2.