Search Results secondary_interest_code_fk
Overview
BIL_FCTV_SALES_LEADS is a read-only fact-style view within the Oracle E-Business Suite Sales Intelligence (BIL) module. It consolidates quantitative and descriptive measures relating to sales leads into a single denormalized structure intended for operational reporting, business intelligence extraction, and downstream integration. The view draws together transactional lead header information, lead line detail, access-control metadata, and territory assignment data, presenting them as one row per sales lead line.
Because it exposes a flattened representation of lead data, BIL_FCTV_SALES_LEADS is well suited to star-schema style reporting where sales leads function as facts and the associated identifiers (customer, salesforce, territory, interest codes, inventory items) act as dimensional references. The object is defined with a WITH READ ONLY clause, so it cannot be used for DML operations and serves purely as a query and extraction interface. Note that the ETRM metadata documents the view as not implemented in the reference database, meaning it may exist in the data dictionary definition but is not necessarily deployed on every instance.
Underlying Base Objects
The view is defined over four base tables joined on their natural keys. These are the entities that supply the substantive data:
- AS_SALES_LEADS (ASL) — the sales lead header table, supplying lead-level attributes such as customer, address, assigned salesperson, channel, creation date, and status.
- AS_SALES_LEAD_LINES (ASLL) — the lead line detail table, supplying line-level attributes such as interest type, primary and secondary interest codes, and inventory item. This is the object users frequently search for under the term as_sales_lead_lines.
- AS_ACCESSES_ALL (ACC) — the access table that maps leads to salesforces and sales groups, supplying the salesforce and sales group identifiers.
- AS_TERRITORY_ACCESSES (ATA) — the territory access table, supplying territory identifiers associated with each access record.
The joins are inner joins on SALES_LEAD_ID between the lead header and both the lead lines and the access table, followed by ACCESS_ID between accesses and territory accesses. This means only leads that have at least one line, one access record, and one territory access record will appear in the result set.
Key Columns
The view exposes the following columns, which carry both keys and descriptive attributes:
- SALES_LEAD_ID — identifier of the parent sales lead header.
- SALES_LEAD_LINE_ID — identifier of the specific lead line.
- CUSTOMER_FK / ADDRESS_FK — foreign references to the customer and address associated with the lead.
- SALESFORCE_FK / SALES_GROUP_FK — the salesforce and sales group to which the lead is assigned.
- ASSIGN_TO_PERSON_FK — the person to whom the lead is assigned for follow-up.
- CHANNEL_FK — the channel through which the lead originated.
- INTEREST_TYPE_FK, PRIMARY_INTEREST_CODE_FK, SECONDARY_INTEREST_CODE_FK — classification of the lead's interest, at type and two code levels.
- INVENTORY_ITEM_FK — the inventory item that is the subject of the lead line.
- TERRITORY_FK — the territory associated with the lead's access record.
- CREATION_DATE — date the lead header was created.
- STATUS_CODE — current status of the lead.
Common Use Cases and Queries
Typical uses include lead pipeline analysis by territory or salesforce, interest-code trending, and channel effectiveness reporting. Because the view carries both header and line granularity, a simple projection returns one row per lead line. A representative query:
SELECT sales_lead_id, sales_lead_line_id, customer_fk, salesforce_fk, territory_fk, inventory_item_fk, creation_date, status_code FROM bil_fctv_sales_leads WHERE creation_date >= :start_date;
Aggregations commonly group by SALESFORCE_FK or TERRITORY_FK to count open leads, or by CHANNEL_FK to compare source performance. When relating the view back to its underlying lead lines, join on SALES_LEAD_ID and SALES_LEAD_LINE_ID to AS_SALES_LEAD_LINES for additional descriptive attributes not exposed here.
-
View: BIL_FCTV_SALES_LEADS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Quantitative measures related to sales leads , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_PIPELINE
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Quantitative measures related to sales opportunities , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_SALES_LEADS
12.1.1
product: BIL - Sales Intelligence , description: Quantitative measures related to sales leads , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_PIPELINE
12.1.1
product: BIL - Sales Intelligence , description: Quantitative measures related to sales opportunities , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_OPP_SLS_TEAMS
12.1.1
product: BIL - Sales Intelligence , description: Quantitative measures related to sales opportunities , implementation_dba_data: Not implemented in this database ,
-
View: BIL_FCTV_OPP_SLS_TEAMS
12.2.2
product: BIL - Sales Intelligence (Obsolete) , description: Quantitative measures related to sales opportunities , implementation_dba_data: Not implemented in this database ,