Results for “jtf_tr_all_resources_v”

22 results




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

Overview

JTF_TR_ALL_RESOURCES_V is a CRM Foundation (JTF) reporting view owned by the APPS schema in Oracle EBS 12.1.1 and 12.2.2. It is a UNION ALL view that presents a consolidated, denormalized listing of every resource known to the Resource Manager (JTF_RS) subsystem, together with the group memberships and role assignments that apply to each resource. The view is available to EBS forms, concurrent programs, and external integrations that must resolve a resource identifier to a printable name, number, e-mail address, and telephone number without navigating the individual resource, group, and role tables.

The object is of particular interest to implementers working with the "rs_team" and "rs_group" resource types, because the view text explicitly branches on RESOURCE_TYPE and joins role relations using DECODE logic that maps 'RS_TEAM', 'RS_GROUP', and 'RS_INDIVIDUAL' to the corresponding ROLE_RESOURCE_TYPE values. This makes the view the primary dictionary-neutral surface for reporting on teams, groups, and individual resources in a single result set.

Underlying Base Objects

The view is defined over four documented base views, all in APPS, plus three supplied packages referenced in the view's dependency chain:

Because the view is built from the _VL ("view with translation") variants, it inherits multilingual support for resource, group, and role names. HR_SECURITY restricts rows to the resources the running user is authorized to see, which is the principal reason the view is preferred over direct SELECTs against JTF_RS_ALL_RESOURCES_VL in custom code.

Key Columns

  • RESOURCE_ID — Primary key of the resource; the join key used throughout JTF and Service modules.
  • RESOURCE_NUMBER — The user-visible resource (employee) number.
  • RESOURCE_TYPE — Identifies whether the row represents an individual ('RS_INDIVIDUAL'), a group ('RS_GROUP'), or a team ('RS_TEAM').
  • RESOURCE_NAME — The translated display name of the resource.
  • EMAIL — Resource e-mail address, used for notifications and workflow routing.
  • START_DATE_ACTIVE / END_DATE_ACTIVE — Effective dating for the resource record.
  • PHONE — Contact telephone number.
  • GROUP_ID / GROUP_NAME — Populated only by the group-membership branch of the UNION ALL; NULL for the base row.
  • ROLE — Populated only by the role-relation branch; NULL for the base row. Reflects the ROLE_NAME from JTF_RS_ROLE_RELATIONS_VL.

A single resource therefore produces multiple rows: one base row plus one row for each group membership and each role relation, distinguished by the NULL pattern across GROUP_ID and ROLE.

Common Use Cases and Queries

Typical uses include resource lookups in custom reports and concurrent programs, security-aware pick lists, and identity resolution in CRM integrations.

  • Resolve names for a list of resource IDs:
SELECT resource_id, resource_name, resource_number, resource_type
FROM   apps.jtf_tr_all_resources_v
WHERE  resource_id IN (:p_ids);
  • List the members of a team or group with their roles:
SELECT resource_id, resource_name, group_id, group_name, role
FROM   apps.jtf_tr_all_resources_v
WHERE  group_id = :p_group_id
AND    resource_type IN ('RS_TEAM','RS_GROUP');
  • Find all roles assigned to a given resource:
SELECT role FROM apps.jtf_tr_all_resources_v
WHERE resource_id = :p_resource_id AND role IS NOT NULL;

Because the view is a UNION ALL over secure base views, consumers should expect duplicate RESOURCE_ID values and should filter on GROUP_ID, ROLE, or RESOURCE_TYPE as appropriate. The view is documented as VALID in ETRM 12.2.2 and remains available in 12.1.1 with equivalent structure.