Search Results first_rows
Overview
APPS.AMS_CONTACT_PRODUCTS_V is a reporting and integration view in the Oracle E-Business Suite 12.1.1 and 12.2.2 environments, owned by the APPS schema. Despite its name, the view does not expose contact records directly; it presents a normalized, flattened list of enabled interest types and their associated interest codes as they relate to products available for expectation/purchase tracking in Oracle Marketing and related modules. The view consolidates header-level interest type definitions with their child interest codes into a single result set using a UNION of two component queries, allowing applications and interfaces to treat types and codes uniformly through a shared set of column aliases.
Underlying Base Objects
The documented base objects referenced by the view are:
- AS_INTEREST_CODES_B — base interest code definitions
- AS_INTEREST_CODES_TL — translated interest code descriptions
- AS_INTEREST_TYPES_B — base interest type definitions
- AS_INTEREST_TYPES_TL — translated interest type descriptions
The first branch of the UNION joins AS_INTEREST_TYPES_B to AS_INTEREST_TYPES_TL, filtering on enabled_flag = 'Y' and expected_purchase_flag = 'Y', and restricts language via USERENV('LANG'). The second branch extends the join to AS_INTEREST_CODES_B and AS_INTEREST_CODES_TL, additionally requiring bp.parent_interest_code_id IS NULL and bp.enabled_flag = 'Y'. Both branches carry the hint /*+ FIRST_ROWS USE_NL(bi ti bp tp) */, indicating a design optimized for interactive, row-by-row retrieval rather than bulk aggregation. Because all four base objects are referenced through SYNONYM entries, the view remains portable across database links and schema configurations.
Key Columns
- ID — a surrogate identifier concatenating the source context; sourced from
bi.interest_type_idin the first branch andbp.interest_code_idin the second, enabling a unified key across both record types. - INTEREST_TYPE_ID — character-converted interest type identifier, consistent across both UNION branches as
to_char(bi.interest_type_id). - INTEREST_CODE_ID — populated with
-1for type-only rows and the actual code identifier for code-level rows. - INTEREST_TYPE — the descriptive interest type name from the translation table (TI.INTEREST_TYPE).
- Code — blank for type-level rows, and the translated code value (TP.CODE) for code-level rows.
- 'as_interest_types_b' / 'as_interest_codes_b' — literal discriminator columns identifying the originating base table, useful for downstream branching logic.
Common Use Cases and Queries
Applications and custom reports use this view to populate interest/expectation LOVs, product qualifier lists, and integration payloads that require both parent types and their child codes. A typical query filtering type-level rows is:
SELECT id, interest_type_id, interest_type FROM apps.ams_contact_products_v WHERE interest_code_id = -1;— returns only enabled interest types.SELECT id, interest_type, code FROM apps.ams_contact_products_v WHERE interest_code_id > 0;— returns enabled, top-level interest codes.SELECT interest_type, code FROM apps.ams_contact_products_v WHERE interest_type = :p_type;— drives dependent LOVs where codes are filtered by a selected type.
Because both branches honor USERENV('LANG'), consumers automatically receive language-appropriate descriptions when the session language is set. The view is read-only and intended for inquiry; any lookup by the user term "carbage bi" is not reflected in the documented metadata or in the view definition, and the underlying content pertains solely to interest type and interest code structures.
-
VIEW: APPS.AMS_CONTACT_PRODUCTS_V
12.2.2
-
VIEW: APPS.AMS_CONTACT_PRODUCTS_V
12.1.1
-
APPS.OKC_PO_QA_PVT SQL Statements
12.1.1
-
APPS.OKC_PO_QA_PVT SQL Statements
12.2.2
-
VIEW: APPS.QP_CUSTOMERS_V
12.1.1
-
VIEW: APPS.QP_CUSTOMERS_V
12.2.2
-
TRIGGER: MDSYS.SDO_GEOR_BDDL_TRIGGER
12.2.2
-
APPS.POA_DBI_ITEMS_PKG SQL Statements
12.1.1
-
VIEW: APPS.CS_RETURNS_RG_V
12.1.1
-
VIEW: APPS.CS_RETURNS_RG_V
12.2.2
-
TRIGGER: MDSYS.SDO_GEOR_BDDL_TRIGGER
12.1.1
-
VIEW: APPS.QP_SHIP_TO_ORGS_V
12.1.1
-
VIEW: APPS.JTF_RS_DBI_UNSEC_GRPS_V
12.2.2
-
VIEW: APPS.JTF_RS_DBI_UNSEC_GRPS_V
12.1.1
-
View: CS_SYSTEM_CONTACTS_RG_V
12.2.2
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.CSI_CP_ADDRESSES_V
12.1.1
-
VIEW: APPS.CSI_CP_ADDRESSES_V
12.2.2
-
View: CS_SYSTEM_CONTACTS_RG_V
12.1.1
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.QP_SHIP_TO_ORGS_V
12.2.2
-
View: AMS_CONTACT_PRODUCTS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CONTACT_PRODUCTS_V, object_name:AMS_CONTACT_PRODUCTS_V, status:VALID, product: AMS - Marketing , description: This view is used by Contact Preferences. This view store the interest Types and interet type codes , implementation_dba_data: APPS.AMS_CONTACT_PRODUCTS_V ,
-
APPS.BEN_USE_CVG_RT_DATE SQL Statements
12.1.1
-
View: AMS_CONTACT_PRODUCTS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CONTACT_PRODUCTS_V, object_name:AMS_CONTACT_PRODUCTS_V, status:VALID, product: AMS - Marketing , description: This view is used by Contact Preferences. This view store the interest Types and interet type codes , implementation_dba_data: APPS.AMS_CONTACT_PRODUCTS_V ,
-
View: CS_CONTACTS_V
12.1.1
product: CS - Service , description: Information regarding the Resources and their type of contacts in Installedbase , implementation_dba_data: Not implemented in this database ,
-
APPS.BEN_USE_CVG_RT_DATE SQL Statements
12.2.2
-
VIEW: APPS.AST_INV_ITEM_LOV_V
12.2.2
-
APPS.PO_INV_THIRD_PARTY_STOCK_MDTR SQL Statements
12.2.2
-
VIEW: APPS.AST_INV_ITEM_LOV_V
12.1.1
-
VIEW: APPS.AMS_JTF_RS_EMP_V
12.2.2
-
View: CS_CONTACTS_V
12.2.2
product: CS - Service , description: Information regarding the Resources and their type of contacts in Installedbase , implementation_dba_data: Not implemented in this database ,
-
VIEW: APPS.PA_CUSTOMER_LOV_V
12.1.1
-
VIEW: APPS.PA_CUSTOMER_LOV_V
12.2.2
-
VIEW: APPS.AMS_JTF_RS_EMP_V
12.1.1
-
View: QP_CUSTOMERS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_CUSTOMERS_V, object_name:QP_CUSTOMERS_V, status:VALID, product: QP - Advanced Pricing , description: This view is for segment SOLD_TO_ORG_ID in customer context for "Qualifiers Contexts" flexfield , implementation_dba_data: APPS.QP_CUSTOMERS_V ,
-
View: QP_CUSTOMERS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_CUSTOMERS_V, object_name:QP_CUSTOMERS_V, status:VALID, product: QP - Advanced Pricing , description: This view is for segment SOLD_TO_ORG_ID in customer context for "Qualifiers Contexts" flexfield , implementation_dba_data: APPS.QP_CUSTOMERS_V ,
-
View: CS_IB_PARTY_NAME_V
12.1.1
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
View: JTF_RS_DBI_UNSEC_GRPS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_RS_DBI_UNSEC_GRPS_V, object_name:JTF_RS_DBI_UNSEC_GRPS_V, status:VALID, product: JTF - CRM Foundation , implementation_dba_data: APPS.JTF_RS_DBI_UNSEC_GRPS_V ,
-
View: CS_IB_PARTY_NAME_V
12.2.2
product: CS - Service , implementation_dba_data: Not implemented in this database ,
-
View: CS_SYSTEMS_FIND_V
12.1.1
product: CS - Service , description: View Table for System Id field in find block , implementation_dba_data: Not implemented in this database ,
-
View: CS_SYSTEMS_FIND_V
12.2.2
product: CS - Service , description: View Table for System Id field in find block , implementation_dba_data: Not implemented in this database ,
-
View: JTF_RS_DBI_UNSEC_GRPS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_RS_DBI_UNSEC_GRPS_V, object_name:JTF_RS_DBI_UNSEC_GRPS_V, status:VALID, product: JTF - CRM Foundation , implementation_dba_data: APPS.JTF_RS_DBI_UNSEC_GRPS_V ,
-
PACKAGE BODY: APPS.POA_DBI_ITEMS_PKG
12.1.1
-
View: QP_SHIP_TO_ORGS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_SHIP_TO_ORGS_V, object_name:QP_SHIP_TO_ORGS_V, status:VALID, product: QP - Advanced Pricing , description: Ship to Organizations. , implementation_dba_data: APPS.QP_SHIP_TO_ORGS_V ,
-
VIEW: APPS.ENG_REVISED_ITEMS_SCHEDULE_V
12.1.1
-
VIEW: APPS.MSC_ITEM_EXCEPTION_V1
12.2.2
-
View: CS_RETURNS_RG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_RETURNS_RG_V, object_name:CS_RETURNS_RG_V, status:VALID, product: CS - Service , description: This View is a replica of the ASO object aso_returns_v , implementation_dba_data: APPS.CS_RETURNS_RG_V ,
-
View: QP_SHIP_TO_ORGS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_SHIP_TO_ORGS_V, object_name:QP_SHIP_TO_ORGS_V, status:VALID, product: QP - Advanced Pricing , description: Ship to Organizations. , implementation_dba_data: APPS.QP_SHIP_TO_ORGS_V ,
-
APPS.ZX_TDS_RULE_BASE_DETM_PVT SQL Statements
12.2.2
-
View: CS_CP_ADDRESSES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_CP_ADDRESSES_V, object_name:CS_CP_ADDRESSES_V, status:VALID, product: CS - Service , description: Installed at / Ship To information of the Product , implementation_dba_data: APPS.CS_CP_ADDRESSES_V ,
-
APPS.IEU_NEXT_WORK_IEUSCPOP SQL Statements
12.2.2
-
View: CS_RETURNS_RG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:CS.CS_RETURNS_RG_V, object_name:CS_RETURNS_RG_V, status:VALID, product: CS - Service , description: This View is a replica of the ASO object aso_returns_v , implementation_dba_data: APPS.CS_RETURNS_RG_V ,