Search Results ams_object_rules_b
Overview
AMS_OBJECT_RULES_B is the base (B) table of the Oracle Marketing (AMS) module in Oracle E-Business Suite 12.1.1 and 12.2.2. As its description states, it "stores all the object rules" — the metadata-driven definitions that the Marketing application uses to control how marketing objects (campaigns, events, offers, and similar entities) behave at runtime. Each row describes a rule that binds a business action to a specific implementation artifact: an API, a PL/SQL package and procedure, a Java class, or a method. In this sense the table acts as a registry of executable behaviour rather than a store of transactional marketing data.
From a Data Vault modeling perspective, the mined relationship structure classifies this object as hub-leaning. The primary key OBJECT_RULE_ID is a single, stable surrogate identifier, which is characteristic of a hub; the foreign key to FND_SECURITY_GROUPS is best modelled as a link to an external reference hub. The presence of descriptive attributes such as APPROVAL_TYPE, RULE_TYPE, and API_TYPE indicates that satellite tables would accompany the hub in a full Data Vault design.
Key Information Stored
The table is documented with 37 columns but only a subset carries functional meaning. The most significant are:
- OBJECT_RULE_ID — the surrogate primary key, enforced by AMS_OBJECT_RULES_B_PK.
- RULE_USED_BY and RULE_USED_BY_TYPE — identify the consuming object and its type.
- RULE_TYPE and API_TYPE — classify the rule and the invocation mechanism used to execute it.
- APPROVAL_TYPE — controls approval processing behaviour for the rule.
- PACKAGE_NAME, PROCEDURE_NAME, CLASS_NAME, METHOD_NAME — the concrete PL/SQL or Java entry points invoked at runtime.
- QUERY — a stored query fragment used by the rule.
- RELATED_OBJECT — links the rule to an associated marketing object.
- SEEDED_FLAG — distinguishes Oracle-seeded rules from customer-defined ones.
- PARAM1 through PARAM15 — a generic parameter block supplying rule-specific arguments.
- APPLICATION_ID and SECURITY_GROUP_ID — application ownership and Multi-Org security context.
The business-key candidate documented is the unique index AMS_OBJECT_RULES_B_U1 over (OBJECT_RULE_ID, ZD_EDITION_NAME), which supports edition-based redefinition in 12.2.x. Standard audit columns (LAST_UPDATE_DATE, CREATED_BY, OBJECT_VERSION_NUMBER, and so on) are present for concurrent-program and row-versioning support.
Common Use Cases and Queries
Typical reporting and diagnostic tasks include enumerating seeded rules, finding which implementation artifact handles a given action, and verifying that rules are correctly registered before enabling a campaign workflow. A useful pattern joins the translatable table for the descriptive name:
- Listing all seeded approval rules:
SELECT OBJECT_RULE_ID, RULE_TYPE, PACKAGE_NAME, PROCEDURE_NAME FROM AMS_OBJECT_RULES_B WHERE SEEDED_FLAG = 'Y' AND RULE_TYPE = 'APPROVAL'; - Finding customizations:
SELECT b.OBJECT_RULE_ID, t.OBJECT_RULE_NAME FROM AMS_OBJECT_RULES_B b, AMS_OBJECT_RULES_TL t WHERE b.OBJECT_RULE_ID = t.OBJECT_RULE_ID AND t.LANGUAGE = USERENV('LANG') AND b.SEEDED_FLAG = 'N'; - Auditing handler bindings for a class:
SELECT CLASS_NAME, METHOD_NAME FROM AMS_OBJECT_RULES_B WHERE API_TYPE = 'JAVA';
These queries support migration validation, regression testing after patching, and documentation of marketing automation logic.
Related Objects
The following objects are most significant in relation to AMS_OBJECT_RULES_B:
- AMS_OBJECT_RULES_TL — the translatable child table, joined on OBJECT_RULE_ID, supplying language-specific rule names and descriptions.
- FND_SECURITY_GROUPS — referenced via SECURITY_GROUP_ID for Multi-Org access control.
- FND_APPLICATION — resolved through APPLICATION_ID to identify the owning application.
- AMS_OBJECT_RULES_B_PK — the primary key constraint on OBJECT_RULE_ID.
- AMS_OBJECT_RULES_B_U1 — the unique index supporting edition-based lookups.
Together these objects form the metadata backbone through which Oracle Marketing resolves and executes object rules.
-
Table: AMS_OBJECT_RULES_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_B, object_name:AMS_OBJECT_RULES_B, status:VALID, product: AMS - Marketing , description: Stores all the object rules , implementation_dba_data: AMS.AMS_OBJECT_RULES_B ,
-
Table: AMS_OBJECT_RULES_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_B, object_name:AMS_OBJECT_RULES_B, status:VALID, product: AMS - Marketing , description: Stores all the object rules , implementation_dba_data: AMS.AMS_OBJECT_RULES_B ,
-
SYNONYM: APPS.AMS_OBJECT_RULES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AMS_OBJECT_RULES_B, status:VALID,
-
VIEW: AMS.AMS_OBJECT_RULES_B#
12.2.2
owner:AMS, object_type:VIEW, object_name:AMS_OBJECT_RULES_B#, status:VALID,
-
SYNONYM: APPS.AMS_OBJECT_RULES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMS_OBJECT_RULES_B, status:VALID,
-
TRIGGER: APPS.AMS_OBJECT_RULES_B+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AMS_OBJECT_RULES_B+, status:VALID,
-
VIEW: APPS.AMS_OBJECT_RULES_VL
12.1.1
-
TRIGGER: APPS.AMS_OBJECT_RULES_B+
12.2.2
-
APPS.AMS_OBJECT_RULES_PKG SQL Statements
12.2.2
-
APPS.AMS_OBJECT_RULES_PKG SQL Statements
12.1.1
-
VIEW: APPS.AMS_OBJECT_RULES_VL
12.2.2
-
VIEW: AMS.AMS_OBJECT_RULES_B#
12.2.2
-
Table: AMS_OBJECT_RULES_TL
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_TL, object_name:AMS_OBJECT_RULES_TL, status:VALID, product: AMS - Marketing , description: stores all the translatable columns for the object rules , implementation_dba_data: AMS.AMS_OBJECT_RULES_TL ,
-
FUNCTION: APPS.AMS_OBJECT_RULES_B=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:AMS_OBJECT_RULES_B=, status:VALID,
-
FUNCTION: APPS.AMS_OBJECT_RULES_B=
12.2.2
-
Table: AMS_OBJECT_RULES_TL
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_TL, object_name:AMS_OBJECT_RULES_TL, status:VALID, product: AMS - Marketing , description: stores all the translatable columns for the object rules , implementation_dba_data: AMS.AMS_OBJECT_RULES_TL ,
-
PACKAGE BODY: APPS.AMS_OBJECT_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_OBJECT_RULES_PKG, status:VALID,
-
TABLE: AMS.AMS_OBJECT_RULES_B
12.1.1
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_B, object_name:AMS_OBJECT_RULES_B, status:VALID,
-
PACKAGE BODY: APPS.AMS_OBJECT_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_OBJECT_RULES_PKG, status:VALID,
-
View: AMS_OBJECT_RULES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_OBJECT_RULES_VL, object_name:AMS_OBJECT_RULES_VL, status:VALID, product: AMS - Marketing , description: This view returns object rules details. , implementation_dba_data: APPS.AMS_OBJECT_RULES_VL ,
-
TABLE: AMS.AMS_OBJECT_RULES_B
12.2.2
owner:AMS, object_type:TABLE, fnd_design_data:AMS.AMS_OBJECT_RULES_B, object_name:AMS_OBJECT_RULES_B, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
View: AMS_OBJECT_RULES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_OBJECT_RULES_VL, object_name:AMS_OBJECT_RULES_VL, status:VALID, product: AMS - Marketing , description: This view returns object rules details. , implementation_dba_data: APPS.AMS_OBJECT_RULES_VL ,
-
PACKAGE BODY: APPS.AMS_GEN_APPROVAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_GEN_APPROVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_GEN_APPROVAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_GEN_APPROVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_OBJECT_RULES_PKG
12.1.1
-
PACKAGE BODY: APPS.AMS_OBJECT_RULES_PKG
12.2.2
-
PACKAGE BODY: APPS.AMS_APPROVAL_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_APPROVAL_PVT, status:VALID,
-
PACKAGE BODY: APPS.AMS_APPROVAL_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AMS_APPROVAL_PVT, status:VALID,
-
APPS.AMS_GEN_APPROVAL_PVT SQL Statements
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
APPS.AMS_GEN_APPROVAL_PVT SQL Statements
12.2.2
-
VIEW: APPS.AMS_OBJECT_RULES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_OBJECT_RULES_VL, object_name:AMS_OBJECT_RULES_VL, status:VALID,
-
VIEW: APPS.AMS_OBJECT_RULES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMS.AMS_OBJECT_RULES_VL, object_name:AMS_OBJECT_RULES_VL, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
12.2.2 FND Design Data
12.2.2
-
12.1.1 FND Design Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.AMS_APPROVAL_PVT SQL Statements
12.1.1
-
APPS.AMS_APPROVAL_PVT SQL Statements
12.2.2
-
APPS.AMS_GEN_APPROVAL_PVT dependencies on AMS_OBJECT_RULES_B
12.2.2
-
APPS.AMS_GEN_APPROVAL_PVT dependencies on AMS_OBJECT_RULES_B
12.1.1
-
APPS.AMS_APPROVAL_PVT dependencies on AMS_OBJECT_RULES_B
12.1.1
-
APPS.AMS_APPROVAL_PVT dependencies on AMS_OBJECT_RULES_B
12.2.2