Search Results g_debug_flag
Overview
The PL/SQL package body APPS.FII_AP_OP_INDICATOR_SUM_C belongs to the Oracle E-Business Suite Financial Intelligence (FII) product family, which supplies the extract, transform, and load logic underpinning Oracle Daily Business Intelligence for Payables. Its principal business function is to aggregate Accounts Payable invoice activity into an Operating Unit indicator summary. The package reconstructs a set of temporary staging tables, populates them with summarized Payables metrics such as invoice counts, invoice line counts, and invoice amounts, and organizes those metrics by operating unit and trading partner. Downstream reporting and dashboard components consume the resulting summary to present Payables operating indicators at the operating unit level.
The header comment ($Header: FIIAP12B.pls 120.2 2005/06/13) identifies the source file and indicates the package was shipped as a non-shippable (noship) internal component, meaning it is intended for internal FII processing rather than direct customer invocation. The package is specific to EBS 12.1.1 and 12.2.2 environments and is owned by APPS.
Key Procedures and Functions
The package body documents one exposed entry point, LOAD. This is the driver routine that orchestrates the summary build: it performs session-level setup (resolving the FII schema and tablespace, and evaluating the debug profile), invokes table maintenance and population logic, and returns the standard concurrent program error buffer and return code (g_errbuf, g_retcode).
Internally, the body implements supporting procedures that are not separately classified in the metadata but are visible in the source excerpt:
- DROP_TABLE — issues a dynamic
DROP TABLEagainst a fully qualifiedg_fii_schemaobject. It traps Oracle error-942(table does not exist) via theG_TABLE_NOT_EXISTexception and suppresses it, allowing repeatable rebuilds, while re-raising all other errors. - CREATE_FII_AP_OP_IND_SUM_TEMP — drops and recreates the two staging tables
FII_AP_OP_IND_SUMMARY_TEMP1andFII_AP_OP_IND_SUMMARY_TEMP2, defining columns such asoperating_unit_pk_key,operating_unit_name,trading_partner_pk_key,trading_partner_name,inv_lines_count,inv_count, andinv_amount, with explicit tablespace,PCTFREE 5, and storage clauses.
A package-level variable, g_debug_flag, governs diagnostic output. It is initialized from the profile option EDW_DEBUG (defaulting to N) and, when set to Y, causes the EDW_LOG utility to emit statements and trace messages during DDL and summary construction.
Tables Accessed
The metadata records a single referenced table: ALL_TABLES, accessed through an APPS synonym. This data dictionary view is used for existence checks, allowing the package to determine whether the temporary summary tables are already present before dropping or creating them. The package also creates and manipulates its own temporary structures, FII_AP_OP_IND_SUMMARY_TEMP1 and FII_AP_OP_IND_SUMMARY_TEMP2, in the resolved FII schema, and reads the underlying Payables invoice data that supplies the inv_count, inv_lines_count, and inv_amount figures.
Usage Notes
Because the LOAD procedure returns g_errbuf and g_retcode, this package is designed to be executed as a concurrent program within Oracle EBS, most likely scheduled as part of the FII Payables operating indicator refresh cycle. It is a dynamic-SQL based utility: DDL is executed with EXECUTE IMMEDIATE, and the CREATE statement is truncated in the excerpt, indicating further construction details are embedded in the full source. It is not referenced by any other documented packages, so it functions as a top-level load routine rather than a shared library. The EDW_DEBUG profile option controls verbosity for troubleshooting. When invoked manually—for example, to validate the summary build—it is best run under the APPS schema with database session privileges appropriate for creating and dropping tables.
-
PACKAGE BODY: APPS.FII_AP_OP_INDICATOR_SUM_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_TRANS_BACKLOG_SUM_C
12.1.1
-
PACKAGE BODY: APPS.FII_PROJECT_M_C
12.1.1
-
PACKAGE BODY: APPS.FII_CHANGE_LOG_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_GL_COMCCH_C
12.1.1
-
PACKAGE BODY: APPS.FII_GL_CCID_C
12.1.1
-
PACKAGE BODY: APPS.FII_FA_CAT_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_MV_REFRESH
12.1.1
-
PACKAGE BODY: APPS.FII_AR_CUSTOMER_DIMENSION_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_AP_DISCOUNTS_SUM_C
12.1.1
-
PACKAGE BODY: APPS.PA_RLMI_RBS_MAP_PUB
12.1.1
-
PACKAGE BODY: APPS.FII_AR_SALES_CREDITS_C
12.1.1
-
PACKAGE BODY: APPS.FII_AR_SIC_CODE_M_C
12.1.1
-
PACKAGE BODY: APPS.FII_CC_MGR_SUP_C
12.1.1
-
PACKAGE BODY: APPS.ENG_CHANGE_LIFECYCLE_UTIL
12.1.1
-
PACKAGE BODY: APPS.FII_PA_REVENUE_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_PA_EXP_TYPE_M_C
12.1.1
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_ORDER_PVT
12.2.2
-
PACKAGE BODY: APPS.FII_PA_BUDGET_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_PA_BUDGET_M_C
12.1.1
-
PACKAGE BODY: APPS.PA_RLMI_RBS_MAP_PUB
12.2.2
-
PACKAGE BODY: APPS.ENG_CHANGE_ACTIONS_UTIL
12.2.2
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_ORDER_PVT
12.1.1
-
PACKAGE BODY: APPS.FII_EXCEPTION_CHECK_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_PA_COST_F_C
12.1.1
-
PACKAGE BODY: APPS.PJI_TIME_C
12.1.1
-
PACKAGE BODY: APPS.ENG_CHANGE_LIFECYCLE_UTIL
12.2.2
-
PACKAGE BODY: APPS.ENG_CHANGE_ACTIONS_UTIL
12.1.1
-
PACKAGE BODY: APPS.OE_CREDIT_ENGINE_GRP
12.1.1
-
PACKAGE BODY: APPS.FII_AR_RISK_PKG
12.1.1
-
PACKAGE BODY: APPS.PJI_TIME_C
12.2.2
-
PACKAGE BODY: APPS.OE_CREDIT_INTERFACE_UTIL
12.1.1
-
PACKAGE BODY: APPS.FII_AR_TRX_DIST_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_GL_EXTRACTION_UTIL
12.1.1
-
PACKAGE BODY: APPS.OE_CREDIT_ENGINE_GRP
12.2.2
-
PACKAGE BODY: APPS.FII_MV_REFRESH
12.1.1
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.1.1
-
PACKAGE BODY: APPS.ENG_ATTACHMENT_IMPLEMENTATION
12.1.1
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.2.2
-
PACKAGE BODY: APPS.ENG_DOCUMENT_UTIL
12.2.2
-
PACKAGE BODY: APPS.OZF_TIME_PVT
12.1.1
-
PACKAGE BODY: APPS.FII_AR_CASH_PKG
12.1.1
-
PACKAGE BODY: APPS.ENG_RELATED_ENTITY_PKG
12.2.2
-
PACKAGE BODY: APPS.FII_FINANCIAL_DIMENSION_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_GL_TOP_SPENDERS_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_AR_TPDUE_TBL_REFRESH
12.1.1
-
PACKAGE BODY: APPS.OE_CREDIT_CHECK_LINES_PVT
12.2.2
-
PACKAGE BODY: APPS.ENG_DOCUMENT_UTIL
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_DISTRIBUTIONS_B_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_B_C
12.1.1