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: