Search Results bil_value_type
Overview
APPS.BIL_DIMV_OPTY is a read-only database view in the Oracle E-Business Suite (EBS) 12.1.1 and 12.2.2 environments. It exposes a normalized dimension of "opportunity" or lead-related identifiers used by the EBS telephony and interaction-center stack, specifically within the BIL (telephony/integration) schema family. The view serves as a lookup-consistent dimension table for reporting and integration, presenting a unified list of lead identifiers drawn from the CRM leads table plus a synthetic sentinel row sourced from the FND_LOOKUPS lookup type BIL_VALUE_TYPE. This design allows downstream components to resolve a lead ID to a human-readable lead number and description consistently, while guaranteeing that the sentinel value -999 is always present. The view is defined WITH READ ONLY, so it cannot be used as a DML target and is intended strictly for query and reference purposes. The user search term "bil_value_type" corresponds directly to the lookup type referenced in the view's UNION ALL branch.
Underlying Base Objects
The documented view text identifies two base objects:
- AS_LEADS_ALL (alias ALA) — the primary source of lead records, contributing LEAD_ID, LEAD_NUMBER, STATUS, and DESCRIPTION.
- FND_LOOKUPS (alias FL) — the Oracle Application Object Library lookup table, filtered on LOOKUP_TYPE = 'BIL_VALUE_TYPE' and LOOKUP_CODE = '-999' to produce a single sentinel row.
The view is composed with a UNION ALL, combining the full lead set from AS_LEADS_ALL with the synthetic sentinel row. No additional base objects are documented in the ETRM metadata, and the "referenced base objects" field is recorded as empty, meaning the dependencies above are derived from the view text itself. Column-level lineage between the view and the base tables is straightforward, with DESCRIPTION resolved through NVL(ALA.DESCRIPTION, ALA.LEAD_NUMBER).
Key Columns
- LEAD_ID — Numeric lead identifier. For rows sourced from AS_LEADS_ALL it is the native lead ID; for the sentinel row it is TO_NUMBER of the lookup code '-999', yielding
-999. - LEAD_NUMBER — The lead's business-facing number (ALA.LEAD_NUMBER), or the lookup MEANING for the sentinel row.
- STATUS — The lead status from AS_LEADS_ALL; NULL for the sentinel row, since the UNION ALL supplies an explicit NULL.
- DESCRIPTION — A descriptive label. It resolves to ALA.DESCRIPTION when present, otherwise falls back to ALA.LEAD_NUMBER via NVL. For the sentinel row, it is the FND_LOOKUPS.DESCRIPTION for the '-999' entry.
Columns are positional in the view definition, so any consuming report or interface must map them in the documented order: LEAD_ID, LEAD_NUMBER, STATUS, DESCRIPTION.
Common Use Cases and Queries
This view is typically used when a report or integration needs a consistent enumeration of valid opportunity/lead identifiers, including the mandatory "-999" placeholder that downstream BIL logic expects. It is also used to validate that the BIL_VALUE_TYPE lookup is correctly configured. Representative queries include:
- List all leads with their resolved labels:
SELECT lead_id, lead_number, status, description FROM apps.bil_dimv_opty ORDER BY lead_id;
- Isolate the sentinel row:
SELECT * FROM apps.bil_dimv_opty WHERE lead_id = -999;
- Validate the underlying lookup configuration:
SELECT lookup_code, meaning, description FROM fnd_lookups WHERE lookup_type = 'BIL_VALUE_TYPE';
- Join the view to transactional lead data to supply a guaranteed display label:
SELECT t.lead_id, v.lead_number, v.description FROM apps.some_lead_transaction t, apps.bil_dimv_opty v WHERE v.lead_id = t.lead_id;
Because the view is read-only and built on a UNION ALL, queries should avoid unnecessary DISTINCT operations, as duplicate lead IDs are not deduplicated by the view itself. Access is generally governed by the APPS schema privileges and any custom grants applied in the 12.1.1 or 12.2.2 instance.
-
Lookup Type: BIL_VALUE_TYPE
12.1.1
product: BIL - Sales Intelligence , meaning: Sales Intelligence values that need translation , description: Sales Intelligence values that need translation ,
-
Lookup Type: BIL_VALUE_TYPE
12.2.2
product: BIL - Sales Intelligence (Obsolete) , meaning: Sales Intelligence values that need translation , description: Sales Intelligence values that need translation ,
-
VIEW: APPS.BIL_DIMV_OPTY
12.1.1
-
VIEW: APPS.BIL_DIMV_SLS_CHANNELS
12.1.1
-
VIEW: APPS.BIL_DIMV_EMP_STATUS
12.1.1
-
VIEW: APPS.BIL_DIMV_TERR_HIER
12.1.1
-
VIEW: APPS.BIL_DIMV_TERRITORIES
12.1.1
-
VIEW: APPS.BIL_DIMV_COMP_PLANS
12.1.1
-
VIEW: APPS.BIL_DIMV_SEC_INT_CODES
12.1.1
-
VIEW: APPS.BIL_DIMV_INTEREST_TYPES
12.1.1
-
VIEW: APPS.BIL_DIMV_JOB_TITLE
12.1.1
-
VIEW: APPS.BIL_DIMV_PLAN_ELEMENTS
12.1.1
-
VIEW: APPS.BIL_DIMV_PRIM_INT_CODES
12.1.1
-
VIEW: APPS.BIL_DIMV_UOM
12.1.1
-
VIEW: APPS.BIL_DIMV_INTEREST_CODES
12.1.1
-
VIEW: APPS.BIL_DIMV_SLSPROD_HIER
12.1.1
-
VIEW: APPS.BIL_DIMV_CUSTOMERS
12.1.1
-
VIEW: APPS.BIL_DIMV_OPTY_STATUSES
12.1.1
-
VIEW: APPS.BIL_DIMV_PROD_LOV
12.1.1
-
VIEW: APPS.BIL_DIMV_SRV_SVTYS
12.1.1
-
VIEW: APPS.BIL_DIMV_SALES_STAGES
12.1.1
-
VIEW: APPS.BIL_DIMV_SKILLS
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
VIEW: APPS.BIL_DIMV_QUALIFICATIONS
12.1.1
-
View: BIL_DIMV_TERR_HIER
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_TERR_HIER, object_name:BIL_DIMV_TERR_HIER, status:VALID, product: BIL - Sales Intelligence , description: Sales territory hiearchy view , implementation_dba_data: APPS.BIL_DIMV_TERR_HIER ,
-
View: BIL_DIMV_OPTY
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_OPTY, object_name:BIL_DIMV_OPTY, status:VALID, product: BIL - Sales Intelligence , description: Opportunities View for ID, Name , implementation_dba_data: APPS.BIL_DIMV_OPTY ,
-
View: BIL_DIMV_TERR_HIER
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Sales territory hiearchy view , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.BIL_DIMV_SALES_GROUPS
12.1.1
-
VIEW: APPS.BIL_DIMV_SALESFORCE
12.1.1
-
View: BIL_DIMV_OPTY
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Opportunities View for ID, Name , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_EMP_STATUS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Employee statuses view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_SLS_CHANNELS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_SLS_CHANNELS, object_name:BIL_DIMV_SLS_CHANNELS, status:VALID, product: BIL - Sales Intelligence , description: Sales channels view , implementation_dba_data: APPS.BIL_DIMV_SLS_CHANNELS ,
-
View: BIL_DIMV_EMP_STATUS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_EMP_STATUS, object_name:BIL_DIMV_EMP_STATUS, status:VALID, product: BIL - Sales Intelligence , description: Employee statuses view , implementation_dba_data: APPS.BIL_DIMV_EMP_STATUS ,
-
View: BIL_DIMV_SLS_CHANNELS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Sales channels view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_PRIM_INT_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_PRIM_INT_CODES, object_name:BIL_DIMV_PRIM_INT_CODES, status:VALID, product: BIL - Sales Intelligence , description: Primary interest codes view , implementation_dba_data: APPS.BIL_DIMV_PRIM_INT_CODES ,
-
View: BIL_DIMV_UOM
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_UOM, object_name:BIL_DIMV_UOM, status:VALID, product: BIL - Sales Intelligence , description: Units of measure view , implementation_dba_data: APPS.BIL_DIMV_UOM ,
-
View: BIL_DIMV_TERRITORIES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_TERRITORIES, object_name:BIL_DIMV_TERRITORIES, status:VALID, product: BIL - Sales Intelligence , description: Sales territories view , implementation_dba_data: APPS.BIL_DIMV_TERRITORIES ,
-
View: BIL_DIMV_COMP_PLANS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_COMP_PLANS, object_name:BIL_DIMV_COMP_PLANS, status:VALID, product: BIL - Sales Intelligence , description: Compensation plans view , implementation_dba_data: APPS.BIL_DIMV_COMP_PLANS ,
-
View: BIL_DIMV_TERRITORIES
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Sales territories view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_COMP_PLANS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Compensation plans view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_SEC_INT_CODES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_SEC_INT_CODES, object_name:BIL_DIMV_SEC_INT_CODES, status:VALID, product: BIL - Sales Intelligence , description: Secondary interest codes view , implementation_dba_data: APPS.BIL_DIMV_SEC_INT_CODES ,
-
View: BIL_DIMV_JOB_TITLE
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_JOB_TITLE, object_name:BIL_DIMV_JOB_TITLE, status:VALID, product: BIL - Sales Intelligence , description: Sales representatives job tiles view , implementation_dba_data: APPS.BIL_DIMV_JOB_TITLE ,
-
View: BIL_DIMV_SEC_INT_CODES
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Secondary interest codes view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_JOB_TITLE
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Sales representatives job tiles view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_PRIM_INT_CODES
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Primary interest codes view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_PROD_LOV
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_PROD_LOV, object_name:BIL_DIMV_PROD_LOV, status:VALID, product: BIL - Sales Intelligence , description: List of values view of product hierarcy , implementation_dba_data: APPS.BIL_DIMV_PROD_LOV ,
-
View: BIL_DIMV_INTEREST_CODES
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Interest codes view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_INTEREST_TYPES
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Interest types view , implementation_dba_data: Not implemented in this database ,
-
View: BIL_DIMV_INTEREST_TYPES
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIL.BIL_DIMV_INTEREST_TYPES, object_name:BIL_DIMV_INTEREST_TYPES, status:VALID, product: BIL - Sales Intelligence , description: Interest types view , implementation_dba_data: APPS.BIL_DIMV_INTEREST_TYPES ,