Search Results site_primary_code




Overview

AMS_ACCT_INTEREST_V is a user-facing view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the AMS (Marketing) product family. Its documented purpose is to serve Discoverer Business Area "List generation" folders, presenting a consolidated, denormalized picture of customers and customer sites together with their interest classifications. In practical terms, the view flattens the TCA (Trading Community Architecture) party model and joins it to the Oracle Marketing interest model so that list generation, segmentation, and ad-hoc reporting can be performed without navigating the underlying normalized tables manually.

The view has been catalogued as VALID in both EBS 12.1.1 and 12.2.2. Because it is a view rather than a table, it holds no data of its own; its cost profile is governed entirely by the base objects over which it is defined, and its behaviour is consistent across the two releases given that the same base synonyms and views remain present.

Underlying Base Objects

The documented base objects underlying AMS_ACCT_INTEREST_V are:

The view therefore joins the TCA customer/party model to the Oracle Marketing (AS) interest model, producing one row per customer site and its associated interest classification.

Key Columns

Common Use Cases and Queries

The primary use case is list generation and customer segmentation in Oracle Marketing, particularly through Discoverer folders that consume the view directly. Typical queries retrieve customers filtered by employee count, revenue band, geography, or interest classification.

Example: list active customers in a given country with more than 500 employees.

SELECT customer_name,
       customer_number,
       num_of_employees,
       annual_revenue,
       city,
       country_name
FROM   ams_acct_interest_v
WHERE  customer_active = 'ACTIVE'
AND    num_of_employees > 500
AND    country_name = 'UNITED STATES';

Example: retrieve all sites for a specific primary interest code, with the operating unit context.

SELECT customer_id,
       customer_name,
       address_id,
       org_name,
       site_primary_code,
       site_interest_type
FROM   ams_acct_interest_v
WHERE  site_primary_code = 'TECHNOLOGY'
AND    site_active = 'ACTIVE';

Example: identify mail-eligible prospects with a key account site.

SELECT customer_name,
       address_id,
       ok_to_mail,
       key_site
FROM   ams_acct_interest_v
WHERE  customer_prospect_code = 'PROSPECT'
AND    ok_to_mail = 'Y'
AND    key_site = 'Y';

Because the view is defined over the TCA and interest base objects, queries benefit from standard indexes on HZ_PARTIES, HZ_CUST_ACCOUNTS, and HZ_CUST_ACCT_SITES_ALL. Row counts multiply by site and interest assignment, so aggregations should be applied with care when NUM_OF_EMPLOYEES is used at the customer level. The view remains valid and available in both EBS 12.1.1 and 12.2.2, making it a stable foundation for cross-release reporting.

  • View: AMS_ACCT_INTEREST_V 12.1.1

    owner:APPS,  object_type:VIEW,  fnd_design_data:AMS.AMS_ACCT_INTEREST_V,  object_name:AMS_ACCT_INTEREST_V,  status:VALID,  product: AMS - Marketingdescription: This view is used by Discoverer Business Area:List generation Folders.It is a user view of Customer and sites ,  implementation_dba_data: APPS.AMS_ACCT_INTEREST_V

  • View: AMS_ACCT_INTEREST_V 12.2.2

    owner:APPS,  object_type:VIEW,  fnd_design_data:AMS.AMS_ACCT_INTEREST_V,  object_name:AMS_ACCT_INTEREST_V,  status:VALID,  product: AMS - Marketingdescription: This view is used by Discoverer Business Area:List generation Folders.It is a user view of Customer and sites ,  implementation_dba_data: APPS.AMS_ACCT_INTEREST_V