Search Results ams_categories_vl
Overview
AMS_CATEGORIES_VL is a seeded, read-only view owned by the APPS schema in Oracle E-Business Suite. It is delivered as part of the AMS (Oracle Marketing) product family and is valid in both EBS 12.1.1 and 12.2.2. The view presents the marketing categories that are used throughout Oracle Marketing, specifically those associated with marketing deliverables and marketing events. Because categories in AMS are modeled as a translatable, multi-language entity, AMS_CATEGORIES_VL serves as the translated (VL, or "view language") interface: it joins the base table to its translation table and filters the translation rows to the language of the current session. This makes it the standard access point for any report, form, concurrent program, or integration that needs to display a marketing category by name rather than by internal identifier.
In the typical EBS layered architecture, a _VL view is the component intended for consumption by application code and end-user reporting, while the underlying _B and _TL tables hold the physical data. AMS_CATEGORIES_VL follows this convention exactly and should be treated as the supported public interface to marketing category data.
Underlying Base Objects
The view is defined over two documented base objects, both referenced through APPS synonyms:
- AMS_CATEGORIES_B — the base ("B") table holding language-independent columns such as CATEGORY_ID, parent relationships, enabled flag, accounting attributes, descriptive flexfield columns, and audit columns.
- AMS_CATEGORIES_TL — the translation ("TL") table holding the language-dependent columns CATEGORY_NAME and DESCRIPTION, keyed by CATEGORY_ID and LANGUAGE.
The join condition is B.CATEGORY_ID = T.CATEGORY_ID AND T.LANGUAGE = USERENV('LANG'), which restricts the result set to the translation matching the session language. All non-translated columns are projected from AMS_CATEGORIES_B, while CATEGORY_NAME and DESCRIPTION are taken from AMS_CATEGORIES_TL. Because the view exposes the ROWID of the base table, it can be used as a key-preserved view for certain DML-through-view operations, though standard practice is to treat it as read-only for query purposes.
Key Columns
- CATEGORY_ID — Primary identifier of the marketing category; the foreign key referenced by marketing deliverables and events.
- CATEGORY_NAME / DESCRIPTION — Language-dependent name and description returned for the session language (USERENV('LANG')).
- PARENT_CATEGORY_ID — Self-referencing pointer that supports hierarchical category structures.
- ENABLED_FLAG — Indicates whether the category is active and selectable in marketing transactions.
- ARC_CATEGORY_CREATED_FOR — Indicates the context or purpose for which the category was created.
- ACCRUED_LIABILITY_ACCOUNT / DED_ADJUSTMENT_ACCOUNT — Accounting flexfield references used for accrual and deduction adjustment postings.
- BUDGET_CODE_SUFFIX / LEDGER_ID — Budgeting and ledger association columns supporting multi-org and multi-ledger accounting.
- ATTRIBUTE_CATEGORY and ATTRIBUTE1–ATTRIBUTE15 — Descriptive flexfield (DFF) context and segment columns for customer-defined extensions.
- Audit columns — CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, LAST_UPDATE_LOGIN, OBJECT_VERSION_NUMBER, and ROW_ID.
Common Use Cases and Queries
Because the view resolves the translation automatically, it is the preferred source whenever category names must be shown to users. Typical scenarios include marketing deliverable setup reports, event category listings, integration extracts feeding downstream marketing analytics, and validation queries confirming which categories are active and how they roll up hierarchically.
A simple active-category listing:
SELECT category_id, category_name, parent_category_id FROM ams_categories_vl WHERE enabled_flag = 'Y' ORDER BY category_name;
Joining to translations for a specific ID and inspecting the DFF:
SELECT category_id, category_name, description,
attribute_category, attribute1, ledger_id
FROM ams_categories_vl
WHERE category_id = :p_category_id;
Resolving the hierarchy through the self-referencing parent pointer:
SELECT c.category_name, p.category_name AS parent_name
FROM ams_categories_vl c,
ams_categories_vl p
WHERE c.parent_category_id = p.category_id (+)
AND c.enabled_flag = 'Y';
When the session language must not drive the result — for example, in a bilingual integration — query AMS_CATEGORIES_TL directly and filter on LANGUAGE explicitly, since AMS_CATEGORIES_VL always returns the USERENV('LANG') translation.
-
View: AMS_CATEGORIES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CATEGORIES_VL, object_name:AMS_CATEGORIES_VL, status:VALID, product: AMS - Marketing , description: This view returns the marketing categories used in marketing deliverables / marketing events. , implementation_dba_data: APPS.AMS_CATEGORIES_VL ,
-
View: AMS_CATEGORIES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CATEGORIES_VL, object_name:AMS_CATEGORIES_VL, status:VALID, product: AMS - Marketing , description: This view returns the marketing categories used in marketing deliverables / marketing events. , implementation_dba_data: APPS.AMS_CATEGORIES_VL ,
-
VIEW: APPS.AMS_CATEGORIES_V
12.1.1
-
VIEW: APPS.AMS_CATEGORIES_V
12.2.2
-
VIEW: APPS.BIM_BUDGET_CATEGORY_V
12.2.2
-
VIEW: APPS.AMS_P_METRICS_V
12.1.1
-
VIEW: APPS.AMS_METRICS_INFO_V
12.2.2
-
VIEW: APPS.AMS_P_METRICS_V
12.2.2
-
VIEW: APPS.AMS_METRICS_INFO_V
12.1.1
-
View: AMS_METRICS_INFO_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_INFO_V, object_name:AMS_METRICS_INFO_V, status:VALID, product: AMS - Marketing , implementation_dba_data: APPS.AMS_METRICS_INFO_V ,
-
View: AMS_CATEGORIES_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CATEGORIES_V, object_name:AMS_CATEGORIES_V, status:VALID, product: AMS - Marketing , description: This view returns the marketing categories used in marketing deliverables / marketing events. , implementation_dba_data: APPS.AMS_CATEGORIES_V ,
-
VIEW: APPS.AMS_P_ACT_METRICS_V
12.1.1
-
VIEW: APPS.AMS_P_ACT_METRICS_V
12.2.2
-
VIEW: APPS.BIM_BUDGET_CATEGORY_V
12.1.1
-
View: AMS_CATEGORIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CATEGORIES_V, object_name:AMS_CATEGORIES_V, status:VALID, product: AMS - Marketing , description: This view returns the marketing categories used in marketing deliverables / marketing events. , implementation_dba_data: APPS.AMS_CATEGORIES_V ,
-
View: AMS_P_METRICS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_METRICS_V, object_name:AMS_P_METRICS_V, status:VALID, product: AMS - Marketing , description: This public view returns the details of Metrics measures that can be used by an activity. , implementation_dba_data: APPS.AMS_P_METRICS_V ,
-
View: AMS_P_METRICS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_METRICS_V, object_name:AMS_P_METRICS_V, status:VALID, product: AMS - Marketing , description: This public view returns the details of Metrics measures that can be used by an activity. , implementation_dba_data: APPS.AMS_P_METRICS_V ,
-
View: AMS_METRICS_INFO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_INFO_V, object_name:AMS_METRICS_INFO_V, status:VALID, product: AMS - Marketing , implementation_dba_data: APPS.AMS_METRICS_INFO_V ,
-
APPS.AMS_ACTCATEGORY_PVT SQL Statements
12.1.1
-
APPS.AMS_ACTCATEGORY_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.AMS_CATEGORIES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_B, status:VALID,
-
View: AMS_P_ACT_METRICS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_ACT_METRICS_V, object_name:AMS_P_ACT_METRICS_V, status:VALID, product: AMS - Marketing , description: This public view returns the metrics that will be tracked for marketing activities. , implementation_dba_data: APPS.AMS_P_ACT_METRICS_V ,
-
APPS.AMS_METRIC_FORMULA_PVT SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AMS_CATEGORY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CATEGORY_PVT, status:VALID,
-
View: AMS_P_ACT_METRICS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_P_ACT_METRICS_V, object_name:AMS_P_ACT_METRICS_V, status:VALID, product: AMS - Marketing , description: This public view returns the metrics that will be tracked for marketing activities. , implementation_dba_data: APPS.AMS_P_ACT_METRICS_V ,
-
APPS.AMS_METRIC_FORMULA_PVT SQL Statements
12.1.1
-
PACKAGE BODY: APPS.AMS_SOURCECODE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SOURCECODE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_CATEGORY_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CATEGORY_PVT, status:VALID,
-
SYNONYM: APPS.AMS_CATEGORIES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_TL, status:VALID,
-
SYNONYM: APPS.AMS_CATEGORIES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_TL, status:VALID,
-
SYNONYM: APPS.AMS_CATEGORIES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_B, status:VALID,
-
PACKAGE BODY: APPS.AMS_SOURCECODE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_SOURCECODE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_REFRESHMETRIC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_REFRESHMETRIC_PVT, status:VALID,
-
VIEW: APPS.BIM_BUDGET_CATEGORY_V
12.1.1
owner:APPS, object_type:VIEW, object_name:BIM_BUDGET_CATEGORY_V, status:VALID,
-
VIEW: APPS.BIM_BUDGET_CATEGORY_V
12.2.2
owner:APPS, object_type:VIEW, object_name:BIM_BUDGET_CATEGORY_V, status:VALID,
-
PACKAGE BODY: APPS.AMS_METRIC_FORMULA_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_FORMULA_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_METRIC_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_METRIC_FORMULA_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_FORMULA_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_METRIC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_METRIC_PVT, status:VALID,
-
VIEW: APPS.OZF_FUND_DETAILS_V
12.2.2
-
VIEW: APPS.OZF_FUND_DETAILS_V
12.1.1
-
PACKAGE BODY: APPS.OZF_FUNDS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_FUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_FUNDS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_FUNDS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_REFRESHMETRIC_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_REFRESHMETRIC_PVT, status:VALID,
-
PACKAGE BODY: APPS.OZF_FUNDS_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_FUNDS_PUB, status:VALID,
-
PACKAGE BODY: APPS.OZF_FUNDS_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OZF_FUNDS_PUB, status:VALID,
-
VIEW: APPS.AMS_CATEGORIES_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_CATEGORIES_V, object_name:AMS_CATEGORIES_V, status:VALID,
-
VIEW: APPS.AMS_METRICS_INFO_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_METRICS_INFO_V, object_name:AMS_METRICS_INFO_V, status:VALID,
-
APPS.AMS_METRIC_PVT SQL Statements
12.1.1
-
APPS.AMS_METRIC_PVT SQL Statements
12.2.2