Search Results copy_to_list




Overview

ICX_JAVASCRIPT is an Oracle Application Object Library-style PL/SQL package owned by APPS and classified as OTHER in the ETRM metadata for release 12.2.2. Its sole purpose is the server-side generation of JavaScript source code that is emitted into Oracle E-Business Suite HTML pages, primarily within the Internet Computing eXtensions (ICX) framework used by self-service web applications. Rather than storing static script files, the package renders script fragments on demand so that each page carries only the JavaScript needed for the controls it actually contains. The package is declared AUTHID CURRENT_USER, meaning that runtime name resolution and privilege checks occur in the context of the invoking user rather than the definer, which is consistent with its role as a utility called from other ICX code rather than a secure business API. The header comment (ICXJSS.pls 120.1, dated 2005) indicates a long-lived, stable utility that predates the 12.x upgrade cycles and has been carried forward largely unchanged into 12.1.1 and 12.2.2.

The package addresses two broad concerns: managing the client-side behavior of multi-row list regions (selection, reordering, copying and clearing of list elements) and producing the JavaScript calls that open Oracle EBS help in pop-up browser windows.

Key Procedures and Functions

The documented interface contains 21 procedures. They fall into four functional groups.

Tables Accessed

The ETRM metadata records a single referenced object, HTP, resolved through an APPS synonym. HTP is the Oracle PL/SQL Web Toolkit Hypertext Procedure package, not a database table. ICX_JAVASCRIPT uses HTP primitives such as HTP.PRINT to write script text into the page buffer during server-side page assembly. The package therefore performs no direct DML against application tables; its "data" is the generated script text streamed to the browser.

Usage Notes

ICX_JAVASCRIPT is a rendering helper rather than a transactional API, and it is not intended for direct invocation from concurrent programs. It is typically called from other PL/SQL packages and JSP/HTML generation code that build ICX self-service pages, so that the JavaScript supporting list regions and help links is produced consistently across applications. The ETRM metadata notes that it is referenced by one other package, confirming this dependent-library relationship. Customizations should treat it as internal Oracle infrastructure: callers may rely on the documented procedure names, but the emitted JavaScript itself is subject to change across releases and should not be parsed or extended. Because of the AUTHID CURRENT_USER declaration, any custom code that calls these procedures must be granted execution rights explicitly and must have the necessary HTP privileges available to the invoking schema.