Search Results rosetta_table_copy_out_p22




Overview

OKL_SEC_CONCURRENT_PVT_W is an Oracle E-Business Suite PL/SQL wrapper package owned by the APPS schema and classified under the ETRM API category "OTHER." It belongs to the Oracle Knowledge Leverage (OKL) family of modules that underpin the Securitization functionality within Oracle Lease Management. Securitization is the process by which lease contracts and their associated cash flows are bundled, valued, and transferred into a special-purpose vehicle for financing purposes; this involves significant volumes of contract, stream, and accounting data being processed by concurrent programs.

The "_W" suffix conventionally denotes a "wrapper" package. This package is not a functional business API in its own right; rather, it exists to bridge the strongly-typed PL/SQL record structures defined in the private package OKL_SEC_CONCURRENT_PVT and the weakly-typed JTF_VARCHAR2_TABLE_2000 collection. This bridging mechanism, generated from the "Rosetta" pattern, allows composite record data to be passed across a thin interoperability boundary — for example, to Java-based concurrent managers, OAF pages, or other modules that cannot natively bind PL/SQL RECORD types. The $Header entry (120.0, dated 2006) indicates the file has remained stable and largely unchanged since its initial construction, reflecting the maturity of the underlying securitization engine.

Key Procedures and Functions

The package exposes two documented procedures, both of which are concerned exclusively with the translation (marshalling and unmarshalling) of the error_message_type structure used for communicating execution outcomes.

  • ROSETTA_TABLE_COPY_IN_P22 — Accepts an array of strings in the JTF_VARCHAR2_TABLE_2000 format and copies (parses) the values inward into an instance of the okl_sec_concurrent_pvt.error_message_type record. It is the inbound half of the conversion pair.
  • ROSETTA_TABLE_COPY_OUT_P22 — Performs the reverse operation: it takes an okl_sec_concurrent_pvt.error_message_type record and flattens it outward into a JTF_VARCHAR2_TABLE_2000 string array, allowing the payload to be consumed by callers that cannot handle native RECORD types.

No other procedures or functions are documented, and no business logic beyond data conversion is attributed to this package.

Tables Accessed

The ETRM metadata lists a single referenced table via an APPS synonym: PLITBLM. This is the standard Oracle EBS "PL/SQL Interactive Table" (the table used by the ubiquitous Get_Varchar2 / Put_Varchar2 API). It is not a business data table; it is a transient scratchpad used to pass string values into and out of PL/SQL. Its presence here confirms that the Rosetta conversion routines rely on the standard EBS temporary table mechanism to stage the flattened string elements as they are assembled into, or decomposed from, the error_message_type record. No securitization business entities are read or written by this package.

Usage Notes

OKL_SEC_CONCURRENT_PVT_W is invoked internally by the Lease Management Securitization concurrent programs and the private parent package OKL_SEC_CONCURRENT_PVT. Because it is a "_PVT_" (private) implementation detail, Oracle does not expose it as a supported public API, and the metadata records zero packages referencing it directly within APPS. Customizations should not call it directly; instead, use the supported public OKL_SEC_* APIs. The specific search term "rosetta_table_copy_out_p22" corresponds to the outbound routine's unique suffix "_P22," a generated sequence identifier indicating this is the twenty-second such conversion block in the package family. These suffixes are implementation artifacts of the Rosetta code generator and carry no business meaning beyond distinguishing otherwise identically named procedures.