Search Results ame_rules
Overview
AME_RULES is a core configuration table in the Oracle E-Business Suite Approval Management Engine (AME), owned by the HR schema and classified under the PER (Human Resources) product family. AME is the rules-based engine that drives approver list generation, routing, and approval hierarchy determination for a wide range of EBS business flows, including Purchasing, Payables, iProcurement, Human Resources, and General Ledger journal approvals. The AME_RULES table stores the actual rule definitions that the AME engine evaluates at runtime to determine which approvers should be attached to a given transaction or document.
From a dimensional and historical-tracking perspective, the table exhibits the characteristics of a standalone entity rather than a strictly dependent satellite. The mined relationship data classifies AME_RULES as standalone within the Data Vault heuristic model, though the presence of effective-dating columns (START_DATE, END_DATE, ZD_EDITION_NAME) and audit columns suggests that in a Data Vault re-modeling exercise it could reasonably be treated as a versioned satellite anchored to a rule hub keyed on RULE_ID. This is a modeling suggestion only; the physical implementation is a conventional EBS transactional table.
Key Information Stored
AME_RULES contains 16 documented columns that together describe rule identity, type, effective dating, and relationships to other AME and FND entities.
- RULE_ID — the surrogate primary key for each rule definition, generated by the AME sequence.
- START_DATE, END_DATE — effective dating range controlling when the rule is active and evaluated by the AME engine.
- ZD_EDITION_NAME — the edition identifier used by EBS online patching (ADOP / editioning views) in 12.2.x; combined with RULE_ID and the date range, it forms the AME_RULES_PK unique index and constitutes the business-key candidate.
- RULE_TYPE — categorizes the rule (for example, approval group rules, routing rules, or transaction-type rules), driving how the AME engine interprets the row.
- ACTION_ID — foreign reference to the AME_ACTIONS definition that the rule invokes when its conditions are satisfied.
- RULE_KEY — a unique textual or numeric key used to reference the rule in AME configuration and by the AME API.
- ITEM_CLASS_ID — identifies the AME item class (transaction type) to which the rule applies, such as a purchasing document or expense report.
- DESCRIPTION — free-text description of the rule's purpose.
- SECURITY_GROUP_ID — foreign key to FND_SECURITY_GROUPS, scoping the rule to a security group.
- OBJECT_VERSION_NUMBER — optimistic locking column used by OAF-based AME configuration screens.
- CREATED_BY, CREATION_DATE, LAST_UPDATED_BY, LAST_UPDATE_DATE, LAST_UPDATE_LOGIN — standard EBS WHO audit columns.
Common Use Cases and Queries
Functional consultants and support analysts query AME_RULES most often when diagnosing why a transaction is not routing to the expected approver. Typical reporting includes listing all active rules for a given item class and date, or correlating rules with the actions they trigger.
SELECT r.rule_id, r.rule_type, r.rule_key, r.description,
r.start_date, r.end_date, a.action_type
FROM ame_rules r, ame_actions a
WHERE r.action_id = a.action_id
AND r.item_class_id = :item_class_id
AND TRUNC(SYSDATE) BETWEEN r.start_date AND NVL(r.end_date, SYSDATE);
An audit query can identify rules modified after a given date using LAST_UPDATE_DATE, while a security-scoped listing joins to FND_SECURITY_GROUPS via SECURITY_GROUP_ID. Version validation often uses ZD_EDITION_NAME together with RULE_ID to ensure the correct editioned row is returned under 12.2 online patching. Reporting extracts frequently feed a configuration baseline comparison across environments.
Related Objects
- AME_ACTIONS — joined on ACTION_ID; defines the action each rule executes.
- AME_RULE_INPUTS and AME_RULE_CONDITIONS — child tables that hold the input parameters and boolean conditions attached to a rule.
- AME_ITEM_CLASSES — joined on ITEM_CLASS_ID; defines the transaction class the rule applies to.
- FND_SECURITY_GROUPS — joined on SECURITY_GROUP_ID; the only documented foreign key target.
- AME_APPROVAL_GROUPS and AME_APPROVER_GROUPS — reference rules during approver list generation.
- AME_API package APIs (e.g., AME_API1, AME_API2) — the programmatic interface used to maintain rule definitions.
-
Table: AME_RULES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.AME_RULES, object_name:AME_RULES, status:VALID, product: PER - Human Resources , description: To be Updated , implementation_dba_data: HR.AME_RULES ,
-
Table: AME_RULES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.AME_RULES, object_name:AME_RULES, status:VALID, product: PER - Human Resources , description: To be Updated , implementation_dba_data: HR.AME_RULES ,
-
APPS.AME_RULES_API2 SQL Statements
12.1.1
-
APPS.AME_RULES_API2 SQL Statements
12.2.2
-
VIEW: HR.AME_RULES#
12.2.2
owner:HR, object_type:VIEW, object_name:AME_RULES#, status:VALID,
-
APPS.AME_RUL_SHD SQL Statements
12.1.1
-
APPS.AME_RUL_SHD SQL Statements
12.2.2
-
TRIGGER: APPS.AME_RULES+
12.2.2
owner:APPS, object_type:TRIGGER, object_name:AME_RULES+, status:VALID,
-
APPS.AME_RULE_UTILITY_PKG SQL Statements
12.2.2
-
VIEW: APPS.AME_RULES_VL
12.2.2
-
APPS.AME_RULE_UTILITY_PKG SQL Statements
12.1.1
-
APPS.AME_RUL_INS SQL Statements
12.2.2
-
APPS.AME_RUL_INS SQL Statements
12.1.1
-
TRIGGER: APPS.AME_RULES+
12.2.2
-
VIEW: APPS.AME_RULES_VL
12.1.1
-
VIEW: HR.AME_RULES#
12.2.2
-
VIEW: APPS.ASO_APPROVAL_RULES_ALL_V
12.2.2
-
VIEW: APPS.ASO_APPROVAL_RULES_ALL_V
12.1.1
-
APPS.AME_RULE_PKG SQL Statements
12.1.1
-
APPS.AME_RULE_PKG SQL Statements
12.2.2
-
VIEW: APPS.AME_CONDITION_USAGES_V
12.2.2
-
VIEW: APPS.AME_CONDITION_USAGES_V
12.1.1
-
APPS.AME_RULES_API SQL Statements
12.2.2
-
APPS.AME_RULES_API SQL Statements
12.1.1
-
APPS.EDR_RULE_TEMP SQL Statements
12.1.1
-
APPS.EDR_RULE_TEMP SQL Statements
12.2.2
-
SYNONYM: APPS.AME_RULES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AME_RULES, status:VALID,
-
VIEW: APPS.AME_RULES_VL
12.1.1
owner:APPS, object_type:VIEW, object_name:AME_RULES_VL, status:VALID,
-
SYNONYM: APPS.AME_RULES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_RULES, status:VALID,
-
VIEW: APPS.AME_RULES_VL
12.2.2
owner:APPS, object_type:VIEW, object_name:AME_RULES_VL, status:VALID,
-
TABLE: HR.AME_RULES
12.1.1
owner:HR, object_type:TABLE, fnd_design_data:PER.AME_RULES, object_name:AME_RULES, status:VALID,
-
TABLE: HR.AME_RULES
12.2.2
owner:HR, object_type:TABLE, fnd_design_data:PER.AME_RULES, object_name:AME_RULES, status:VALID,
-
FUNCTION: APPS.AME_RULES=
12.2.2
-
APPS.AME_ACTION_USAGES_API2 SQL Statements
12.1.1
-
APPS.AME_ACTION_USAGES_API2 SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AME_RULES_API2
12.1.1
-
PACKAGE BODY: APPS.AME_RULES_API2
12.2.2
-
12.2.2 DBA Data
12.2.2
-
FUNCTION: APPS.AME_RULES=
12.2.2
owner:APPS, object_type:FUNCTION, object_name:AME_RULES=, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
View: ASO_APPROVAL_RULES_ALL_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:ASO.ASO_APPROVAL_RULES_ALL_V, object_name:ASO_APPROVAL_RULES_ALL_V, status:VALID, product: ASO - Order Capture , implementation_dba_data: APPS.ASO_APPROVAL_RULES_ALL_V ,
-
PACKAGE BODY: APPS.AME_CONDITION_USAGES_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_CONDITION_USAGES_API, status:VALID,
-
View: ASO_APPROVAL_RULES_ALL_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:ASO.ASO_APPROVAL_RULES_ALL_V, object_name:ASO_APPROVAL_RULES_ALL_V, status:VALID, product: ASO - Order Capture , implementation_dba_data: APPS.ASO_APPROVAL_RULES_ALL_V ,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AME_CONDITION_USAGES_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AME_CONDITION_USAGES_API, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
APPS.AME_CONDITION_USAGES_API2 SQL Statements
12.2.2
-
PACKAGE BODY: APPS.AME_CONDITION_USAGES_API2
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_CONDITION_USAGES_API2, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
PACKAGE BODY: APPS.AME_RTL_SHD
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_RTL_SHD, status:VALID,