Results for “p_release_lookup_code_1”
10 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
IGI_IGIPSAPR_XMLP_PKG is the report package body that supports the Oracle E-Business Suite concurrent report associated with the IGI SA Period Activity Report (IGIPSAPR). The package is owned by APPS and is classified as OTHER within the ETRM 12.2.2 metadata repository. It belongs to the Oracle Financials for the EMEA / Global Consolidation and Intercompany family of products, specifically the IGI (Oracle Global Financials) schema, which provides SAP-related and global consolidation reporting functionality.
The package's central business responsibility is to validate that the SIA (Settlement/Intercompany Accounting) product option is installed and licensed on the current EBS instance before the concurrent report is permitted to execute. Where SIA is not installed, the package raises the standard failure message IGI_GEN_PROD_NOT_INSTALLED and aborts report execution, preventing users from launching a report whose underlying features do not exist in the database.
Key Procedures and Functions
- BEFOREREPORT — Executes the pre-report validation logic. It assigns the concurrent request ID from FND_GLOBAL.CONC_REQUEST_ID into the package parameter P_CONC_REQUEST_ID, opens a cursor (CUR_GET_DESCRIPTION) against IGI_LOOKUPS to retrieve the description for lookup code 'SIA' of lookup type 'GCC_DESCRIPTION', and then calls IGI_GEN.IS_REQ_INSTALLED('SIA'). If the option is installed the function returns TRUE; otherwise it calls FND_MESSAGE.SET_NAME with message name IGI_GEN_PROD_NOT_INSTALLED and sets the OPTION_NAME token to the retrieved lookup description, capturing the localized message via FND_MESSAGE.GET and returning FALSE. An exception handler returns FALSE on any error.
- AFTERPFORM — Executes after the report parameter form has been processed. If the parameter P_RELEASE_LOOKUP_CODE is not null, it queries IGI_LOOKUPS (LOOKUP_TYPE = 'REPORTS') to resolve the lookup code into P_RELEASE_LOOKUP_CODE_1 by matching the MEANING column. This supports downstream report queries that require the resolved release code.
- AFTERREPORT — The post-report cleanup function. It contains a null NO-OP body (the historical FND SRWEXIT user exit is commented out) and simply returns TRUE.
Tables Accessed
The package references a single application table through APPS synonyms: IGI_LOOKUPS. This table stores Oracle Global Financials lookup values and is queried in two places. BEFOREREPORT retrieves the DESCRIPTION for LOOKUP_CODE = 'SIA' with LOOKUP_TYPE = 'GCC_DESCRIPTION', used to populate the OPTION_NAME token in the error message. AFTERPFORM resolves the release code from LOOKUP_TYPE = 'REPORTS' where the MEANING column equals the runtime parameter P_RELEASE_LOOKUP_CODE.
Usage Notes
The package is invoked automatically by the Oracle Reports runtime whenever the IGIPSAPR concurrent program is submitted. The BEFOREREPORT trigger executes first to gate execution, AFTERPFORM runs after the parameter form is accepted, and AFTERREPORT runs at report completion. The package is not intended to be called directly from custom code, although the public functions can technically be invoked. The error message key IGI_GEN_PROD_NOT_INSTALLED and the token OPTION_NAME are relevant when diagnosing report submission failures — a message indicating the SIA product is not installed points directly to the BEFOREREPORT check. The package carries a $Header tag indicating source control at version 120.0.12010000.1, and no other packages reference it.