Search Results ams_source_codes_details_v
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.
-
View: AMS_SOURCE_CODES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_SOURCE_CODES_DETAILS_V, object_name:AMS_SOURCE_CODES_DETAILS_V, status:VALID, product: AMS - Marketing , implementation_dba_data: APPS.AMS_SOURCE_CODES_DETAILS_V ,
-
View: AMS_SOURCE_CODES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_SOURCE_CODES_DETAILS_V, object_name:AMS_SOURCE_CODES_DETAILS_V, status:VALID, product: AMS - Marketing , implementation_dba_data: APPS.AMS_SOURCE_CODES_DETAILS_V ,
-
APPS.AST_UWQ_LLIST_MSG_PKG SQL Statements
12.2.2
-
APPS.AST_UWQ_OLIST_MSG_PKG SQL Statements
12.1.1
-
APPS.AST_UWQ_LLIST_MSG_PKG SQL Statements
12.1.1
-
SYNONYM: APPS.AMS_OFFERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_OFFERS, status:VALID,
-
VIEW: APPS.BIM_DIMV_CAMPAIGNS
12.1.1
-
APPS.AST_UWQ_OLIST_MSG_PKG SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AST_UWQ_OLIST_MSG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AST_UWQ_OLIST_MSG_PKG, status:VALID,
-
SYNONYM: APPS.AMS_OFFERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_OFFERS, status:VALID,
-
PACKAGE BODY: APPS.AST_UWQ_LLIST_MSG_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AST_UWQ_LLIST_MSG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AST_UWQ_OLIST_MSG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AST_UWQ_OLIST_MSG_PKG, status:VALID,
-
PACKAGE BODY: APPS.AST_UWQ_LLIST_MSG_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AST_UWQ_LLIST_MSG_PKG, status:VALID,
-
VIEW: APPS.AMS_SOURCE_CODES_DETAILS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_SOURCE_CODES_DETAILS_V, object_name:AMS_SOURCE_CODES_DETAILS_V, status:VALID,
-
VIEW: APPS.AMS_SOURCE_CODES_DETAILS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_SOURCE_CODES_DETAILS_V, object_name:AMS_SOURCE_CODES_DETAILS_V, status:VALID,
-
VIEW: APPS.BIM_DIMV_CAMPAIGNS
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:BIM.BIM_DIMV_CAMPAIGNS, object_name:BIM_DIMV_CAMPAIGNS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AMS_SOURCE_CODES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_SOURCE_CODES, status:VALID,
-
SYNONYM: APPS.AMS_SOURCE_CODES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_SOURCE_CODES, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
PACKAGE BODY: APPS.AST_UWQ_OLIST_MSG_PKG
12.1.1
-
PACKAGE BODY: APPS.AST_UWQ_OLIST_MSG_PKG
12.2.2
-
PACKAGE BODY: APPS.AST_UWQ_LLIST_MSG_PKG
12.1.1
-
PACKAGE BODY: APPS.AST_UWQ_LLIST_MSG_PKG
12.2.2
-
VIEW: APPS.QP_LIST_HEADERS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_HEADERS_VL, object_name:QP_LIST_HEADERS_VL, status:VALID,
-
VIEW: APPS.QP_LIST_HEADERS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:QP.QP_LIST_HEADERS_VL, object_name:QP_LIST_HEADERS_VL, status:VALID,
-
VIEW: APPS.AMS_EVENT_HEADERS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_EVENT_HEADERS_VL, object_name:AMS_EVENT_HEADERS_VL, status:VALID,
-
VIEW: APPS.AMS_EVENT_HEADERS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_EVENT_HEADERS_VL, object_name:AMS_EVENT_HEADERS_VL, status:VALID,
-
VIEW: APPS.AMS_CAMPAIGN_SCHEDULES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CAMPAIGN_SCHEDULES_VL, object_name:AMS_CAMPAIGN_SCHEDULES_VL, status:VALID,
-
VIEW: APPS.AMS_CAMPAIGN_SCHEDULES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CAMPAIGN_SCHEDULES_VL, object_name:AMS_CAMPAIGN_SCHEDULES_VL, status:VALID,
-
APPS.AST_UWQ_LLIST_MSG_PKG dependencies on AMS_SOURCE_CODES_DETAILS_V
12.2.2
-
APPS.AST_UWQ_OLIST_MSG_PKG dependencies on AMS_SOURCE_CODES_DETAILS_V
12.2.2
-
APPS.AST_UWQ_LLIST_MSG_PKG dependencies on AMS_SOURCE_CODES_DETAILS_V
12.1.1
-
APPS.AST_UWQ_OLIST_MSG_PKG dependencies on AMS_SOURCE_CODES_DETAILS_V
12.1.1
-
VIEW: APPS.AMS_CAMPAIGNS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CAMPAIGNS_VL, object_name:AMS_CAMPAIGNS_VL, status:VALID,
-
VIEW: APPS.AMS_CAMPAIGNS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CAMPAIGNS_VL, object_name:AMS_CAMPAIGNS_VL, status:VALID,
-
VIEW: APPS.AMS_EVENT_OFFERS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_EVENT_OFFERS_VL, object_name:AMS_EVENT_OFFERS_VL, status:VALID,
-
VIEW: APPS.AMS_EVENT_OFFERS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_EVENT_OFFERS_VL, object_name:AMS_EVENT_OFFERS_VL, status:VALID,
-
eTRM - AMS Tables and Views
12.2.2
description: This table is used to store tracking data for web advertisement and offer type schedules ,
-
eTRM - AMS Tables and Views
12.1.1
description: This table is used to store tracking data for web advertisement and offer type schedules ,
-
eTRM - BIM Tables and Views
12.1.1
description: Target segment level table . ,
-
eTRM - QP Tables and Views
12.1.1
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
eTRM - AMS Tables and Views
12.2.2
description: This table is used to store tracking data for web advertisement and offer type schedules ,
-
eTRM - AMS Tables and Views
12.1.1
description: This table is used to store tracking data for web advertisement and offer type schedules ,
-
eTRM - BIM Tables and Views
12.1.1
description: Target segment level table . ,
-
eTRM - QP Tables and Views
12.1.1
description: This table stores information about which workers handle which list_lines, headers, formulas or price adjustments at the time of upgrade. ,