Search Results get_dynamic_sql
Overview
The APPS.IGS_PE_DYNAMIC_PERSID_GROUP package belongs to the Oracle E-Business Suite Student System (Higher Education) product family, within the Person/Entity (IGS_PE) module. It provides the runtime engine for dynamic person identification groups (often referred to informally as "dynamic PIGs"). A dynamic person ID group is a persisted definition that does not store a static list of persons; instead it stores a SQL query segment that is evaluated on demand to produce the current membership of the group. This package assembles, resolves, and returns those SQL statements and evaluates individual membership against them.
The package is classified as OTHER in the ETRM registry rather than as a public API, which indicates it is primarily an internal supporting package consumed by other Student System components. It is referenced by 27 other packages, confirming its role as a shared, low-level service within the person identification infrastructure.
The object header ($Header: IGSPEDGS.pls 120.1 2006/02/02 ... skpandey noship $) indicates that the shipped specification is non-public-facing ("noship" applies to the specification visibility marker) and dates from the 11i/12.0 lineage, carried forward unchanged into 12.1.1 and 12.2.2.
Key Procedures and Functions
- IGS_GET_DYNAMIC_SQL — Returns the dynamic SQL text associated with a given group ID (see parameter list), reporting a status through an OUT parameter. This is the legacy form of the resolution routine.
- GET_DYNAMIC_SQL — The superseding form of the same operation. In addition to the group ID and a status OUT parameter, it returns the group type through an OUT NOCOPY parameter. Callers use the group type to determine how the generated SQL should be interpreted or post-processed.
- GET_DYNAMIC_SQL_FROM_FILE — Reads SQL segments from an external file defined in
IGS_PE_DYN_SQLSEGS(keyed by file name) and returns the assembled SQL text. This supports SQL segment definitions that are maintained outside the database and loaded at runtime. - DYN_PIG_MEMBER — The membership test entry point, and the routine most commonly identified by the search term dyn_pig_member. Given a group ID and a person ID, it returns a numeric result indicating whether the specified person is a member of the dynamic group. This is the function that downstream code calls when it must determine group membership without materialising the full member set.
- IGS_POST_SAVE_DOCUMENT — A post-save handler that persists a SQL segment. It receives a workbook owner, workbook name, worksheet name, a sequence value, and the SQL segment text, and returns a numeric status. This routine supports the authoring and maintenance of dynamic group definitions, typically from a spreadsheet-based or document-oriented maintenance flow.
Tables Accessed
- IGS_PE_PERSID_GROUP_ALL — The base group definition table. The group ID and group type parameters of the resolution functions are typed against
group_idand the group view columngroup_type, indicating that group definitions are read from this table. - IGS_PE_DYN_SQLSEGS — Stores the SQL segments that make up a dynamic group definition, including the
file_nameattribute used byGET_DYNAMIC_SQL_FROM_FILE.IGS_POST_SAVE_DOCUMENTwrites segments here. - IGS_PE_DYN_SQLSEGS_S — The companion sequence (or surrogate/summary) object supporting
IGS_PE_DYN_SQLSEGS, used when new segment rows are inserted by the post-save routine.
Usage Notes
This package is not intended for direct end-user invocation. It is called from other PL/SQL packages within the Student System (27 documented dependants), from OA Framework or Forms-based group maintenance pages, and from concurrent programs that evaluate or refresh dynamic group membership in batch. Because dynamic groups resolve to SQL at runtime, callers should treat the returned SQL as internally generated and never construct or concatenate it themselves.
On 12.1.1 and 12.2.2 the package remains deployed in the APPS schema exactly as documented; no Online Patching (ADOP) editioning-specific behaviour is described in the source excerpt, and the package owns no editioning view of its own. Implementers extending dynamic group behaviour should wrap calls through the documented functions rather than querying the underlying tables directly, since the SQL assembly logic resides entirely inside this package.
-
PACKAGE: APPS.IGS_PE_DYNAMIC_PERSID_GROUP
12.1.1
-
PACKAGE: APPS.HRI_BPL_DATA_SETUP_DGNSTC
12.1.1
-
PACKAGE BODY: APPS.HRI_BPL_DATA_SETUP_DGNSTC
12.1.1
-
PACKAGE BODY: APPS.IGS_PE_DYNAMIC_PERSID_GROUP
12.1.1
-
APPS.IGS_PE_USERID_PKG SQL Statements
12.1.1
-
PACKAGE BODY: APPS.IGS_PE_SET_REM_HOLDS
12.1.1
-
APPS.IGF_AW_GEN_004 dependencies on IGS_PE_DYNAMIC_PERSID_GROUP
12.1.1
-
PACKAGE BODY: APPS.IGS_HE_UCAS_TARIFF_PKG
12.1.1
-
APPS.IGS_PE_DYNAMIC_PERSID_GROUP dependencies on IGS_PE_PERSID_GROUP_ALL
12.1.1
-
APPS.IGF_AW_GEN_004 SQL Statements
12.1.1
-
APPS.IGS_PE_SET_REM_HOLDS dependencies on IGS_CA_INST
12.1.1
-
PACKAGE: APPS.WMS_WAVE_PLANNING_PVT
12.2.2
-
APPS.HRI_BPL_DATA_SETUP_DGNSTC dependencies on HRI_APL_DGNSTC_CORE
12.1.1
-
APPS.IGF_DB_SF_INTEGRATION dependencies on IGS_PE_DYNAMIC_PERSID_GROUP
12.1.1
-
APPS.IGS_PE_DYNAMIC_PERSID_GROUP dependencies on IGS_PE_PERSID_GROUP_V
12.1.1
-
PACKAGE BODY: APPS.IGF_AW_GEN_004
12.1.1
-
PACKAGE BODY: APPS.IGF_DB_SF_INTEGRATION
12.1.1
-
APPS.IGF_AP_SS_PKG dependencies on IGS_PE_PERSID_GROUP_V
12.1.1
-
APPS.IGF_AP_SS_PKG dependencies on IGS_PE_PERSID_GROUP
12.1.1
-
APPS.IGF_SL_CL_CHG_FILE dependencies on IGS_PE_DYNAMIC_PERSID_GROUP
12.1.1
-
APPS.IGS_PE_DYNAMIC_PERSID_GROUP dependencies on IGS_PE_PERSID_GROUP_V
12.1.1
-
APPS.IGS_PE_DYNAMIC_PERSID_GROUP dependencies on IGS_PE_PERSID_GROUP_ALL
12.1.1
-
APPS.IGS_PE_USERID_PKG dependencies on IGS_PE_GEN_USER_S
12.1.1
-
PACKAGE BODY: APPS.IGF_AP_SS_PKG
12.1.1
-
APPS.IGS_PE_SET_REM_HOLDS dependencies on IGS_PE_GEN_001
12.1.1
-
APPS.IGS_HE_UCAS_TARIFF_PKG dependencies on DBMS_SQL
12.1.1
-
APPS.IGS_PE_USERID_PKG dependencies on FND_CRYPTO
12.1.1
-
PACKAGE BODY: APPS.IGF_SL_CL_CHG_FILE
12.1.1
-
APPS.IGF_SL_CL_CHG_FILE dependencies on IGF_AW_FUND_MAST_ALL
12.1.1
-
APPS.IGS_PE_SET_REM_HOLDS dependencies on IGS_PE_PERS_ENCUMB
12.1.1
-
PACKAGE BODY: APPS.IGS_PE_USERID_PKG
12.1.1
-
APPS.IGF_AW_GEN_004 dependencies on FND_MESSAGE
12.1.1
-
APPS.IGS_CO_PROCESS dependencies on FND_LOG
12.1.1
-
PACKAGE BODY: APPS.IGS_CO_PROCESS
12.1.1
-
APPS.WMS_WAVE_PLANNING_PVT dependencies on FND_GLOBAL
12.2.2
-
APPS.IGS_HE_UCAS_TARIFF_PKG dependencies on FND_DSQL
12.1.1
-
PACKAGE BODY: APPS.WMS_WAVE_PLANNING_PVT
12.2.2
-
APPS.WMS_WAVE_PLANNING_PVT dependencies on FND_PROFILE
12.2.2