Search Results igs_ge_purge_del_record
Overview
The APPS.IGS_GE_PURGE_DEL_RECORD package body is a component of the Oracle E-Business Suite Student System (IGS) general (GE) subsystem. Its business function is to physically remove records that have previously been logically deleted (soft-deleted) from the base application tables, reclaiming storage and maintaining data integrity across the product's logical-delete framework. The header comment identifies the author as "Shtatiko" and the creation date as 19-FEB-2003, with the stated purpose being "to purge logically deleted records from the tables, where logical delete functionality is being used." The package operates as a top-level orchestrator: rather than performing deletions directly, it invokes module-specific sub-processes that each handle the purging logic pertinent to their own functional area. In the current documented revision (120.1, dated 09-JAN-2006), the only activated sub-process is the PS module call, although the design anticipates additional module processors. The change history records that Bug# 4869737 introduced a call to igs_ge_gen_003.set_org_id, which is directly relevant to the search term "set_org_id".
Key Procedures and Functions
The package body exposes a single documented procedure:
- PURGE_RECORDS — The entry point and sole procedure of the package. It accepts the standard concurrent-program parameter signature used across Oracle EBS:
errbuf OUT NOCOPY VARCHAR2andretcode OUT NOCOPY NUMBER. These parameters are characteristic of a concurrent program's PL/SQL executable, allowing the program to return an error message and a completion status code to the concurrent manager. Within its executable section,PURGE_RECORDSfirst establishes the runtime operating-unit context throughigs_ge_gen_003.set_org_id(NULL), then delegates the actual purge work to the PS module sub-processigs_ps_purge_del_record.purge_ps_records. AnEXCEPTION WHEN OTHERShandler setsretcode := 2, loads the messageIGS_GE_UNHANDLED_EXPviaFND_MESSAGE(with the tokenNAMEset to "purge_records"), concatenates that message withSQLERRMintoerrbuf, and finally callsIGS_GE_MSG_STACK.CONC_EXCEPTION_HNDLto register the failure on the message stack.
Tables Accessed
The ETRM metadata does not enumerate any base tables referenced directly through APPS synonyms by this package. The absence of a direct table list is consistent with the package's design as an orchestrator: it owns no DML of its own and instead relies on the called sub-processes (notably igs_ps_purge_del_record.purge_ps_records) to read and delete records from the underlying module tables. The set_org_id call to igs_ge_gen_003 implies that the sub-processes depend on an initialized operating unit (ORG_ID) context, typically maintained in FND session state rather than in a domain table accessed by this package itself.
Usage Notes
PURGE_RECORDS is designed to be run as a concurrent program under the Oracle EBS concurrent manager. This is evidenced by its errbuf/retcode signature and its use of FND_MESSAGE and the IGS message stack for error reporting. Administrators invoke it when logically deleted records require physical removal — for example, during scheduled housekeeping of the Student System or when database growth from soft-deleted rows must be controlled. Because the package relies on set_org_id to set the operating-unit context, it should be submitted with an appropriate responsibility/operating unit so that the downstream PS purge logic processes the correct data set. The catastrophic exception handler ensures that any unhandled error is returned to the concurrent manager with a status of 2 and an informative message rather than failing silently. No other packages are documented as referencing this package, and it exposes no public API beyond the concurrent-program entry point.
-
PACKAGE BODY: APPS.IGS_GE_PURGE_DEL_RECORD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:IGS_GE_PURGE_DEL_RECORD, status:VALID,
-
PACKAGE: APPS.IGS_GE_PURGE_DEL_RECORD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_GE_PURGE_DEL_RECORD, status:VALID,
-
PACKAGE: APPS.IGS_GE_PURGE_DEL_RECORD
12.1.1
-
PACKAGE: APPS.IGS_PS_PURGE_DEL_RECORD
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_PS_PURGE_DEL_RECORD, status:VALID,
-
PACKAGE BODY: APPS.IGS_GE_PURGE_DEL_RECORD
12.1.1
-
APPS.IGS_GE_PURGE_DEL_RECORD dependencies on IGS_GE_PURGE_DEL_RECORD
12.1.1
-
PACKAGE: APPS.IGS_GE_GEN_003
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_GE_GEN_003, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
APPS.IGS_GE_PURGE_DEL_RECORD dependencies on IGS_GE_MSG_STACK
12.1.1
-
PACKAGE: APPS.IGS_GE_MSG_STACK
12.1.1
owner:APPS, object_type:PACKAGE, object_name:IGS_GE_MSG_STACK, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,