Results for “igs_ps_unt_dscp_hist”

19 results




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

Overview

IGS_PS_UNT_DSCP_HIST is a reporting view owned by the APPS schema within the Oracle Student System (IGS) product family. It exposes the historical change records associated with the disciplines assigned to program unit versions, allowing the dating and auditing of the relationship between a unit code, its version, and a discipline group code. In Oracle EBS 12.1.1 and 12.2.2, the view is registered in the ETRM (E-Business Suite Tables and Views Reference Manual) as object type VIEW with VALID status.

The view applies a Multi-Org security predicate at runtime. Rather than presenting every row stored in the underlying table, it filters records according to the operating unit context carried in the session, permitting only rows whose ORG_ID matches the client information passed by the application. This design makes the view an appropriate source for both concurrent-program extracts and Oracle Forms or OAF-based inquiry screens that must remain sensitive to the user's organization.

Underlying Base Objects

The view is defined exclusively over the base table IGS_PS_UNT_DSCP_HIST_ALL, referenced in the view definition under the alias TAB. The ETRM metadata does not document any additional base objects, joins, or synonyms. The view does not perform any join of its own; every column projected in the SELECT list corresponds directly to a column in the base table.

Because the source table carries the _ALL suffix, it stores data across all operating units. The view therefore acts as a filtered, single-operating-unit presentation of that table. The Multi-Org predicate compares the ORG_ID column against a value derived from USERENV('CLIENT_INFO'), a legacy mechanism for communicating the current organization to the database session, with -99 used as the fallback when no organization context is set.

Key Columns

  • ROW_ID — The ROWID of the underlying row, useful for direct row identification and updates performed through the view's key-preservation characteristics.
  • UNIT_CD and VERSION_NUMBER — The program unit code and its version, forming the primary identifying key for which the discipline history is maintained.
  • DISCIPLINE_GROUP_CD — The discipline group code associated with the unit version.
  • HIST_START_DT and HIST_END_DT — The effective start and end dates that bound the historical validity of the discipline record. The open-ended end date identifies the currently effective row.
  • HIST_WHO — The user or process that created the historical entry.
  • PERCENTAGE — The proportional weight of the discipline group within the unit version.
  • CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — The standard WHO columns tracking record creation and modification.
  • ORG_ID — The operating unit identifier that controls Multi-Org visibility.

Common Use Cases and Queries

Typical use cases include auditing discipline changes over time, reporting the discipline mix applicable at a past date, and validating that historical percentage distributions reconcile to current values. A common query retrieves the current active discipline rows for a unit version:

SELECT unit_cd, version_number, discipline_group_cd, percentage, hist_start_dt, hist_end_dt FROM igs_ps_unt_dscp_hist WHERE unit_cd = :unit_code AND version_number = :version AND NVL(hist_end_dt, SYSDATE) > SYSDATE;

A point-in-time inquiry compares a supplied date against the history bounds:

SELECT discipline_group_cd, percentage FROM igs_ps_unt_dscp_hist WHERE unit_cd = :unit_code AND :as_of_date BETWEEN hist_start_dt AND NVL(hist_end_dt, :as_of_date);

For a complete audit trail, the standard WHO columns can be projected in order of creation:

SELECT unit_cd, version_number, discipline_group_cd, percentage, hist_start_dt, hist_end_dt, created_by, creation_date FROM igs_ps_unt_dscp_hist ORDER BY unit_cd, version_number, hist_start_dt;

All queries executed against the view return only records visible under the caller's operating unit context. Where cross-organization coverage is required, the underlying IGS_PS_UNT_DSCP_HIST_ALL object should be queried instead, subject to the corresponding data security grant.