Results for “attribute_code”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

JTF_BRM_UTILITY_PVT is a private PL/SQL utility package owned by the APPS schema in Oracle E-Business Suite. Its name reflects its role within the Business Rule Manager (BRM) component of the CRM/Interaction Center technology stack, where the "JTF" prefix identifies objects belonging to the Oracle Telephony and Customer Care foundation layer. The package is declared AUTHID CURRENT_USER, meaning its SQL statements execute with the privileges of the invoking schema rather than with the definer's rights; this is a standard Oracle EBS security pattern for shared utility code that must respect row-level and synonym-based access.

The package exists to translate stored workflow rule attribute data into presentable text. Business rules defined in the Rules Manager capture attribute values that may be stored in several physical forms depending on the attribute's data type (character, numeric, or date) and may additionally be governed by a lookup value. The utility functions normalize this heterogeneous data into a consistent display representation and resolve lookup codes and meanings. Its most prominent consumer is the JTF_BRM_ATTR_VALUES_V view, which surfaces the formatted attribute value as a queryable text item inside the JTFBRWKB (Rules Workbench) form. In this sense the package is a presentation-layer helper rather than a transactional API.

Key Procedures and Functions

  • Attribute_Format — The function most directly associated with the user search term "attribute_format." It accepts an attribute type along with the possible stored value representations (text, number, and date) and a format mask, and returns a single VARCHAR2 string. It is designed to be invoked from the JTF_BRM_ATTR_VALUES_V view so that a stored workflow attribute value of any underlying data type can be displayed and queried uniformly as text within the JTFBRWKB form.
  • Attribute_Code — Resolves the code side of an attribute lookup. Given a rule identifier and the workflow item type, process name, and attribute name, it returns the associated lookup code when an attribute lookup value exists for the rule; when no lookup is configured, it returns the rule's default value. This allows downstream logic to work with a stable coded value.
  • Attribute_Meaning — The presentation companion to Attribute_Code. Using the same identifying inputs (rule, workflow item type, process, attribute), it returns the human-readable meaning of the configured lookup value, falling back to the default value when no lookup is specified.

The three functions form a coherent triad: one addresses data-type formatting, and the other two resolve code and meaning for lookup-driven attributes.

Tables Accessed

ETRM documents a single referenced table for this package: JTF_BRM_PROCESSES, accessed through an APPS synonym. This table stores the Business Rule Manager process definitions against which rule attributes are configured. The package's lookup-resolution functions (Attribute_Code and Attribute_Meaning) rely on this data to correlate a rule and its workflow item type, process, and attribute with the configured default or lookup value. Because the package is declared AUTHID CURRENT_USER, all such references resolve under the calling user's synonym and privilege set.

Usage Notes

JTF_BRM_UTILITY_PVT is not intended for direct invocation by end users or as a public integration API — it is classified as a PVT package, and its internal routines are consumed by other application objects. The documented consumption pattern is through the JTF_BRM_ATTR_VALUES_V view, which the JTFBRWKB form queries; Attribute_Format is called from that view to render attribute values as text. ETRM records three other packages that reference this package, confirming its role as shared infrastructure within the Rules Manager. Custom developers who need formatted rule attribute values should query the view rather than the package directly, both to preserve the supported code path and to inherit the package's data-type and lookup handling consistently across Oracle EBS 12.1.1 and 12.2.2.