Search Results get_fk_igs_ps_unit_ver
Overview
IGS_PS_UNIT_OFR_PKG is a PL/SQL package owned by the APPS schema in Oracle E-Business Suite. It encapsulates the data manipulation and validation logic for the IGS_PS_UNIT_OFR entity, which represents unit offerings within the Student Systems (IGS) product family. A unit offering associates a specific unit version with a calendar type, defining the academic unit that is offered within a given teaching period. The package follows the standard Oracle EBS table handler pattern, declaring AUTHID CURRENT_USER and providing a complete set of row-level operations — insert, lock, delete, foreign key lookups, primary key validation, constraint checking, and a centralized Before_DML hook. The header comment identifies the source file as IGSPI82S.pls, version 115.4, last modified in November 2002, confirming it is a long-standing component of the Student Systems schema. The API classification is OTHER, indicating it is treated as an internal table handler rather than a formally published public API, though it remains callable from forms, concurrent programs, and custom extensions. In EBS 12.1.1 and 12.2.2 the package is compiled into the APPS schema and operates against the IGS_PS_UNIT_OFR table through APPS synonyms.
Key Procedures and Functions
- INSERT_ROW — Creates a new unit offering row, accepting the unit code, version number, calendar type, and a processing mode that defaults to 'R'. It returns the ROWID of the newly created record.
- LOCK_ROW — Obtains a row-level lock on an existing unit offering identified by its ROWID and key columns, supporting pessimistic locking in concurrent form sessions.
- DELETE_ROW — Removes a unit offering row identified by ROWID.
- GET_PK_FOR_VALIDATION — A boolean function that validates whether the supplied unit code, version number, and calendar type combination corresponds to an existing primary key in the unit offering table.
- GET_FK_IGS_CA_TYPE — A foreign key validation procedure that verifies the supplied calendar type exists in the IGS_CA_TYPE reference entity.
- GET_FK_IGS_PS_UNIT_VER — The foreign key validation procedure matching the user's search term. It verifies that the supplied unit code and version number identify a valid unit version record, ensuring referential integrity between the unit offering and its parent unit version before DML is permitted.
- CHECK_CONSTRAINTS — A generic constraint validation routine that accepts an optional column name and value, used to enforce column-level business rules.
- BEFORE_DML — A centralized pre-DML hook invoked by the other procedures to apply defaulting, auditing columns, and validation logic consistently across insert, update, and delete actions.
Tables Accessed
The package reads from and writes to IGS_PS_UNIT_OFR, the base table storing unit offering records. All access is performed through the APPS synonym in accordance with EBS schema conventions. Validation routines additionally interrogate the parent reference entities IGS_CA_TYPE and IGS_PS_UNIT_VER indirectly through their foreign key checks, confirming that calendar types and unit versions exist before an offering is created or modified.
Usage Notes
IGS_PS_UNIT_OFR_PKG is typically invoked by the Oracle Forms-based unit offering maintenance screens within the Student Systems responsibility, where LOCK_ROW and INSERT_ROW support interactive record management. Because the package is referenced by seven other packages, it also serves as a dependency for higher-level academic structure APIs and concurrent processes that create or validate unit offerings in bulk. Developers extending Student Systems should call these procedures rather than issuing direct DML against IGS_PS_UNIT_OFR, so that the Before_DML logic, constraint checks, and foreign key validation remain enforced. GET_FK_IGS_PS_UNIT_VER is of particular interest when diagnosing errors raised during unit offering creation, since a failure indicates the referenced unit code and version number do not exist in IGS_PS_UNIT_VER.
-
PACKAGE: APPS.IGS_PS_UNIT_OFR_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_OFR_MODE_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_CATEGORY_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_ANL_LOAD_U_LN_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_VER_RU_PKG
12.1.1
-
PACKAGE: APPS.IGS_AV_STND_ALT_UNIT_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_X_GRPMEM_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_FACILITY_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_USEC_RPT_FMLY_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_DSCP_PKG
12.1.1
-
PACKAGE: APPS.IGF_SP_STD_UNIT_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_FACLTY_DISP_PKG
12.1.1
-
PACKAGE: APPS.IGS_EN_ELGB_OVR_UOO_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_SUBTITLE_PKG
12.1.1
-
PACKAGE: APPS.IGF_SP_UNIT_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_VER_NOTE_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_ACCTS_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_FLD_STDY_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_TCH_RESP_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNT_REPT_FMLY_PKG
12.1.1
-
PACKAGE: APPS.IGS_AD_UP_DETAIL_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_GRD_SCHM_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_LVL_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_CROS_REF_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_LOCATION_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNT_DSCP_HIST_PKG
12.1.1
-
PACKAGE: APPS.IGS_AS_APPR_GRD_SCH_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNT_PRV_GRADE_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_REF_CD_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_REF_HIST_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_TCH_RESP_HIST_PKG
12.1.1
-
PACKAGE: APPS.IGS_PS_UNIT_LVL_HIST_PKG
12.1.1
-
PACKAGE: APPS.IGS_CO_OU_CO_REF_PKG
12.1.1
-
PACKAGE: APPS.IGS_FI_UNIT_FEE_TRG_PKG
12.1.1
-
PACKAGE: APPS.IGS_CO_ITM_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_CATEGORY_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_OFR_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_OFR_MODE_PKG
12.1.1
-
PACKAGE: APPS.IGS_AD_PS_APLINSTUNT_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_ANL_LOAD_U_LN_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_VER_NOTE_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_DSCP_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_TCH_RESP_HIST_PKG
12.1.1
-
PACKAGE: APPS.IGS_FI_FTCI_ACCTS_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNT_DSCP_HIST_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_AV_STND_ALT_UNIT_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_REF_HIST_PKG
12.1.1
-
PACKAGE BODY: APPS.IGF_SP_UNIT_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_X_GRPMEM_PKG
12.1.1
-
PACKAGE BODY: APPS.IGS_PS_UNIT_VER_RU_PKG
12.1.1