Results for “jtf_um_usertype_reg_u1”

14 results




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

Overview

JTF.JTF_UM_USERTYPE_REG is a registration table within the Oracle E-Business Suite User Management (UM) subsystem, owned by the JTF schema. It records the association between an application user type and an individual FND_USER, including the workflow-driven approval lifecycle that governs whether that user is granted the type. In Oracle EBS 12.1.1 and 12.2.2 the table is shipped as VALID, resides in the APPS_TS_TX_DATA tablespace with PCTFREE 10, and is designated Oracle Internal Use Only — direct access is unsupported except through standard Oracle Applications programs.

The table maintains effective-dated rows, meaning a single user may hold multiple historical registrations against the same user type, each bounded by EFFECTIVE_START_DATE and EFFECTIVE_END_DATE. Approval routing is tracked through WF_ITEM_TYPE and APPROVER_USER_ID, tying the record to the Oracle Workflow engine. Based on the foreign-key structure mined from the documented schema — with relationships flowing outward to JTF_UM_USERTYPES_B, FND_USER, WF_ITEMS, and FND_SECURITY_GROUPS — the object is best modeled as a link (junction) entity, resolving the many-to-many association between user types and application users while carrying descriptive approval attributes.

Key Information Stored

The documented schema contains 15 columns. The most significant are:

  • USERTYPE_REG_ID — the surrogate primary key (NUMBER(15)), enforced by unique index JTF_UM_USERTYPE_REG_U1 and the JTF_UM_USERTYPE_REG_PK constraint.
  • USERTYPE_ID — foreign key to JTF_UM_USERTYPES_B; identifies the user type being granted.
  • USER_ID — foreign key to FND_USER; identifies the registered application user.
  • EFFECTIVE_START_DATE / EFFECTIVE_END_DATE — the effective dating pair that establishes the validity window of the registration.
  • STATUS_CODE — VARCHAR2(30) capturing the workflow/approval state of the registration.
  • WF_ITEM_TYPE — foreign key to WF_ITEMS; the workflow item type used to approve the user.
  • APPROVER_USER_ID — foreign key to FND_USER; the approver assigned to the request.
  • LAST_APPROVER_COMMENT — VARCHAR2(4000) holding the approver's acceptance or rejection rationale.
  • SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS; provides multi-org/security partitioning.
  • CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard WHO audit columns.

Beyond the surrogate key, the business-key candidate is defined by unique index JTF_UM_USERTYPE_REG_U2, which spans USERTYPE_ID, USER_ID, EFFECTIVE_START_DATE. This composite uniqueness prevents duplicate registrations of the same user type for the same user within the same effective date. Supporting non-unique indexes (N1 through N4) accelerate lookups on USER_ID, WF_ITEM_TYPE, APPROVER_USER_ID, and STATUS_CODE respectively.

Common Use Cases and Queries

Typical reporting scenarios include auditing which users are pending approval, reviewing approver workload, and reconciling current registrations. Because the table is effective-dated, queries must filter on the date range.

  • List current registrations for a user:
    SELECT r.USERTYPE_REG_ID, r.USERTYPE_ID, r.STATUS_CODE
    FROM   JTF.JTF_UM_USERTYPE_REG r
    WHERE  r.USER_ID = :p_user_id
    AND    SYSDATE BETWEEN r.EFFECTIVE_START_DATE
                       AND NVL(r.EFFECTIVE_END_DATE, SYSDATE);
  • Identify pending approvals assigned to an approver:
    SELECT r.USERTYPE_REG_ID, r.USER_ID, r.WF_ITEM_TYPE
    FROM   JTF.JTF_UM_USERTYPE_REG r
    WHERE  r.APPROVER_USER_ID = :p_approver
    AND    r.STATUS_CODE = 'PENDING_APPROVAL';
  • Join to the user type definition and FND_USER to build an access roster:
    SELECT u.USER_NAME, t.USERTYPE_NAME, r.STATUS_CODE
    FROM   JTF.JTF_UM_USERTYPE_REG r,
           JTF.JTF_UM_USERTYPES_B t,
           FND_USER u
    WHERE  r.USERTYPE_ID = t.USERTYPE_ID
    AND    r.USER_ID     = u.USER_ID;

Related Objects

The documented foreign keys and primary key define the following principal relationships:

  • JTF.JTF_UM_USERTYPES_B — joined via USERTYPE_ID; the parent user-type definition.
  • FND_USER — referenced twice via USER_ID (the registered user) and APPROVER_USER_ID (the approver).
  • WF_ITEMS — joined via WF_ITEM_TYPE; links the registration to its approval workflow.
  • FND_SECURITY_GROUPS — joined via SECURITY_GROUP_ID; provides security-group partitioning.
  • FND_LOGINS — referenced via LAST_UPDATE_LOGIN for login audit lineage.

These relationships should be traversed using standard Oracle Applications programs rather than direct SQL, reflecting the internal-use classification of the object.