Search Results ahl_approval_rules_b
Overview
AHL_APPROVAL_RULES_B is the base (non-translated) approval rule definition table in the Oracle E-Business Suite Complex Maintenance, Repair and Overhaul (AHL) module. It stores the master records that define which approval rules govern approval processing for maintenance and overhaul transactions, including the object being approved, the approval type and priority, the effective date window, and the rule's active status. In EBS 12.1.1 and 12.2.2, the table resides in the AHL schema and is populated with both seeded rules supplied by Oracle (SEEDED_FLAG) and customer-defined rules.
The _B suffix indicates this is the base table of a translated entity; the corresponding AHL_APPROVAL_RULES_TL table holds the language-specific descriptive columns. The table is uniquely identified by the primary key constraint AHL_APPROVAL_RULES_B_PK on APPROVAL_RULE_ID. From a Data Vault modeling perspective (heuristic classification, mined from the foreign key structure), AHL_APPROVAL_RULES_B is hub-leaning: APPROVAL_RULE_ID serves as a durable business key that other tables (such as approvers and translations) reference, making it a natural candidate for a hub entity in a dimensional or Data Vault-style reporting layer.
Key Information Stored
The table exposes 34 documented columns. The most significant for functional and reporting work are:
APPROVAL_RULE_ID— the surrogate primary key and the value users typically search on when tracing approval configuration; it is also the join key to all dependent tables.APPROVAL_OBJECT_CODE— identifies the business object governed by the rule (for example, maintenance work orders or requisitions routed for approval).APPROVAL_TYPE_CODE— the category of approval logic applied by the rule.APPROVAL_PRIORITY_CODE— determines evaluation precedence when multiple rules could apply.ACTIVE_START_DATEandACTIVE_END_DATE— the effective period during which the rule is in force.STATUS_CODE— lifecycle state controlling whether the rule is available for use.SEEDED_FLAG— distinguishes Oracle-supplied seed data from user-defined rules, an important consideration before modifying or deleting rows.OPERATING_UNIT_IDandAPPLICATION_USG_CODE— organizational and application-usage scoping of the rule.SECURITY_GROUP_ID— foreign key toFND_SECURITY_GROUPS, supporting multi-org/security partitioning.ZD_EDITION_NAME— editioning reference used in the 12.2 online patching (Edition-Based Redefinition) architecture.- Standard audit/WHO columns —
CREATION_DATE,CREATED_BY,LAST_UPDATE_DATE,LAST_UPDATED_BY,LAST_UPDATE_LOGIN, andOBJECT_VERSION_NUMBERfor optimistic locking. - Flexfield columns
ATTRIBUTE_CATEGORYandATTRIBUTE1–ATTRIBUTE15.
Two unique keys are documented: the primary key AHL_APPROVAL_RULES_B_PK on APPROVAL_RULE_ID, and the unique index AHL_APPROVAL_RULES_B_U1 on the composite (APPROVAL_RULE_ID, ZD_EDITION_NAME), which reflects the editioning design of 12.2. The business-key candidate for integration purposes remains APPROVAL_RULE_ID.
Common Use Cases and Queries
The most frequent access path is a direct lookup by APPROVAL_RULE_ID, typically when tracing why a given approval action was triggered. A typical pattern joins the base table to its translation table to retrieve the user-visible name and description:
- Retrieve a rule and its translated description:
SELECT b.approval_rule_id, b.approval_object_code, b.status_code, t.name, t.description
FROM ahl.ahl_approval_rules_b b
JOIN ahl.ahl_approval_rules_tl t ON t.approval_rule_id = b.approval_rule_id
WHERE b.approval_rule_id = :p_rule_id; - List active, non-seeded rules currently in effect for a given object code, filtering on
STATUS_CODE,SEEDED_FLAG, and theACTIVE_START_DATE/ACTIVE_END_DATEwindow. - Audit configuration changes over time using
LAST_UPDATE_DATEandLAST_UPDATED_BY, useful for security and compliance reporting. - Identify all approvers attached to a rule via
AHL_APPROVERS(joined onAPPROVAL_RULE_ID) to produce approval-hierarchy reports. - Validate multi-org/security partitioning by joining
SECURITY_GROUP_IDtoFND_SECURITY_GROUPS.
Because the composite unique index includes ZD_EDITION_NAME, queries on 12.2 should be aware that edition-specific rows may exist; reporting extracts should generally constrain or group by edition where appropriate.
Related Objects
AHL_APPROVAL_RULES_TL— the translation table; joined onAPPROVAL_RULE_IDto obtain display names and descriptions. This is the primary child table referencingAHL_APPROVAL_RULES_B.AHL_APPROVERS— stores the approvers associated with each rule; joined onAPPROVAL_RULE_ID. This is the second FK-dependent table and is essential for approval routing analysis.FND_SECURITY_GROUPS— referenced bySECURITY_GROUP_IDto resolve the security group to which the rule belongs.- The AHL approval engine (approval rule resolution logic) — consumes rows in this table at runtime to determine applicable approval rules for a given object, type, and priority.
- Approval transaction and history entities within AHL — reference the resolved rule to record which rule governed a given approval event.
- Concurrent programs and DBA/ETRM data-model reports — surface this table for configuration review and seeded-versus-custom comparisons.
Together, these objects form the approval configuration cluster in AHL, with AHL_APPROVAL_RULES_B acting as the central hub referenced by translations, approvers, and downstream approval processing logic.
-
Table: AHL_APPROVAL_RULES_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_B, object_name:AHL_APPROVAL_RULES_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about approval rules , implementation_dba_data: AHL.AHL_APPROVAL_RULES_B ,
-
Table: AHL_APPROVAL_RULES_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_B, object_name:AHL_APPROVAL_RULES_B, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about approval rules , implementation_dba_data: AHL.AHL_APPROVAL_RULES_B ,
-
APPS.AHL_APPROVALS_PVT SQL Statements
12.1.1
-
APPS.AHL_APPROVALS_PVT SQL Statements
12.2.2
-
SYNONYM: APPS.AHL_APPROVAL_RULES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AHL_APPROVAL_RULES_B, status:VALID,
-
VIEW: AHL.AHL_APPROVAL_RULES_B#
12.2.2
owner:AHL, object_type:VIEW, object_name:AHL_APPROVAL_RULES_B#, status:VALID,
-
SYNONYM: APPS.AHL_APPROVAL_RULES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AHL_APPROVAL_RULES_B, status:VALID,
-
TRIGGER: APPS.AHL_APPROVAL_RULES_B+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AHL_APPROVAL_RULES_B+, status:VALID,
-
TRIGGER: APPS.AHL_APPROVAL_RULES_B+
12.2.2
-
APPS.AHL_APPROVAL_RULES_PKG SQL Statements
12.1.1
-
APPS.AHL_APPROVAL_RULES_PKG SQL Statements
12.2.2
-
VIEW: AHL.AHL_APPROVAL_RULES_B#
12.2.2
-
VIEW: APPS.AHL_APPROVAL_RULES_VL
12.1.1
-
VIEW: APPS.AHL_APPROVAL_RULES_VL
12.2.2
-
FUNCTION: APPS.AHL_APPROVAL_RULES_B=
12.2.2
-
12.2.2 DBA Data
12.2.2
-
12.2.2 DBA Data
12.2.2
-
Table: AHL_APPROVERS
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVERS, object_name:AHL_APPROVERS, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about approvers , implementation_dba_data: AHL.AHL_APPROVERS ,
-
Table: AHL_APPROVERS
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVERS, object_name:AHL_APPROVERS, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about approvers , implementation_dba_data: AHL.AHL_APPROVERS ,
-
Table: AHL_APPROVAL_RULES_TL
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_TL, object_name:AHL_APPROVAL_RULES_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about translated columns for approval rules , implementation_dba_data: AHL.AHL_APPROVAL_RULES_TL ,
-
FUNCTION: APPS.AHL_APPROVAL_RULES_B=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:AHL_APPROVAL_RULES_B=, status:VALID,
-
Table: AHL_APPROVAL_RULES_TL
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_TL, object_name:AHL_APPROVAL_RULES_TL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This table stores information about translated columns for approval rules , implementation_dba_data: AHL.AHL_APPROVAL_RULES_TL ,
-
TABLE: AHL.AHL_APPROVAL_RULES_B
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_B, object_name:AHL_APPROVAL_RULES_B, status:VALID,
-
PACKAGE BODY: APPS.AHL_APPROVAL_RULES_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_APPROVAL_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AHL_APPROVAL_RULES_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_APPROVAL_RULES_PKG, status:VALID,
-
PACKAGE BODY: APPS.AHL_GENERIC_APRV_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_GENERIC_APRV_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_GENERIC_APRV_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_GENERIC_APRV_PVT, status:VALID,
-
TABLE: AHL.AHL_APPROVAL_RULES_B
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_B, object_name:AHL_APPROVAL_RULES_B, status:VALID,
-
PACKAGE BODY: APPS.AHL_APPROVALS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_APPROVALS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_APPROVALS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_APPROVALS_PVT, status:VALID,
-
PACKAGE BODY: APPS.AHL_PP_MATERIALS_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PP_MATERIALS_PVT, status:VALID,
-
View: AHL_APPROVAL_RULES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_APPROVAL_RULES_VL, object_name:AHL_APPROVAL_RULES_VL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query relates to approval rules information , implementation_dba_data: APPS.AHL_APPROVAL_RULES_VL ,
-
View: AHL_APPROVAL_RULES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:AHL.AHL_APPROVAL_RULES_VL, object_name:AHL_APPROVAL_RULES_VL, status:VALID, product: AHL - Complex Maintenance Repair and Overhaul , description: This view stores the query relates to approval rules information , implementation_dba_data: APPS.AHL_APPROVAL_RULES_VL ,
-
APPS.AHL_GENERIC_APRV_PVT SQL Statements
12.1.1
-
12.1.1 FND Design Data
12.1.1
-
APPS.AHL_GENERIC_APRV_PVT SQL Statements
12.2.2
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AHL_PP_MATERIALS_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AHL_PP_MATERIALS_PVT, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.AHL_APPROVAL_RULES_PKG
12.2.2
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AHL_APPROVAL_RULES_PKG
12.1.1
-
12.2.2 DBA Data
12.2.2
-
TABLE: AHL.AHL_APPROVAL_RULES_TL
12.1.1
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_TL, object_name:AHL_APPROVAL_RULES_TL, status:VALID,
-
TABLE: AHL.AHL_APPROVAL_RULES_TL
12.2.2
owner:AHL, object_type:TABLE, fnd_design_data:AHL.AHL_APPROVAL_RULES_TL, object_name:AHL_APPROVAL_RULES_TL, status:VALID,
-
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
-
PACKAGE BODY: APPS.AHL_APPROVALS_PVT
12.1.1
-
PACKAGE BODY: APPS.AHL_APPROVALS_PVT
12.2.2