Results for “source_code_id”
20 results
AI-generated from documented ETRM metadata — verify critical details on the linked pages.
Overview
The AMS_SOURCE_CODES_DETAILS_V view resides in the APPS schema and belongs to the Oracle Marketing (AMS) product family. It consolidates descriptive information about the various source code records maintained within Oracle Marketing, resolving each source code to the specific marketing object it references — campaigns, event headers, event offers, campaign schedules, and offers/list headers. The view is defined as a UNION ALL of five distinct queries, each targeting a different source-code category as identified by the ARC_SOURCE_CODE_FOR discriminator column. Its principal role is to provide a single, denormalized reporting surface that joins source codes to their owning entities while exposing a common set of descriptive attributes, including the PRIVATE_FLAG that determines whether the referenced object is publicly visible or restricted. Because it joins the translatable _VL views, it returns language-appropriate names and descriptions, making it suitable for user-facing inquiries, LOV-style validation, and integration extracts.
Underlying Base Objects
The view is defined over the following documented base objects:
- AMS_SOURCE_CODES (synonym) — the driving table supplying SOURCE_CODE_ID, SOURCE_CODE, ARC_SOURCE_CODE_FOR and SOURCE_CODE_FOR_ID.
- AMS_CAMPAIGNS_VL (view) — resolved for the 'CAMP' source-code type, contributing campaign name, description, PRIVATE_FLAG and CUSTOM_SETUP_ID.
- AMS_EVENT_HEADERS_VL (view) — resolved for the 'EVEH' type, supplying event header name, description, PRIVATE_FLAG and SETUP_TYPE_ID.
- AMS_EVENT_OFFERS_VL (view) — resolved for the 'EVEO' type, supplying event offer name, description, PRIVATE_FLAG and SETUP_TYPE_ID.
- AMS_CAMPAIGN_SCHEDULES_VL (view) — resolved for the 'CSCH' type, supplying schedule name and description; PRIVATE_FLAG is hard-coded to 'N'.
- AMS_OFFERS (synonym) and QP_LIST_HEADERS_VL (view) — resolved for the offer/list-header branch, supplying list header name and description together with OFFERS.CONFIDENTIAL_FLAG mapped to PRIVATE_FLAG.
In every branch the join is driven by SOC.ARC_SOURCE_CODE_FOR equal to the relevant literal and SOC.SOURCE_CODE_FOR_ID equal to the target object's primary key, with the additional restriction that SOC.ACTIVE_FLAG = 'Y'.
Key Columns
- SOURCE_CODE_ID — primary key of the underlying source code record.
- SOURCE_CODE — the user-visible source code value.
- SOURCE_TYPE — alias for ARC_SOURCE_CODE_FOR; indicates the category ('CAMP', 'EVEH', 'EVEO', 'CSCH', or the offers branch).
- OBJECT_ID — the identifier of the referenced marketing object.
- NAME — the name of the campaign, event header, event offer, schedule, or list header.
- DESCRIPTION — descriptive text of the referenced object.
- PRIVATE_FLAG — indicates whether the object is private/restricted. For campaigns, events and offers it is inherited from the owning entity; for campaign schedules it is fixed at 'N'; for offers it derives from CONFIDENTIAL_FLAG.
- CUSTOM_SETUP_ID / SETUP_TYPE_ID — setup identifiers used by the various branches to link to their configuration definitions.
Common Use Cases and Queries
The view is typically queried to list active source codes alongside the objects they reference, or to filter objects by their private/confidential status.
To retrieve all active source codes referencing campaigns, including visibility:
- SELECT source_code, source_type, name, private_flag FROM ams_source_codes_details_v WHERE source_type = 'CAMP' ORDER BY source_code;
To identify private or confidential marketing objects exposed through source codes:
- SELECT source_code, source_type, object_id, name FROM ams_source_codes_details_v WHERE private_flag = 'Y';
To resolve a specific source code to its target object across all categories:
- SELECT source_code, source_type, object_id, name, description FROM ams_source_codes_details_v WHERE source_code = :p_source_code;
Because the view only returns rows where ACTIVE_FLAG = 'Y', it is well suited to populating selection lists and to integration extracts that must exclude retired source codes.
-
APPS.AMS_SOURCE_CODES_DETAILS_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
APPS.AMS_SOURCE_CODES_DETAILS_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
View: AMS_P_SOURCE_CODES_V 12.1.1
This public view shows the information related to Marketing Source code.
APPS.AMS_P_SOURCE_CODES_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
View: AMS_P_SOURCE_CODES_V 12.2.2
This public view shows the information related to Marketing Source code.
APPS.AMS_P_SOURCE_CODES_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
This table captures all user interactions that happens during course of a dialog execution
-
This table captures all user interactions that happens during course of a dialog execution
-
View: AMS_DS_INTERACTIONS_V 12.1.1
APPS.AMS_DS_INTERACTIONS_V·↳ HZ_PARTIES·↳ JTF_IH_ACTIONS_TL·↳ JTF_IH_ACTION_ITEMS_TL·Explore AMS module →
-
This public view shows the information related to Marketing Source code.
APPS.AMS_P_OSO_SOURCE_CODES_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
This public view shows the information related to Marketing Source code.
APPS.AMS_P_OSO_SOURCE_CODES_V·↳ AMS_CAMPAIGNS_VL·↳ AMS_CAMPAIGN_SCHEDULES_VL·↳ AMS_EVENT_HEADERS_VL·Explore AMS module →
-
This table records the source codes for all objects in the system.
-
This table records the source codes for all objects in the system.
-
View: AMS_DS_INTERACTIONS_V 12.2.2
APPS.AMS_DS_INTERACTIONS_V·↳ HZ_PARTIES·↳ JTF_IH_ACTIONS_TL·↳ JTF_IH_ACTION_ITEMS_TL·Explore AMS module →
-
APPS.AMS_PERSON_INTERACT_ACT_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
An act performed by a human or automated agent as part of an Interaction. An Interaction Activity can be related to the handling of the Media Items related to the Interaction (example: answering a call, transferring a call, etc.) .
APPS.AMS_ORG_INTERACTION_ACT_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
An act performed by a human or automated agent as part of an Interaction. An Interaction Activity can be related to the handling of the Media Items related to the Interaction (example: answering a call, transferring a call, etc.) .
APPS.AMS_ORG_INTERACTION_ACT_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
APPS.AMS_PERSON_INTERACTIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
APPS.AMS_PERSON_INTERACT_ACT_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
View: AMS_ORG_INTERACTIONS_V 12.2.2
A contact point between a customer, customer system or potential customer and a single human or automated agent (Handler and Handler Resource). An Interaction can be timed and has an outcome and result that can be tracked.
APPS.AMS_ORG_INTERACTIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
View: AMS_ORG_INTERACTIONS_V 12.1.1
A contact point between a customer, customer system or potential customer and a single human or automated agent (Handler and Handler Resource). An Interaction can be timed and has an outcome and result that can be tracked.
APPS.AMS_ORG_INTERACTIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →
-
APPS.AMS_PERSON_INTERACTIONS_V·↳ HZ_CUST_ACCOUNTS·↳ HZ_PARTIES·↳ JTF_IH_ACTIVITIES·Explore AMS module →