Search Results ams_categories_b
Overview
The AMS_CATEGORIES_B table is a core master data table within the Oracle E-Business Suite Marketing (AMS) module. It serves as the central repository for defining and storing hierarchical category structures. As indicated in the ETRM documentation, these categories are utilized across multiple functional areas within Marketing, specifically for classifying and organizing Events, Metrics, and Deliverables. The table's design supports a parent-child hierarchy, enabling the creation of multi-level category trees (e.g., Type -> Sub-Type). Its role is fundamental to maintaining standardized classification, which drives reporting, filtering, and business logic in associated AMS components.
Key Information Stored
The primary column in AMS_CATEGORIES_B is CATEGORY_ID, which serves as the unique identifier (Primary Key: AMS_CATEGORIES_B_PK) for each category record. A critical structural column is PARENT_CATEGORY_ID, which creates the self-referential hierarchy by pointing to the CATEGORY_ID of a parent record; a NULL value in this column typically indicates a top-level category. While the ETRM excerpt does not list all columns, standard category tables in EBS commonly include columns for controlling the category's status (e.g., ENABLED_FLAG), start and end dates, and a user-defined code (CATEGORY_CODE). The descriptive, translatable name for the category is stored in the related TL (Translation) table, AMS_CATEGORIES_TL, which is linked via the CATEGORY_ID foreign key.
Common Use Cases and Queries
A primary use case is querying the category hierarchy for setup or reporting purposes. For instance, to list all active sub-categories under a specific parent, one might use a hierarchical SQL query. Another common scenario involves joining this table to transactional data to report on metrics or deliverables by their category.
- Sample Query: Hierarchical Category List
SELECT CATEGORY_ID, PARENT_CATEGORY_ID, CATEGORY_CODE FROM AMS.AMS_CATEGORIES_B WHERE ENABLED_FLAG = 'Y' START WITH PARENT_CATEGORY_ID IS NULL CONNECT BY PRIOR CATEGORY_ID = PARENT_CATEGORY_ID; - Sample Query: Joining to Transaction Data (Metrics)
SELECT M.METRIC_CODE, C.CATEGORY_CODE AS METRIC_CATEGORY FROM AMS.AMS_METRICS_ALL_B M, AMS.AMS_CATEGORIES_B C WHERE M.METRIC_CATEGORY = C.CATEGORY_ID;
Related Objects
As detailed in the foreign key metadata, AMS_CATEGORIES_B is extensively referenced by key transactional and setup tables across the Marketing module. Major related objects include:
- AMS_CATEGORIES_TL: Stores the translated names and descriptions for categories.
- AMS_METRICS_ALL_B: References the table twice, for METRIC_CATEGORY and METRIC_SUB_CATEGORY.
- AMS_DELIVERABLES_ALL_B: References the table for both CATEGORY_TYPE_ID and CATEGORY_SUB_TYPE_ID.
- AMS_ACT_CATEGORIES, AMS_ACT_PRODUCTS, AMS_CAT_ACTIVITIES: Associate categories with campaign activities and products.
- AMS_METRIC_FORMULAS: Uses categories as a SOURCE_ID for formula definitions.
- Self-Reference: The table has a foreign key to itself via PARENT_CATEGORY_ID to maintain the hierarchy.
-
Table: AMS_CATEGORIES_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_B, object_name:AMS_CATEGORIES_B, status:VALID, product: AMS - Marketing , description: This table stores the definition for categories and is used by Events, Metrics and the Deliverables area. , implementation_dba_data: AMS.AMS_CATEGORIES_B ,
-
Table: AMS_CATEGORIES_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_B, object_name:AMS_CATEGORIES_B, status:VALID, product: AMS - Marketing , description: This table stores the definition for categories and is used by Events, Metrics and the Deliverables area. , implementation_dba_data: AMS.AMS_CATEGORIES_B ,
-
APPS.AMS_APPROVAL_DETAILS_PVT dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.BIM_BUDGETS_DENORM_PKG dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.AMS_REFRESHMETRIC_PVT dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.AMS_APPROVAL_DETAILS_PVT dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.OZF_ACCT_GENERATOR dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.AMS_CATEGORY_PVT dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.AMS_REFRESHMETRIC_PVT dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.AMS_CATEGORIES_PKG dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.OZF_ACCT_GENERATOR dependencies on AMS_CATEGORIES_B
12.1.1
-
APPS.AMS_CATEGORIES_PKG dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.AMS_CATEGORY_PVT dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.OZF_FUNDS_PUB dependencies on AMS_CATEGORIES_B
12.2.2
-
APPS.AMS_CATEGORIES_PKG dependencies on AMS_CATEGORIES_B_S
12.2.2
-
APPS.AMS_CATEGORY_PVT SQL Statements
12.1.1
-
APPS.AMS_CATEGORIES_PKG dependencies on AMS_CATEGORIES_B_S
12.1.1
-
APPS.AMS_CATEGORY_PVT SQL Statements
12.2.2
-
APPS.AMS_CATEGORIES_PKG SQL Statements
12.1.1
-
APPS.AMS_CATEGORIES_PKG SQL Statements
12.2.2
-
APPS.AMS_CATEGORY_PVT dependencies on DUAL
12.2.2
-
VIEW: AMS.AMS_CATEGORIES_B#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_CATEGORIES_B#, status:VALID,
-
SYNONYM: APPS.AMS_CATEGORIES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_B, status:VALID,
-
TRIGGER: APPS.AMS_CATEGORIES_B+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AMS_CATEGORIES_B+, status:VALID,
-
SYNONYM: APPS.AMS_CATEGORIES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_CATEGORIES_B, status:VALID,
-
APPS.AMS_CATEGORY_PVT dependencies on FND_GLOBAL
12.1.1
-
APPS.AMS_CATEGORY_PVT dependencies on FND_GLOBAL
12.2.2
-
APPS.AMS_CATEGORY_PVT dependencies on DUAL
12.1.1
-
TRIGGER: APPS.AMS_CATEGORIES_B+
12.2.2
-
Table: AMS_METRICS_ALL_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_B, object_name:AMS_METRICS_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores all the flexible metric definitions. , implementation_dba_data: AMS.AMS_METRICS_ALL_B ,
-
Table: AMS_METRICS_ALL_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRICS_ALL_B, object_name:AMS_METRICS_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores all the flexible metric definitions. , implementation_dba_data: AMS.AMS_METRICS_ALL_B ,
-
VIEW: APPS.AMS_CATEGORIES_VL
12.1.1
-
VIEW: APPS.AMS_CATEGORIES_VL
12.2.2
-
Table: AMS_DELIVERABLES_ALL_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DELIVERABLES_ALL_B, object_name:AMS_DELIVERABLES_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores the details about marketing deliverables/collaterals, collaterals are uniquely identified by deliverable name, language and version. , implementation_dba_data: AMS.AMS_DELIVERABLES_ALL_B ,
-
TABLE: AMS.AMS_CATEGORIES_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_B, object_name:AMS_CATEGORIES_B, status:VALID,
-
Table: AMS_DELIVERABLES_ALL_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_DELIVERABLES_ALL_B, object_name:AMS_DELIVERABLES_ALL_B, status:VALID, product: AMS - Marketing , description: This table stores the details about marketing deliverables/collaterals, collaterals are uniquely identified by deliverable name, language and version. , implementation_dba_data: AMS.AMS_DELIVERABLES_ALL_B ,
-
VIEW: AMS.AMS_CATEGORIES_B#
12.2.2
-
FUNCTION: APPS.AMS_CATEGORIES_B=
12.2.2
-
TABLE: AMS.AMS_CATEGORIES_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_B, object_name:AMS_CATEGORIES_B, status:VALID,
-
Table: AMS_ACT_CATEGORIES
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_ACT_CATEGORIES, object_name:AMS_ACT_CATEGORIES, status:VALID, product: AMS - Marketing , description: Generic category table used to hold categories an acticity can belong to, for reporting and search capability. , implementation_dba_data: AMS.AMS_ACT_CATEGORIES ,
-
Table: AMS_ACT_PRODUCTS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_ACT_PRODUCTS, object_name:AMS_ACT_PRODUCTS, status:VALID, product: AMS - Marketing , description: Stores information about the products that are promoted as part of a promotion event. , implementation_dba_data: AMS.AMS_ACT_PRODUCTS ,
-
PACKAGE BODY: APPS.AMS_CATEGORIES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CATEGORIES_PKG, status:VALID,
-
Table: AMS_METRIC_FORMULAS
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRIC_FORMULAS, object_name:AMS_METRIC_FORMULAS, status:VALID, product: AMS - Marketing , description: Metric Formula Definitions , implementation_dba_data: AMS.AMS_METRIC_FORMULAS ,
-
Table: AMS_METRIC_FORMULAS
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_METRIC_FORMULAS, object_name:AMS_METRIC_FORMULAS, status:VALID, product: AMS - Marketing , description: Metric Formula Definitions , implementation_dba_data: AMS.AMS_METRIC_FORMULAS ,
-
Table: AMS_CATEGORIES_TL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_TL, object_name:AMS_CATEGORIES_TL, status:VALID, product: AMS - Marketing , description: This table stores all translated columns for category definition. , implementation_dba_data: AMS.AMS_CATEGORIES_TL ,
-
Table: AMS_CATEGORIES_TL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CATEGORIES_TL, object_name:AMS_CATEGORIES_TL, status:VALID, product: AMS - Marketing , description: This table stores all translated columns for category definition. , implementation_dba_data: AMS.AMS_CATEGORIES_TL ,
-
FUNCTION: APPS.AMS_CATEGORIES_B=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:AMS_CATEGORIES_B=, status:VALID,
-
Table: AMS_CAT_ACTIVITIES
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_CAT_ACTIVITIES, object_name:AMS_CAT_ACTIVITIES, status:VALID, product: AMS - Marketing , description: This table stores the activities associated with a category if the category is being created for budgets. , implementation_dba_data: AMS.AMS_CAT_ACTIVITIES ,
-
PACKAGE BODY: APPS.BIM_BUDGETS_DENORM_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:BIM_BUDGETS_DENORM_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMS_CATEGORY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_CATEGORY_PVT, status:VALID,