Search Results bis_query_attributes_tbl
Overview
APPS.BIM_DBI_MKTG_MGMT_PVT is a private PL/SQL package that supplies dynamically generated SQL statements to the Oracle EBS Marketing Management dashboard. The package belongs to the Oracle Business Intelligence (formerly Daily Business Intelligence) subsystem and is classified as PVT, indicating that it is an internal implementation object rather than a supported public API. Its responsibilities are confined to Oracle EBS 12.1.1 and 12.2.2, where the package is compiled under the APPS schema and accessed through synonym resolution.
The package does not itself store or persist marketing data. Instead, each procedure accepts a page parameter collection, constructs a query string, and returns that string along with a table of query attribute definitions to the dashboard rendering engine. This design allows the Marketing Management dashboard to present KPIs, charts, tables, and ranking reports without embedding complex SQL in the presentation layer.
The header comment (bimvsqls.pls, version 120.1, dated 2005/09/19) confirms the package originated in the DBI marketing SQL framework and has remained substantially unchanged through the 12.x release family.
Key Procedures and Functions
The documented interface consists of approximately 29 procedures, all following the same contract: they receive a page parameter table and return an OUT NOCOPY custom SQL string and an OUT NOCOPY attribute table. The procedures are grouped by marketing reporting function.
- GET_KPI_SQL — Builds the SQL for the main marketing KPI region.
- GET_CPL_KPI — Returns the SQL for the cost-per-lead KPI.
- GET_PO_RACK_SQL and GET_CS_RACK_SQL — Generate SQL for partner and customer pipeline/ranking rack displays.
- GET_CPL_GRAPH_SQL — Produces the cost-per-lead trend chart query.
- GET_TOP_LEADS_SQL, GET_TOP_OPPS_SQL — Return base queries for top lead and top opportunity listings.
- GET_TOP_EVEH_OPPS_SQL, GET_TOP_EVEH_LEAD_SQL — Provide top opportunity and lead queries scoped to events.
- GET_TOP_CAMP_OPPS_SQL, GET_TOP_CAMP_LEAD_SQL — Provide top opportunity and lead queries scoped to campaigns. GET_TOP_CAMP_LEAD_SQL is the procedure most directly associated with the user search term "get_top_camp_lead_sql," which refers to the top campaign lead ranking report.
- GET_CPL_RPL_SQL, GET_RPL_CPL_SQL — Generate cost-per-lead and response-per-lead conversion queries.
- GET_LEAD_OPTY_CONV_SQL — Returns the lead-to-opportunity conversion query.
- GET_MKTG_A_LEADS_SQL, GET_MKTG_NEW_LEADS_SQL — Build queries for active and newly created marketing leads.
- GET_CAMP_START_SQL, GET_EVEH_START_SQL, GET_CSCH_START_SQL — Generate queries for campaigns, events, and campaigns starting within a period.
- GET_RESP_SUM_SQL — Returns the marketing response summary query.
Tables Accessed
The package references a limited set of tables through APPS synonyms:
- BIM_I_ADMIN_GROUP — Supplies administrative group definitions used to filter marketing data by organizational hierarchy.
- BIM_I_SOURCE_CODES — Provides source code lookups that classify lead and opportunity origins for ranking and conversion queries.
- JTF_RS_RESOURCE_EXTNS — The resource extension table used to resolve sales and marketing resource attributes, including ownership and territory information.
- PLITBLM — A PL/SQL index-by table type used internally to hold intermediate result sets during SQL construction.
These references are primarily read-only lookups. No transaction tables are modified, consistent with the package's role as a query generator.
Usage Notes
BIM_DBI_MKTG_MGMT_PVT is invoked exclusively by the Marketing Management dashboard framework, which calls the appropriate procedure for each dashboard region and then executes the returned SQL. It is not intended for direct invocation by customers, forms, or concurrent programs, and it is not referenced by any other documented package (0 dependent packages).
Because the object is a PVT package, Oracle does not guarantee its signature across releases; patches may alter the procedure set without notice. Customizations that require marketing ranking logic, such as top campaign leads, should therefore be implemented through supported DBI extension mechanisms rather than by calling this package directly. In 12.1.1 and 12.2.2 the package remains part of the standard APPS schema installation.
-
PACKAGE: APPS.BIM_DBI_MKTG_MGMT_PVT
12.1.1
-
PACKAGE: APPS.POA_DBI_NEG_PKG
12.1.1
-
PACKAGE: APPS.POA_DBI_PR_PKG
12.1.1
-
PACKAGE: APPS.ISC_DEPOT_MARGIN_RPT_PKG
12.1.1
-
PACKAGE: APPS.BIL_TX_OPTY_DETL_RPT_PKG
12.1.1
-
PACKAGE: APPS.BIM_I_LEAD_MGMT_PVT
12.1.1
-
PACKAGE: APPS.HRI_OLTP_PMV_DTL_WRK_EVENT
12.1.1
-
PACKAGE: APPS.POA_DBI_FR_PKG
12.1.1
-
PACKAGE: APPS.HRI_OLTP_PMV_OPEN_ENRT_STAT
12.1.1
-
PACKAGE: APPS.POA_DBI_CUT_PKG
12.1.1
-
PACKAGE: APPS.FII_GL_COST_CENTER_PKG
12.1.1
-
PACKAGE: APPS.BIM_SGMT_INTL_UI_PVT
12.1.1
-
PACKAGE: APPS.ISC_DEPOT_MTTR_PKG
12.1.1
-
PACKAGE: APPS.OKI_DBI_SRM_RNWL_PVT
12.1.1
-
PACKAGE: APPS.BIL_BI_OPPTY_MGMT_RPTS_PKG
12.1.1
-
PACKAGE: APPS.ISC_FS_TRV_TIM_DIS_RPT_PKG
12.1.1
-
PACKAGE: APPS.ISC_MAINT_WO_CMPL_RPT_PKG
12.1.1
-
PACKAGE: APPS.HRI_OLTP_PMV_WMV_TRN_SUP
12.1.1
-
PACKAGE: APPS.OKI_DBI_SRM_PDUE_PVT
12.1.1
-
PACKAGE: APPS.FII_GL_COST_CENTER_PKG2
12.1.1
-
PACKAGE: APPS.BIL_BI_TREND_MGMT_RPTS_PKG
12.1.1
-
PACKAGE: APPS.FII_AP_PAY_MGT
12.1.1
-
PACKAGE: APPS.ISC_MAINT_REQ_CMPL_RPT_PKG
12.1.1
-
PACKAGE: APPS.OKI_DBI_SRM_PRNWL_PVT
12.1.1
-
PACKAGE: APPS.RCI_ORG_CERT_SUMM_PKG
12.1.1
-
PACKAGE: APPS.BIV_DBI_BAK_PKG
12.1.1
-
PACKAGE: APPS.POA_DBI_UPR_PKG
12.1.1
-
PACKAGE: APPS.IBE_BI_SM_KPI_PVT
12.1.1
-
PACKAGE: APPS.ASO_BI_QOT_PMV_PVT
12.1.1
-
PACKAGE: APPS.FII_GL_SRC_INV_PKG
12.1.1
-
PACKAGE: APPS.ISC_MAINT_WO_BACKLOG_RPT_PKG
12.1.1
-
PACKAGE: APPS.OPI_DBI_INV_MGMT_RPT_PKG
12.1.1
-
PACKAGE: APPS.OKI_DBI_SCM_PKG
12.1.1
-
PACKAGE: APPS.BIL_BI_SALES_MGMT_RPTS_PKG
12.1.1
-
PACKAGE: APPS.FII_PL_PAGE_PKG
12.1.1
-
PACKAGE: APPS.OPI_DBI_CC_RPT_PKG
12.1.1
-
PACKAGE: APPS.FII_EA_SUM_TREND_PKG
12.1.1
-
PACKAGE: APPS.BIV_DBI_RES_PKG
12.1.1
-
PACKAGE: APPS.RCI_SIG_ACCT_EVAL_SUMM_PKG
12.1.1
-
PACKAGE: APPS.POA_DBI_IAP_PKG
12.1.1
-
PACKAGE: APPS.HRI_OLTP_PMV_WMV_SUP
12.1.1
-
PACKAGE: APPS.POA_DBI_RET_PKG
12.1.1
-
PACKAGE: APPS.POA_DBI_RDE_PKG
12.1.1
-
PACKAGE: APPS.ISC_DEPOT_BACKLOG_PKG
12.1.1
-
PACKAGE: APPS.FII_AP_PAY_STATUS
12.1.1
-
PACKAGE: APPS.IBW_BI_VST_CMP_KPI_PVT
12.2.2
-
PACKAGE: APPS.POA_DBI_PQC_PKG
12.1.1
-
PACKAGE: APPS.HRI_OLTP_PMV_LBRCST_ORGMGR
12.1.1
-
PACKAGE: APPS.ISC_MAINT_WO_CST_RPT_PKG
12.1.1
-
PACKAGE: APPS.POA_DBI_UFR_PKG
12.1.1