Search Results request_problem_code




Overview

The APPS.JTF_RS_PROBLEM_CODES_V view is a reporting and integration view within Oracle E-Business Suite that exposes the set of "request problem codes" used by the CRM Resource Manager / Service (JTF_RS) functionality. In the EBS environment, JTF_RS covers resource management for service and telephony-related operations. This view presents a curated list of problem codes that can be associated with requests, allowing application code, reports, and external integrations to reference a consistent, human-readable set of problem classifications without directly querying the underlying lookup tables.

The view was catalogued in ETRM 12.2.2 and is available in both 12.1.1 and 12.2.2 releases. Its primary role is to abstract the lookup mechanism: callers query a simple, stable interface while the view handles language- and security-group filtering internally. This makes it well suited for LOV (List of Values) definitions, concurrent program parameters, OAF/Forms lookups, and reporting layers that require the currently valid problem code list.

Underlying Base Objects

The view is defined exclusively over FND_LOOKUP_VALUES, exposed through the FND_LOOKUP_VALUES synonym owned by APPS. No other base objects are documented in the ETRM metadata. The view text performs the following filtering:

  • LV.LANGUAGE = USERENV('LANG') — restricts rows to the language of the current session, ensuring you only see the problem codes (and their meanings/descriptions) in the active language.
  • LV.VIEW_APPLICATION_ID = 170 — limits rows to application 170 (CRM / JTF_RS), the owning application for these lookups.
  • LV.LOOKUP_TYPE = 'REQUEST_PROBLEM_CODE' — the specific lookup type name registered in Oracle Application Object Library that holds these values.
  • LV.SECURITY_GROUP_ID = GREATEST(...) — applies the current security group context derived from USERENV('CLIENT_INFO'), defaulting to 0 when no group is set.

Key Columns

The view exposes six columns, all sourced from the underlying lookup row:

  • PROBLEM_CODE — maps from LOOKUP_CODE; the unique code value used programmatically and stored on transactional records.
  • PROBLEM_NAME — maps from MEANING; the translated, user-facing name displayed in UI and reports.
  • DESCRIPTION — free-text description providing additional detail about the problem code.
  • ENABLED_FLAG — indicates whether the code is currently active (Y/N).
  • START_DATE_ACTIVE — the date from which the code becomes valid.
  • END_DATE_ACTIVE — the date after which the code is no longer valid.

Common Use Cases and Queries

The most common scenario is populating a list of values or validating a user-supplied problem code. Querying only currently enabled codes is typical:

  • Active codes for an LOV or validation:
    SELECT problem_code, problem_name
    FROM   apps.jtf_rs_problem_codes_v
    WHERE  enabled_flag = 'Y'
    AND    (start_date_active IS NULL OR start_date_active <= SYSDATE)
    AND    (end_date_active   IS NULL OR end_date_active   >= SYSDATE)
    ORDER BY problem_name;
  • Resolving a code to its display name: join the view's PROBLEM_CODE to a transactional column storing the lookup code to render the label in a report.
  • Auditing the configured set: query all rows (including disabled) to review which problem codes exist and when each became effective or expired.

Because the view relies on USERENV values for language and security group, results are session-sensitive. Direct SQL run from a client with a properly initialized EBS session will return the expected rows; ad-hoc queries outside an FND session may return limited or unexpected results.