Search Results igs_as_sassess_type_pkg




Overview

The APPS.IGS_AS_SASSESS_TYPE_PKG package is a PL/SQL database object within the Oracle E-Business Suite (EBS) environment, specifically belonging to the Student Systems (IGS) product family. Its primary business function is to manage the underlying data for "Student Assessment Types" (SASSESS_TYPE). In an academic institution's setup, an assessment type defines the category or method of evaluation for a student, such as 'EXAM', 'COURSEWORK', or 'PRACTICAL'. This package serves as a foundational data-handling layer for an associated Oracle Forms block that maintains this reference data.

The package encapsulates the standard DML (Data Manipulation Language) logic required to create, retrieve, update, and delete records in the IGS_AS_SASSESS_TYPE table. It is a non-API package, classified as "OTHER" in ETRM metadata, implying it is primarily intended to support the application's own Forms interface rather than being a public API for custom external integrations. The package's status is VALID in the 12.1.1 and 12.2.2 schemas, confirming its active role. Its design follows the common Oracle Forms client-server or Application Development Framework (ADF) pattern, where the package provides the server-side procedural logic to validate and persist data entered by an end-user.

Key Procedures and Functions

Based on the documented metadata, this package contains nine procedures and functions that manage the lifecycle of an assessment type record. A summary of their purposes follows:

  • INSERT_ROW and UPDATE_ROW: These procedures perform the core Data Manipulation Language (DML) operations. INSERT_ROW adds a new assessment type record to the table, while UPDATE_ROW modifies an existing record's details.
  • ADD_ROW: This procedure likely acts as a wrapper around INSERT_ROW, potentially providing additional default value population or setting up initial context (such as WHO columns) before the actual insert is performed.
  • DELETE_ROW: This procedure removes a specific assessment type record from the underlying table.
  • LOCK_ROW: This procedure implements optimistic concurrency control. It acquires a lock on a specific record, typically by issuing a SELECT ... FOR UPDATE, to prevent other users or processes from modifying the same assessment type simultaneously.
  • CHECK_CONSTRAINTS: This procedure performs application-level validation of business rules that cannot be enforced by simple database constraints. This might include checking for unique assessment type codes or ensuring that mandatory fields are not null before a DML operation is attempted.
  • GET_PK_FOR_VALIDATION: This function likely retrieves the primary key of the assessment type record to be validated, ensuring that the validation logic is applied to the correct row, particularly during update or delete operations.
  • GET_FK_IGS_AD_LOCATION: This function retrieves the foreign key value for the associated IGS_AD_LOCATION table. This suggests that an assessment type may be linked to a specific organizational unit or physical location, and this function is used to validate or populate that association.
  • BEFORE_DML: This is likely a wrapper or a trigger-executed procedure that orchestrates the validation and preparation logic (such as calling CHECK_CONSTRAINTS and GET_PK_FOR_VALIDATION) before any DML operation is committed.

It is important to note that this interpretation is based on standard Oracle EBS development patterns; the specific parameter lists are not defined in the available metadata.

Tables Accessed

The package interacts with the following table via the APPS schema synonym:

  • IGS_AS_SASSESS_TYPE: This is the primary table that holds the definition of student assessment types. The package performs all its DML operations (INSERT, UPDATE, DELETE, SELECT) directly on this table. The structure of this table would include columns for the primary key (assessment type ID), a unique descriptive code, a description, and potentially the foreign key to a location or organizational unit, as inferred from the GET_FK_IGS_AD_LOCATION function.

Usage Notes

In the context of Oracle EBS 12.1.1 and 12.2.2, IGS_AS_SASSESS_TYPE_PKG is typically invoked from an Oracle Forms module dedicated to the maintenance of assessment types. When a user queries, inserts, updates, or deletes a record in that form, the associated Form triggers (such as WHEN-VALIDATE-RECORD or ON-INSERT) call the corresponding procedures within this package.

Given its classification as "OTHER" and its dependency on STANDARD and SYS packages, it is not intended for direct invocation by custom external code. The recommended approach for custom code to interact with assessment type data would be to use the corresponding public API, IGS_AS_ASSESSMNT_TYP_PKG, which is referenced by this package. This public API likely provides a more robust and validated interface. The package is also referenced by IGS_AD_LOCATION_PKG, indicating that the location package may query assessment type data for validation or display purposes.