Search Results ahl_mc_rule_statements
Overview
AHL_MC_RULE_STATEMENTS is a table in the AHL schema (Complex Maintenance Repair and Overhaul) within Oracle E-Business Suite. It stores the individual rule statements that make up maintenance rules defined in the AHL module. Each row represents a discrete statement composed of a subject, an operator, and an object, forming the logical building blocks from which complete maintenance and repair rules are assembled. The table is central to the rule engine that governs how the AHL product evaluates conditions during complex maintenance, repair, and overhaul activities.
From a Data Vault modeling perspective, the metadata's heuristic classification indicates this object is satellite-leaning. This suggests it behaves primarily as a descriptive, attribute-bearing entity that records changing details around a parent business key, rather than acting as a standalone hub or a pure association link. The heavy presence of auditable and descriptive columns, together with self-referencing foreign keys on SUBJECT_ID and OBJECT_ID, supports this interpretation. The self-referencing relationships further suggest hierarchical or nested rule construction, where statements can reference one another.
Key Information Stored
The table contains 37 documented columns. The surrogate primary key is RULE_STATEMENT_ID, enforced by the primary key constraint AHL_MC_RULE_STATEMENTS_PK and also backed by the unique index AHL_MC_RULE_STATEMENTS_U1. RULE_STATEMENT_ID is the single documented business-key candidate.
The most important stored information includes the following:
- RULE_STATEMENT_ID — the surrogate primary key uniquely identifying each rule statement.
- RULE_ID — foreign key associating the statement with its parent rule in AHL_MC_RULE_STATEMENTS.
- SUBJECT_ID and SUBJECT_TYPE — identify the subject side of the statement and its type, with SUBJECT_ID self-referencing this same table.
- OBJECT_ID and OBJECT_TYPE — identify the object side of the statement and its type, with OBJECT_ID also self-referencing this table.
- OPERATOR — the logical operator relating subject to object.
- TOP_RULE_STMT_FLAG — indicates whether the statement is a top-level rule statement.
- NEGATION_FLAG — indicates whether the statement is negated.
- OBJECT_ATTRIBUTE1 through OBJECT_ATTRIBUTE5 — descriptive qualifiers for the object.
- SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, controlling multi-organization security access.
- OBJECT_VERSION_NUMBER — supports optimistic locking during concurrent updates.
- Standard audit columns: CREATION_DATE, CREATED_BY, LAST_UPDATE_DATE, LAST_UPDATED_BY, and LAST_UPDATE_LOGIN.
- Flexfield columns ATTRIBUTE_CATEGORY and ATTRIBUTE1 through ATTRIBUTE15 for extensible descriptive data.
Common Use Cases and Queries
Typical usage centers on retrieving and validating the composition of maintenance rules. A common query joins statements back to their rule and resolves security group access:
- Retrieve all statements for a given rule: SELECT RULE_STATEMENT_ID, SUBJECT_ID, OPERATOR, OBJECT_ID FROM AHL_MC_RULE_STATEMENTS WHERE RULE_ID = :p_rule_id;
- Identify top-level statements: ... WHERE TOP_RULE_STMT_FLAG = 'Y';
- Find negated clauses: ... WHERE NEGATION_FLAG = 'Y';
- Join to FND_SECURITY_GROUPS on SECURITY_GROUP_ID to restrict results to authorized security groups.
- Self-joins on SUBJECT_ID and OBJECT_ID to traverse nested statement hierarchies.
Reporting use cases include auditing rule definitions, tracing which statements reference which subjects and objects, and validating rule completeness before deployment. Because the table carries OBJECT_VERSION_NUMBER, integration or data-load routines should honor optimistic locking semantics.
Related Objects
The most significant related objects are identified through the documented foreign key relationships:
- AHL_MC_RULE_STATEMENTS (self-referencing) — via SUBJECT_ID and OBJECT_ID; these self-joins model nested or dependent statements.
- AHL_MC_RULE_STATEMENTS.RULE_ID — references the parent rule, linking statements to their enclosing rule definition.
- FND_SECURITY_GROUPS — referenced by SECURITY_GROUP_ID, enforcing multi-organization security access.
- The RULE_ID, SUBJECT_ID, and OBJECT_ID relationships collectively anchor this satellite table to the broader AHL rule configuration model.
Because the metadata lists several unresolved foreign key targets (marked as unknown tables), administrators should confirm the exact parent objects via AHL's rule configuration and dictionary views when building joins. In practice, this table is queried alongside the AHL rule and rule-statement view layer to reconstruct complete, human-readable rule definitions for maintenance planning and execution.
-
Table: AHL_MC_RULE_STATEMENTS
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_RULE_STATEMENTS, object_name:AHL_MC_RULE_STATEMENTS, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Stores Rule Statements , implementation_dba_data: AHL.AHL_MC_RULE_STATEMENTS ,
-
Table: AHL_MC_RULE_STATEMENTS
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_RULE_STATEMENTS, object_name:AHL_MC_RULE_STATEMENTS, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Stores Rule Statements , implementation_dba_data: AHL.AHL_MC_RULE_STATEMENTS ,
-
APPS.AHL_MC_RULE_STMT_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.AHL_MC_RULE_STATEMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RULE_STATEMENTS, status:VALID,
-
SYNONYM: APPS.AHL_MC_RULE_STATEMENTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_MC_RULE_STATEMENTS, status:VALID,
-
VIEW: AHL.AHL_MC_RULE_STATEMENTS#
12.2.2
owner:AHL, object_type:VIEW, object_name:AHL_MC_RULE_STATEMENTS#, status:VALID,
-
APPS.AHL_MC_RULE_STMT_PVT SQL Statements
12.1.1
-
APPS.AHL_MC_RULE_PVT SQL Statements
12.2.2
-
Table: AHL_MC_PATH_POSITIONS
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_PATH_POSITIONS, object_name:AHL_MC_PATH_POSITIONS, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Stores multi-level MC Positions , implementation_dba_data: AHL.AHL_MC_PATH_POSITIONS ,
-
APPS.AHL_MC_RULE_PVT SQL Statements
12.1.1
-
VIEW: AHL.AHL_MC_RULE_STATEMENTS#
12.2.2
-
Table: AHL_MC_RULES_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_RULES_B, object_name:AHL_MC_RULES_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: Stores MC Rules , implementation_dba_data: AHL.AHL_MC_RULES_B ,
-
PACKAGE BODY: APPS.AHL_MC_RULE_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_ENGINE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UC_POS_NECES_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UC_POS_NECES_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_ENGINE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_ENGINE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_UC_POS_NECES_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_UC_POS_NECES_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_LTP_MTL_REQ_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_LTP_MTL_REQ_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_PUB, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_PATH_POSITION_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_PATH_POSITION_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_STMT_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_STMT_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_PATH_POSITION_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_PATH_POSITION_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_MC_RULE_STMT_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_MC_RULE_STMT_PVT, status:VALID,
-
TABLE: AHL.AHL_MC_RULE_STATEMENTS
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_RULE_STATEMENTS, object_name:AHL_MC_RULE_STATEMENTS, status:VALID,
-
APPS.AHL_MC_RULE_ENGINE_PVT SQL Statements
12.2.2
-
APPS.AHL_MC_RULE_ENGINE_PVT SQL Statements
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
PACKAGE BODY: APPS.AHL_PRD_BLK_PARTS_CHANGE_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PRD_BLK_PARTS_CHANGE_PVT, status:VALID,
-
TABLE: AHL.AHL_MC_RULE_STATEMENTS
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_MC_RULE_STATEMENTS, object_name:AHL_MC_RULE_STATEMENTS, status:VALID,
-
PACKAGE BODY: APPS.AHL_RM_ROUTE_UTIL
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_RM_ROUTE_UTIL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
12.2.2 FND Design Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.1.1 DBA Data
12.1.1
-
Foreign Keys
12.1.1
-
12.2.2 DBA Data
12.2.2
-
APPS.AHL_MC_RULE_PUB SQL Statements
12.1.1
-
APPS.AHL_MC_RULE_PUB SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AHL_MC_RULE_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_MC_RULE_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_MC_RULE_STMT_PVT
12.2.2
-
PACKAGE BODY: APPS.AHL_MC_RULE_STMT_PVT
12.1.1
-
APPS.AHL_PRD_BLK_PARTS_CHANGE_PVT SQL Statements
12.2.2
-
APPS.AHL_MC_RULE_PVT dependencies on AHL_MC_RULE_STATEMENTS
12.1.1