Search Results igs_en_spa_terms_api
Overview
The APPS.IGS_EN_SPA_TERMS_API package body is a public API within the Oracle E-Business Suite Student/Academic (Higher Education) module, delivered under the APPS schema in release 12.1.1 and 12.2.2. Its business function is to manage student program attempt term records — the term-level rows in the IGS_EN_SPA_TERMS table that associate a student's program attempt (IGS_EN_STDNT_PS_ATT) with a specific academic calendar term, including attendance type, attendance mode, location, program version, fee category, and class standing. The package is classified as an API and provides a controlled, validated interface for creating, updating, and querying these term records without direct DML against the underlying table. Internally it depends on the EBS API infrastructure (FND_API, FND_MESSAGE, FND_PROFILE, APP_EXCEPTION, and IGS_GE_MSG_STACK) and on the private package IGS_EN_SPA_TERMS_PKG, which performs the lower-level data manipulation. The package body is documented as VALID, and it is referenced by 23 other database objects, confirming its role as a foundational component used throughout student term processing.
Key Procedures and Functions
The ETRM documentation lists 26 procedures and functions. The principal groups are:
- SET_SPA_TERM_CAL_TYPE and SET_SPA_TERM_SEQUENCE_NUMBER — setter routines that populate the package's internal global variables for calendar type and term sequence number, which subsequent calls use as key context.
- GET_SPAT_* family — GET_SPAT_ATT_TYPE, GET_SPAT_ATT_TYPE_DESC, GET_SPAT_ATT_MODE, GET_SPAT_ATT_MODE_DESC, GET_SPAT_LOCATION, GET_SPAT_LOCATION_DESC, GET_SPAT_COO_ID, GET_SPAT_PROGRAM_VERSION, GET_SPAT_ACAD_CAL_TYPE, GET_SPAT_KEY_PROG_FLAG, GET_SPAT_FEE_CAT, GET_SPAT_CLASS_STANDING, and GET_SPAT_PRIMARY_PRG. These retrieve individual attributes for a student program attempt term, resolving coded values (attendance type and mode, location) to their descriptive text where the
_DESCvariants are used, and returning derived or defaulted program attributes such as version, fee category, class standing, primary program, and the key program indicator. - GET_CURR_TERM, GET_PREV_TERM, and GET_NEXT_TERM — term navigation functions that return the current, previous, or next academic term relative to the context established by the setter procedures.
- VALIDATE_TERMS and CHECK_TERM_EXISTS — validation routines that verify a term exists and that the associated term data satisfies the API's business rules before insertion or update.
All procedures raise errors through the standard EBS message stack rather than raising unhandled exceptions, allowing callers to inspect and display errors.
Tables Accessed
The package reads and writes through APPS synonyms for the following documented tables:
- IGS_EN_SPA_TERMS — the primary table holding student program attempt term records; the API inserts, updates, and queries here.
- IGS_CA_INST_REL — the calendar instance relationship table, used to derive term sequencing for the current, previous, and next term functions.
- IGS_CA_STAT — calendar instance status, consulted to ensure only valid (for example, active) terms are considered.
- IGS_CA_TYPE — calendar type, used to validate the term calendar type set by
SET_SPA_TERM_CAL_TYPE. - IGS_EN_PLAN_UNITS — plan unit data, used to resolve program version and plan-related attributes returned by the
GET_SPAT_*functions.
Additional referenced objects such as IGS_EN_ATD_TYPE, IGS_EN_ATD_MODE, IGS_PE_PERSON, IGS_PS_VER, and IGS_AD_LOCATION support the descriptive-value lookups.
Usage Notes
IGS_EN_SPA_TERMS_API is normally invoked from the Student System forms and from concurrent programs that process student program attempt terms, as well as from custom PL/SQL that must create or interrogate term records. The standard calling pattern is to invoke the setter procedures first to establish calendar type and sequence context, then call the GET_SPAT_* functions or validation routines, and finally commit through the private package. Because the package is an API and depends on FND_API and the message stack, callers should check the message stack after execution. The package does not depend on any other database object for its own definition (no object references it in the dependency chain), and its public interface should be used in preference to direct DML on IGS_EN_SPA_TERMS to preserve data integrity and upgrade safety across EBS releases.
-
PACKAGE BODY: APPS.IGS_EN_SPA_TERMS_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_SPA_TERMS_API, status:VALID,
-
PACKAGE: APPS.IGS_EN_SPA_TERMS_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_EN_SPA_TERMS_API, status:VALID,
-
SYNONYM: APPS.IGS_EN_SPA_TERMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IGS_EN_SPA_TERMS, status:VALID,
-
SYNONYM: APPS.IGS_EN_PLAN_UNITS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IGS_EN_PLAN_UNITS, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_DASHBOARD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_DASHBOARD, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_GEN_016
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_GEN_016, status:VALID,
-
PACKAGE: APPS.IGS_FI_GEN_008
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_FI_GEN_008, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_SPAT_LGCY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_SPAT_LGCY_PUB, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_PLAN_UNITS_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_PLAN_UNITS_PKG, status:VALID,
-
PACKAGE: APPS.IGS_EN_SPA_TERMS_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_EN_SPA_TERMS_PKG, status:VALID,
-
VIEW: APPS.IGS_EN_EFFECTIVE_TERMS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_EN_EFFECTIVE_TERMS_V, object_name:IGS_EN_EFFECTIVE_TERMS_V, status:VALID,
-
PACKAGE BODY: APPS.IGS_AS_GEN_003
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_AS_GEN_003, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_PRC_LOAD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_PRC_LOAD, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_ELGBL_UNIT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_ELGBL_UNIT, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_GEN_018
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_GEN_018, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_ELGBL_PROGRAM
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_ELGBL_PROGRAM, status:VALID,
-
PACKAGE: APPS.IGS_EN_GEN_015
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_EN_GEN_015, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_TRANSFER_APIS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_TRANSFER_APIS, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_NSC_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_NSC_PKG, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_ELGB_OVR_UOO_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_ELGB_OVR_UOO_PKG, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_ENROLL_WLST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_ENROLL_WLST, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_SUA_LGCY_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_SUA_LGCY_PUB, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_PLAN_UTILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_PLAN_UTILS, status:VALID,
-
PACKAGE: APPS.IGS_EN_SPA_TERMS_API
12.1.1
-
PACKAGE BODY: APPS.IGS_SS_ENR_DETAILS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_SS_ENR_DETAILS, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_GEN_011
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_GEN_011, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_FUTURE_DT_TRANS
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_FUTURE_DT_TRANS, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_SU_ATTEMPT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_SU_ATTEMPT_PKG, status:VALID,
-
VIEW: APPS.IGS_EN_SS_STUD_CONTEXT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_EN_SS_STUD_CONTEXT_V, object_name:IGS_EN_SS_STUD_CONTEXT_V, status:VALID,
-
PACKAGE BODY: APPS.IGS_EN_STDNT_PS_ATT_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_EN_STDNT_PS_ATT_PKG, status:VALID,
-
SYNONYM: APPS.IGS_CA_STAT
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IGS_CA_STAT, status:VALID,
-
VIEW: APPS.IGS_AD_LOCATION
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_AD_LOCATION, object_name:IGS_AD_LOCATION, status:VALID,
-
VIEW: APPS.IGS_EN_SS_SCHEDULE_DISP_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_EN_SS_SCHEDULE_DISP_V, object_name:IGS_EN_SS_SCHEDULE_DISP_V, status:VALID,
-
VIEW: APPS.IGS_EN_ATD_MODE
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_EN_ATD_MODE, object_name:IGS_EN_ATD_MODE, status:VALID,
-
VIEW: APPS.IGS_PS_OFR_OPT
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_PS_OFR_OPT, object_name:IGS_PS_OFR_OPT, status:VALID,
-
SYNONYM: APPS.IGS_CA_INST_REL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IGS_CA_INST_REL, status:VALID,
-
VIEW: APPS.IGS_EN_ATD_TYPE
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_EN_ATD_TYPE, object_name:IGS_EN_ATD_TYPE, status:VALID,
-
SYNONYM: APPS.IGS_CA_TYPE
12.1.1
owner:APPS, object_type:SYNONYM, object_name:IGS_CA_TYPE, status:VALID,
-
VIEW: APPS.IGS_CA_INST
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_CA_INST, object_name:IGS_CA_INST, status:VALID,
-
VIEW: APPS.IGS_PS_VER
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:IGS.IGS_PS_VER, object_name:IGS_PS_VER, status:VALID,
-
APPS.IGS_EN_ELGBL_PROGRAM dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_AS_GEN_003 dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_ENROLL_WLST dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_EFFECTIVE_TERMS_V dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_SU_ATTEMPT_PKG dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_SS_ENR_DETAILS dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_SUA_LGCY_PUB dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_SPAT_LGCY_PUB dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_GEN_018 dependencies on IGS_EN_SPA_TERMS_API
12.1.1
-
APPS.IGS_EN_PLAN_UTILS dependencies on IGS_EN_SPA_TERMS_API
12.1.1