Search Results as_interest_codes_b
Overview
The AS_INTEREST_CODES_B table is a core master data table within the Oracle E-Business Suite (EBS) Sales Foundation module (AS). It serves as the base table for defining and storing interest codes, which are critical classification entities used to categorize sales opportunities, leads, and customer interests. These codes enable the segmentation and analysis of sales pipelines, forecasting, and resource allocation based on product lines, market segments, or other business-defined areas of focus. Its central role is evidenced by its extensive foreign key relationships with transactional and configuration tables across the Sales, Marketing, and Quota management functionalities.
Key Information Stored
As a base table, AS_INTEREST_CODES_B holds the fundamental, non-translatable attributes for each interest code. The primary key is INTEREST_CODE_ID, which uniquely identifies each code. Critical structural columns include PARENT_INTEREST_CODE_ID, which enables the creation of hierarchical interest code structures, and INTEREST_TYPE_ID, which classifies the code within a defined type system. The table also integrates with Oracle Inventory, linking interest codes to specific products or categories via the PF_ITEM_ID, PF_ORGANIZATION_ID, CATEGORY_ID, and CATEGORY_SET_ID columns. This allows interests to be directly associated with items or item categories for precise tracking.
Common Use Cases and Queries
This table is primarily accessed for reporting, data validation, and setup purposes. Common operational scenarios include generating pipeline reports segmented by interest code, validating interest code hierarchies during data loads, and configuring sales territories or quota profiles based on specific interests. A typical query might join the base table to its descriptive TL (translation) table to retrieve user-friendly names for reporting:
- SELECT b.INTEREST_CODE_ID, tl.NAME, b.PARENT_INTEREST_CODE_ID FROM OSM.AS_INTEREST_CODES_B b, OSM.AS_INTEREST_CODES_TL tl WHERE b.INTEREST_CODE_ID = tl.INTEREST_CODE_ID AND tl.LANGUAGE = USERENV('LANG');
Another common pattern involves querying the hierarchical relationship between parent and child interest codes to understand the classification tree.
Related Objects
AS_INTEREST_CODES_B has a central position in the AS schema, with numerous tables referencing it. Key documented relationships include:
- Self-Reference: AS_INTEREST_CODES_B.PARENT_INTEREST_CODE_ID → AS_INTEREST_CODES_B.INTEREST_CODE_ID (enables hierarchy).
- Master Data: Links to AS_INTEREST_TYPES_B (INTEREST_TYPE_ID), MTL_CATEGORIES_B (CATEGORY_ID), MTL_SYSTEM_ITEMS_B (PF_ITEM_ID, PF_ORGANIZATION_ID), and MTL_CATEGORY_SETS_B (CATEGORY_SET_ID).
- Transactional Data: Referenced by AS_INTERESTS_ALL, AS_LEAD_LINES_ALL, and AS_SALES_LEAD_LINES for storing primary and secondary interest codes on leads and opportunities.
- Configuration Data: Referenced by AS_CURRENT_ENVIRONMENT, AS_QUOTA_PROFILES, AS_PE_INT_CATEGORIES, and AS_SALES_CREDITS_DENORM for defining sales environments, quotas, and compensation rules.
- Supporting Tables: Serves as the base for the translation table (AS_INTEREST_CODES_TL), the multi-currency table (AS_INTEREST_CODES_MC), and the ALL view (AS_INTEREST_CODES_ALL).
-
Table: AS_INTEREST_CODES_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_B, object_name:AS_INTEREST_CODES_B, status:VALID, product: AS - Sales Foundation , description: Define Interest code - Base table , implementation_dba_data: OSM.AS_INTEREST_CODES_B ,
-
Table: AS_INTEREST_CODES_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_B, object_name:AS_INTEREST_CODES_B, status:VALID, product: AS - Sales Foundation , description: Define Interest code - Base table , implementation_dba_data: OSM.AS_INTEREST_CODES_B ,
-
Table: AS_PE_INT_CATEGORIES
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_PE_INT_CATEGORIES, object_name:AS_PE_INT_CATEGORIES, status:VALID, product: AS - Sales Foundation , description: Mapping table between plan elements in osc and forecast , implementation_dba_data: OSM.AS_PE_INT_CATEGORIES ,
-
Table: AS_SALES_QUOTAS
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_QUOTAS, object_name:AS_SALES_QUOTAS, status:VALID, product: AS - Sales Foundation , description: Defines sales quotas , implementation_dba_data: OSM.AS_SALES_QUOTAS ,
-
Table: AS_CURRENT_ENVIRONMENT
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CURRENT_ENVIRONMENT, object_name:AS_CURRENT_ENVIRONMENT, status:VALID, product: AS - Sales Foundation , description: This table stores information about the current environment of the , implementation_dba_data: OSM.AS_CURRENT_ENVIRONMENT ,
-
Table: AS_CURRENT_ENVIRONMENT
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_CURRENT_ENVIRONMENT, object_name:AS_CURRENT_ENVIRONMENT, status:VALID, product: AS - Sales Foundation , description: This table stores information about the current environment of the , implementation_dba_data: OSM.AS_CURRENT_ENVIRONMENT ,
-
Table: AS_SALES_QUOTAS
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_QUOTAS, object_name:AS_SALES_QUOTAS, status:VALID, product: AS - Sales Foundation , description: Defines sales quotas , implementation_dba_data: OSM.AS_SALES_QUOTAS ,
-
Table: AS_PE_INT_CATEGORIES
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_PE_INT_CATEGORIES, object_name:AS_PE_INT_CATEGORIES, status:VALID, product: AS - Sales Foundation , description: Mapping table between plan elements in osc and forecast , implementation_dba_data: OSM.AS_PE_INT_CATEGORIES ,
-
Table: AS_INTERESTS_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_SALES_LEAD_LINES
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_LINES, object_name:AS_SALES_LEAD_LINES, status:VALID, product: AS - Sales Foundation , description: Holds sales lead lines informaiton , implementation_dba_data: OSM.AS_SALES_LEAD_LINES ,
-
Table: AS_SALES_LEAD_LINES
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_LEAD_LINES, object_name:AS_SALES_LEAD_LINES, status:VALID, product: AS - Sales Foundation , description: Holds sales lead lines informaiton , implementation_dba_data: OSM.AS_SALES_LEAD_LINES ,
-
Table: AS_LEAD_LINES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_LINES_ALL, object_name:AS_LEAD_LINES_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunity lines , implementation_dba_data: OSM.AS_LEAD_LINES_ALL ,
-
View: AS_INV_ITEM_LOV_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INV_ITEM_LOV_V, object_name:AS_INV_ITEM_LOV_V, status:VALID, product: AS - Sales Foundation , description: This view provides Inventory Item and associated Sales category IDs. , implementation_dba_data: APPS.AS_INV_ITEM_LOV_V ,
-
Table: AS_SALES_CREDITS_DENORM
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
Table: AS_INTERESTS_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTERESTS_ALL, object_name:AS_INTERESTS_ALL, status:VALID, product: AS - Sales Foundation , description: Stores product interests, customer and opportunity classifications , implementation_dba_data: OSM.AS_INTERESTS_ALL ,
-
Table: AS_LEAD_LINES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_LEAD_LINES_ALL, object_name:AS_LEAD_LINES_ALL, status:VALID, product: AS - Sales Foundation , description: Holds sales opportunity lines , implementation_dba_data: OSM.AS_LEAD_LINES_ALL ,
-
Table: AS_SALES_CREDITS_DENORM
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_SALES_CREDITS_DENORM, object_name:AS_SALES_CREDITS_DENORM, status:VALID, product: AS - Sales Foundation , description: Denormalized table to store opportunity data denormalized from AS_LEADS_ALL, AS_LEAD_LINES_ALL, AS_SALES_CREDITS, AS_SALES_STAGE_ALL, AS_INTEREST_TYPES_ALL, AS_INTEREST_CODES_ALL, HZ_PARTIES, AS_SALES_GROUPS, PER_ALL_PEOPLR_F , implementation_dba_data: OSM.AS_SALES_CREDITS_DENORM ,
-
View: AS_INV_ITEM_LOV_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INV_ITEM_LOV_V, object_name:AS_INV_ITEM_LOV_V, status:VALID, product: AS - Sales Foundation , description: This view provides Inventory Item and associated Sales category IDs. , implementation_dba_data: APPS.AS_INV_ITEM_LOV_V ,
-
Table: AS_QUOTA_PROFILES
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_QUOTA_PROFILES, object_name:AS_QUOTA_PROFILES, status:VALID, product: AS - Sales Foundation , implementation_dba_data: OSM.AS_QUOTA_PROFILES ,
-
Table: AS_INTEREST_CODES_MC
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_MC, object_name:AS_INTEREST_CODES_MC, status:VALID, product: AS - Sales Foundation , description: for recording a price and currency for a product family. , implementation_dba_data: OSM.AS_INTEREST_CODES_MC ,
-
Table: AS_INTEREST_CODES_TL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_TL, object_name:AS_INTEREST_CODES_TL, status:VALID, product: AS - Sales Foundation , description: For MLS - Translated columns of Interest Codes. , implementation_dba_data: OSM.AS_INTEREST_CODES_TL ,
-
Table: AS_QUOTA_PROFILES
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_QUOTA_PROFILES, object_name:AS_QUOTA_PROFILES, status:VALID, product: AS - Sales Foundation , implementation_dba_data: OSM.AS_QUOTA_PROFILES ,
-
Table: AS_INTEREST_CODES_MC
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_MC, object_name:AS_INTEREST_CODES_MC, status:VALID, product: AS - Sales Foundation , description: for recording a price and currency for a product family. , implementation_dba_data: OSM.AS_INTEREST_CODES_MC ,
-
Table: AS_INTEREST_CODES_TL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_TL, object_name:AS_INTEREST_CODES_TL, status:VALID, product: AS - Sales Foundation , description: For MLS - Translated columns of Interest Codes. , implementation_dba_data: OSM.AS_INTEREST_CODES_TL ,
-
Table: AS_INTEREST_CODES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_ALL, object_name:AS_INTEREST_CODES_ALL, status:VALID, product: AS - Sales Foundation , description: Defines interest codes with multi-org flag columns , implementation_dba_data: OSM.AS_INTEREST_CODES_ALL ,
-
Table: AS_INTEREST_CODES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_CODES_ALL, object_name:AS_INTEREST_CODES_ALL, status:VALID, product: AS - Sales Foundation , description: Defines interest codes with multi-org flag columns , implementation_dba_data: OSM.AS_INTEREST_CODES_ALL ,
-
Table: AS_INTEREST_TYPES_B
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_TYPES_B, object_name:AS_INTEREST_TYPES_B, status:VALID, product: AS - Sales Foundation , description: Define Interest types - base table , implementation_dba_data: OSM.AS_INTEREST_TYPES_B ,
-
Table: AS_INTEREST_TYPES_B
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_INTEREST_TYPES_B, object_name:AS_INTEREST_TYPES_B, status:VALID, product: AS - Sales Foundation , description: Define Interest types - base table , implementation_dba_data: OSM.AS_INTEREST_TYPES_B ,
-
View: AS_INTEREST_CODES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INTEREST_CODES_V, object_name:AS_INTEREST_CODES_V, status:VALID, product: AS - Sales Foundation , description: Interest Codes (single language, no org-specific information) , implementation_dba_data: APPS.AS_INTEREST_CODES_V ,
-
View: AS_INTEREST_CODES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INTEREST_CODES_VL, object_name:AS_INTEREST_CODES_VL, status:VALID, product: AS - Sales Foundation , description: MLS Compliant view on _B and _TL tables. , implementation_dba_data: APPS.AS_INTEREST_CODES_VL ,
-
View: AS_INTEREST_CODES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INTEREST_CODES_V, object_name:AS_INTEREST_CODES_V, status:VALID, product: AS - Sales Foundation , description: Interest Codes (single language, no org-specific information) , implementation_dba_data: APPS.AS_INTEREST_CODES_V ,
-
View: AS_INTEREST_CODES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AS.AS_INTEREST_CODES_VL, object_name:AS_INTEREST_CODES_VL, status:VALID, product: AS - Sales Foundation , description: MLS Compliant view on _B and _TL tables. , implementation_dba_data: APPS.AS_INTEREST_CODES_VL ,