Search Results as_interest_codes_all
Overview
The AS_INTEREST_CODES_ALL table is a core data object within the Oracle E-Business Suite (EBS) Sales Foundation module (AS). It serves as the central repository for defining and storing interest codes within a multi-organization (Multi-Org) architecture. An interest code categorizes a customer's or prospect's area of business focus or product interest, such as "Cloud Computing" or "Enterprise Software." This classification is fundamental to sales, marketing, and territory management processes, enabling the segmentation of leads, opportunities, and accounts. The table's "_ALL" suffix and inclusion of the ORG_ID column signify its role in storing data partitioned by operating unit, a cornerstone of the EBS Multi-Org model. It acts as the transactional table that links the base definition table (AS_INTEREST_CODES_B) to specific business units.
Key Information Stored
While the provided metadata does not list all columns, the documented primary and foreign key structure reveals the essential data elements. The primary key is a composite of INTEREST_CODE_ID and ORG_ID. The INTEREST_CODE_ID is a foreign key to AS_INTEREST_CODES_B, which holds the descriptive, non-org-specific attributes for the interest code (e.g., name, description). The ORG_ID column stores the identifier for the operating unit, enabling data security and partitioning. This structure ensures that a single interest code definition from the base table can be enabled and used across multiple operating units, with the AS_INTEREST_CODES_ALL table recording that specific availability and relationship.
Common Use Cases and Queries
This table is primarily accessed to validate and retrieve interest codes available for a given operating unit during transaction entry and reporting. Common operational scenarios include populating list of values (LOVs) in the "Primary Interest" and "Secondary Interest" fields on lead, opportunity, and account forms. A typical query to fetch all active interest codes for a specific organization would join to the base table for descriptions. For reporting, analysts join this table to transactional tables like AS_LEAD_LINES_ALL to analyze lead distribution by interest area per business unit. A sample query pattern is:
- SELECT icb.NAME, icb.DESCRIPTION FROM AS_INTEREST_CODES_ALL ica, AS_INTEREST_CODES_B icb WHERE ica.INTEREST_CODE_ID = icb.INTEREST_CODE_ID AND ica.ORG_ID = :p_org_id;
Related Objects
The AS_INTEREST_CODES_ALL table is a central hub in the Sales Foundation data model, with documented relationships to several key transactional tables. Its primary key is referenced by foreign keys in tables that store sales and territory data, establishing the interest code's usage.
- AS_INTEREST_CODES_B: The base definition table. Joined via AS_INTEREST_CODES_ALL.INTEREST_CODE_ID = AS_INTEREST_CODES_B.INTEREST_CODE_ID.
- AS_INTERESTS_ALL: Stores interest assignments for parties. References this table for both PRIMARY_INTEREST_CODE_ID and SECONDARY_INTEREST_CODE_ID.
- AS_LEAD_LINES_ALL: Stores lead lines. References this table for both PRIMARY_INTEREST_CODE_ID and SECONDARY_INTEREST_CODE_ID to categorize the lead's focus.
- AS_TERRITORY_VALUES_ALL: Defines territory criteria. References this table for PRIMARY_INTEREST_CODE_ID and SECONDARY_INTEREST_CODE_ID to build territories based on customer interests.
-
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_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_TERRITORY_VALUES_ALL
12.1.1
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_VALUES_ALL, object_name:AS_TERRITORY_VALUES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete To JTF Terr Core Holds territory values , implementation_dba_data: OSM.AS_TERRITORY_VALUES_ALL ,
-
Table: AS_TERRITORY_VALUES_ALL
12.2.2
owner:OSM, object_type:TABLE, fnd_design_data:AS.AS_TERRITORY_VALUES_ALL, object_name:AS_TERRITORY_VALUES_ALL, status:VALID, product: AS - Sales Foundation , description: Obsolete To JTF Terr Core Holds territory values , implementation_dba_data: OSM.AS_TERRITORY_VALUES_ALL ,
-
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_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 ,
-
View: ASFV_INTEREST_CODES
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
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 ,
-
View: ASFV_INTEREST_CODES
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: ASFV_SALES_OPPORTUNITY_LINES
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
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: ASFV_SALES_OPPORTUNITY_LINES
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: ASBV_INTEREST_CODES
12.1.1
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
View: ASBV_INTEREST_CODES
12.2.2
product: AS - Sales Foundation , implementation_dba_data: Not implemented in this database ,
-
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_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 ,
-
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_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 ,
-
View: AS_INTEREST_CODES
12.2.2
product: AS - Sales Foundation , description: This is single-org only from _ALL table. , implementation_dba_data: Not implemented in this database ,
-
View: AS_INTEREST_CODES
12.1.1
product: AS - Sales Foundation , description: This is single-org only from _ALL table. , implementation_dba_data: Not implemented in this database ,