Search Results get_required_field




Overview

CN_CW_WORKBENCH_UTILITY is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite, classified under the ETRM (E-Business Suite Technical Reference Manual) as an "OTHER" API type. It belongs to the Oracle Contracts (CN) product family and its naming convention—CN_CW—indicates that it supports the Contracts Workbench (CW) feature area. Contracts Workbench is the HTML-based authoring and management interface introduced in the Oracle Contracts module, designed as a successor to the older Oracle Forms-based Contracts Authoring interface. The package is declared with AUTHID CURRENT_USER, meaning that its procedures execute with the privileges of the calling user rather than the package owner, which is a common convention for APPS-owned utility packages invoked from forms, OAF pages, or concurrent programs.

The package's header source identifier ($Header: cnvcwuts.pls 120.1 2005/08/08) indicates it was authored in 2005 and has been part of the Contracts Workbench infrastructure since its introduction. Its scope is deliberately narrow: it provides small, reusable lookup and presentation helper functions rather than performing transactional DML. This reflects a common EBS pattern in which a utility package centralizes display logic and status derivation so that multiple Workbench components can share consistent behavior.

Key Procedures and Functions

The package exposes three documented functions:

  • GET_GO_TO_TASK_IMAGE_NAME — Returns the name of the image (icon) associated with the "Go To Task" action for a given organization. This supports the Workbench's task navigation UI, allowing the rendered page to display the correct icon for the "Go To Task" control. The function accepts an organization identifier and returns a VARCHAR2 image name.
  • GET_ITEM_STATUS_NAME — Returns the descriptive status name for a workbench item, based on the workbench item code and the organization context. This translates an internal item code into a user-facing status label, ensuring consistent status presentation across the Contracts Workbench.
  • GET_REQUIRED_FIELD — Returns information (as a VARCHAR2) identifying whether a workbench item corresponds to a required field. This is used by the Workbench UI to determine whether a given field must be populated before an item can be saved or submitted.

Because the ETRM metadata documents only the function signatures and no further parameter detail, parameter lists are not reproduced here; the declared parameters are limited to organization, workbench item code, and related VARCHAR2 inputs, consistent with the source excerpt above.

Tables Accessed

The ETRM documentation for this package records no directly referenced base tables via APPS synonyms. This is consistent with the package's role as a lightweight utility: any data it requires (item status mappings, organization settings, or image configuration) is likely retrieved through other Contracts Workbench packages or seeded lookup data rather than through direct SQL against core tables. No INSERT, UPDATE, or DELETE operations are documented, confirming that the package is read-only in nature. Because the metadata records no table dependencies, implementers should treat the package as a presentation helper whose underlying data sources are managed elsewhere in the Contracts Workbench stack.

Usage Notes

The package is referenced by zero other documented packages according to the ETRM dependency data, which means it is not part of a deep call chain exposed to other APIs. Instead, it is most likely invoked directly by Contracts Workbench UI components—such as OAF (Oracle Application Framework) pages or the HTML-based Workbench screens—when rendering task controls, status columns, and required-field indicators. In the context of the user's search for "IAR workbench install for non display device," it is worth noting that Contracts Workbench and related IAR (Internet Application Runtime) components historically required a graphical display for certain Forms-based authoring pages; however, the Workbench itself is an HTML/JSP-based interface designed to operate in a browser environment, and this utility package is a server-side helper that does not itself depend on a client display device. Custom code that needs to reproduce Workbench status labels or required-field behavior can call these functions, but because they are AUTHID CURRENT_USER and undocumented beyond their signatures, any custom invocation should be validated against the specific EBS release (12.1.1 or 12.2.2) in use.