Search Results g_table_not_exist
Overview
ASO_BI_UTIL_PVT is a private utility package in the Oracle E-Business Suite Order Management (ASO) module, belonging to the Business Intelligence (BI) collection layer. It is classified as a PVT (private) API, meaning it is intended for internal use by other ASO packages rather than direct invocation by external or customer code. Its primary responsibility is to support the extraction and staging of Quote data for the ASO Business Intelligence collection process, providing reusable housekeeping routines for schema resolution, table truncation, table statistics gathering, and currency rate lookups. In the context of Oracle EBS 12.1.1 and 12.2.2, the package forms part of the infrastructure that materializes denormalized quote data into BI staging tables consumed by Oracle Business Intelligence and related reporting tools.
Key Procedures and Functions
- INIT — Initializes the package-level variable
g_aso_schema, which holds the database schema owner for ASO objects. It resolves this schema by callingFND_INSTALLATION.GET_APP_INFOfor the ASO application. The procedure uses the ASO_BI_QUOTE_HDRS_ALL table both as the reference object whose owner is determined and as the basis for subsequent operations. Debug messages are emitted throughBIS_COLLECTION_UTILITIES.DEBUGwhen debug mode is enabled. This procedure must be invoked before other routines that depend on the resolved schema. - TRUNCATE_TABLE — Accepts a table name and issues a dynamic
TRUNCATE TABLEstatement againstg_aso_schemaconcatenated with the supplied name. Its notable behavior is graceful degradation: the package declares the exceptionG_TABLE_NOT_EXISTand binds it viaPRAGMA EXCEPTION_INITto Oracle error -942 (table or view does not exist). When the specified table does not exist, the procedure silently takes no action rather than failing. Any other exception is re-raised. This makes the routine safe to call unconditionally during collection setup. - ANALYZE_TABLE — Gathers optimizer statistics on the specified table. It lazily resolves
g_aso_schemaif the variable is still NULL, repeating the sameFND_INSTALLATION.GET_APP_INFOlookup performed by INIT. This ensures the procedure is self-sufficient and does not strictly require a prior INIT call. - GET_CLOSEST_RATE_SQL — Returns SQL text used to determine the closest applicable currency conversion rate for a given date context. It is used by the BI extraction logic when converting quote amounts into the reporting currency.
Tables Accessed
The package documentation references ASO_BI_QUOTE_HDRS_ALL as the principal object whose owning schema is resolved at runtime via FND_INSTALLATION.GET_APP_INFO. Because the utility operates generically, TRUNCATE_TABLE and ANALYZE_TABLE may be applied to any ASO BI staging table passed by the caller. Currency conversion logic in GET_CLOSEST_RATE_SQL relies on the standard EBS currency rate tables (such as GL_DAILY_CONVERSION_TYPES and GL_DAILY_RATES) accessed through APPS synonyms.
Usage Notes
ASO_BI_UTIL_PVT is referenced by four other packages within the ASO BI collection suite, typically the controllers that manage the full quote-extraction cycle. The normal invocation sequence is INIT, followed by TRUNCATE_TABLE calls to clear staging objects, extraction into those tables, ANALYZE_TABLE to refresh statistics, and rate lookups via GET_CLOSEST_RATE_SQL during data transformation. Because it is a PVT package, it should not be called directly from forms or concurrent program definitions; instead it is invoked from the parent BI collection packages, which are themselves scheduled in the Oracle Business Intelligence collection concurrent program flow. Custom code should avoid direct dependencies on this package, as its interface is not guaranteed across patch levels.
-
PACKAGE BODY: APPS.ASO_BI_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.FII_AR_TRX_DIST_F_D
12.1.1
-
PACKAGE BODY: APPS.FII_AP_OP_INDICATOR_SUM_C
12.1.1
-
PACKAGE BODY: APPS.ISC_EDW_BACKLOG_SUM1_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AR_RISK_PKG
12.1.1
-
PACKAGE BODY: APPS.FII_AR_CASH_PKG
12.1.1
-
PACKAGE BODY: APPS.OZF_TIME_PVT
12.1.1
-
PACKAGE BODY: APPS.FII_AR_SALES_CREDITS_C
12.1.1
-
PACKAGE BODY: APPS.OZF_TIME_PVT
12.2.2
-
PACKAGE BODY: APPS.HRI_TIME_STRUCTURE_C
12.2.2
-
PACKAGE BODY: APPS.FII_TIME_STRUCTURE_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_DISTRIBUTIONS_B_C
12.1.1
-
PACKAGE BODY: APPS.FII_GL_COMCCH_C
12.1.1
-
PACKAGE BODY: APPS.FII_AR_TRX_DIST_F_C
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_B_C
12.1.1
-
APPS.ASO_BI_UTIL_PVT dependencies on ASO_BI_UTIL_PVT
12.1.1
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_SYNC_PKG
12.1.1
-
PACKAGE BODY: APPS.ASO_BI_POPULATE_FACTS
12.1.1
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.2.2
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_PKG
12.1.1
-
PACKAGE BODY: APPS.AP_LINES_UPGRADE_SYNC_PKG
12.2.2
-
PACKAGE BODY: APPS.FII_AR_REVENUE_B_C
12.1.1
-
PACKAGE BODY: APPS.FII_TIME_C
12.1.1
-
PACKAGE BODY: APPS.HRI_TIME_C
12.2.2
-
PACKAGE BODY: APPS.FII_GL_JE_B_C
12.1.1
-
APPS.ASO_BI_UTIL_PVT dependencies on BIS_COLLECTION_UTILITIES
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_SUM_INC
12.1.1
-
PACKAGE BODY: APPS.FII_AP_INV_SUM_INIT
12.1.1
-
APPS.FII_AR_REVENUE_B_C dependencies on FII_AR_REVENUE_B
12.1.1
-
PACKAGE BODY: APPS.FII_AR_FACTS_AGING_PKG
12.1.1