Search Results ame_api3
Overview
AME_API3 (internally stored as AMEEAPI3.PKH, header revision 120.5, dated 2006) is a public PL/SQL package in the Oracle Approvals Management (AME) module of Oracle E-Business Suite. The package is classified under the AME product and carries the display name "Ancillary Parallel Approvers Process," which accurately describes its role: it provides secondary, supporting routines that complement the primary AME_API and AME_API2 packages rather than driving the core approval engine itself.
The package installs with AUTHID CURRENT_USER, meaning its SQL executes under the privileges of the calling schema. It is owned by APPS and is exposed to any licensed component of the E-Business Suite. Its central business purpose is to give callers read access to AME configuration metadata—rules, conditions, approval groups, item classes, and attributes—and to manage transient insertions and suppressions of approvers in an approval workflow. Because twenty other packages reference AME_API3, it functions as a shared utility layer consumed by both Oracle-delivered AME components and customer extensions.
Key Procedures and Functions
Twenty-eight documented routines are exposed. They group into the following functional areas.
- Rule-related: GETRULEDESCRIPTION returns the description text (up to 100 bytes) for a given rule primary key, returning NULL on failure. GETAPPLICABLERULES1, GETAPPLICABLERULES2, and GETAPPLICABLERULES3 return the set of rules applicable to a transaction, each variant accommodating progressively broader result sets. GETCONDITIONDETAILS returns the detail of conditions attached to a rule.
- Approver manipulation: CLEARINSERTION and CLEARINSERTIONS remove approvers previously inserted by ame_api.insertApprover or ame_api.setFirstAuthorityApprover. CLEARSUPPRESSION and CLEARSUPPRESSIONS remove approvers previously suppressed. GETAVAILABLEINSERTIONS lists approvers that may still be inserted. These routines support the "parallel approvers" use case where an external process modifies the AME-generated approver list before it is finalized.
- Approval groups: GETALLAPPROVALGROUPS, GETAPPROVALGROUPID, GETGROUPMEMBERS1 through GETGROUPMEMBERS4, and GETITEMCLASSES/GETITEMCLASSID/GETITEMCLASSNAME return approval group definitions, their internal identifiers, and their membership lists.
- Attributes: GETATTRIBUTEVALUE returns the value of an AME attribute for the current transaction context.
No parameter lists are published in the reference metadata; callers should consult the package specification (AMEEAPI3.PKH) or AME documentation for exact signatures.
Tables Accessed
AME_API3 reads and writes the core AME configuration and execution tables through APPS synonyms:
- AME_RULES, AME_CONDITIONS, and AME_CONDITION_USAGES back the rule and condition inquiry functions.
- AME_APPROVAL_GROUPS and AME_APPROVAL_GROUP_MEMBERS supply approval group and membership data.
- AME_ATTRIBUTES stores attribute definitions used by GETATTRIBUTEVALUE.
- AME_ACTIONS, AME_ACTION_TYPES, and AME_ACTION_USAGES define the actions (approve, reject, chain-of-authority) that rules invoke.
- AME_CALLING_APPS identifies the registered calling application, scoping the data returned.
- AME_TEMP_INSERTIONS, AME_TEMP_DELETIONS, and AME_TEMP_OLD_APPROVER_LISTS are the transient tables that hold approver insertions, suppressions, and prior approver lists, manipulated by the CLEAR* and GETAVAILABLEINSERTIONS routines.
- WF_LOCAL_ROLES (Workflow) resolves role and approver identities.
- DBMS_SQL is used for dynamic SQL execution, likely within the GETAPPLICABLERULES or attribute-value routines where query shape varies by configuration.
Usage Notes
AME_API3 is not intended for direct end-user invocation. It is called programmatically from Oracle Forms (approval and approval-group setup screens), from concurrent programs that process or report on approval workflows, and from custom PL/SQL that must inspect or adjust AME configuration or the in-flight approver list. The transient insertion/deletion routines are meaningful only during an active approval transaction: once AME has produced the approver list, a calling application may insert or suppress approvers and later clear those modifications. All calls must be made from a schema with execute privilege on the package, and because the package runs AUTHID CURRENT_USER, callers must have direct object privileges on the underlying AME and Workflow tables. Customers should treat the documented procedures as a public, supported interface and avoid referencing the base tables directly.
-
PACKAGE: APPS.AME_API3
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_API3, status:VALID,
-
PACKAGE BODY: APPS.AME_API3
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API3, status:VALID,
-
PACKAGE BODY: APPS.AME_API3
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API3, status:VALID,
-
PACKAGE: APPS.AME_API3
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_API3, status:VALID,
-
PACKAGE BODY: APPS.AME_API3
12.1.1
-
PACKAGE BODY: APPS.AME_API3
12.2.2
-
PACKAGE: APPS.AME_CONDITION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_CONDITION_PKG, status:VALID,
-
PACKAGE BODY: APPS.AME_API4
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API4, status:VALID,
-
PACKAGE: APPS.AME_CONDITION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_CONDITION_PKG, status:VALID,
-
PACKAGE: APPS.AME_API5
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_API5, status:VALID,
-
SYNONYM: APPS.AME_TEMP_DELETIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_DELETIONS, status:VALID,
-
PACKAGE BODY: APPS.AME_API4
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API4, status:VALID,
-
PACKAGE BODY: APPS.FUN_TRX_PVT_W
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_TRX_PVT_W, status:VALID,
-
PACKAGE BODY: APPS.EDR_RULE_TEMP
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_RULE_TEMP, status:VALID,
-
PACKAGE: APPS.AME_API5
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_API5, status:VALID,
-
SYNONYM: APPS.AME_TEMP_INSERTIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_INSERTIONS, status:VALID,
-
APPS.HR_DYNAMIC_APPROVAL_WEB SQL Statements
12.2.2
-
SYNONYM: APPS.AME_TEMP_DELETIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_DELETIONS, status:VALID,
-
PACKAGE: APPS.AME_RULE_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_RULE_PKG, status:VALID,
-
SYNONYM: APPS.AME_TEMP_INSERTIONS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_INSERTIONS, status:VALID,
-
PACKAGE BODY: APPS.AME_DYNAMIC_APPROVAL_PKG
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AME_DYNAMIC_APPROVAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.AME_API7
12.1.1
-
PACKAGE: APPS.AME_RULE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_RULE_PKG, status:VALID,
-
SYNONYM: APPS.AME_APPROVAL_GROUP_MEMBERS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_APPROVAL_GROUP_MEMBERS, status:VALID,
-
PACKAGE BODY: APPS.AME_API
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API, status:VALID,
-
PACKAGE: APPS.AME_APPROVER_DEVIATION_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_APPROVER_DEVIATION_PKG, status:VALID,
-
PACKAGE: APPS.AME_ADMIN_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_ADMIN_PKG, status:VALID,
-
PACKAGE BODY: APPS.EDR_ISIGN_CHECKLIST_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_ISIGN_CHECKLIST_PVT, status:VALID,
-
PACKAGE BODY: APPS.EDR_RULE_TEMP
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_RULE_TEMP, status:VALID,
-
SYNONYM: APPS.AME_TEMP_OLD_APPROVER_LISTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_OLD_APPROVER_LISTS, status:VALID,
-
SYNONYM: APPS.AME_APPROVAL_GROUP_MEMBERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AME_APPROVAL_GROUP_MEMBERS, status:VALID,
-
PACKAGE: APPS.AME_ADMIN_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_ADMIN_PKG, status:VALID,
-
PACKAGE BODY: APPS.AME_API
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:AME_API, status:VALID,
-
PACKAGE BODY: APPS.AME_DYNAMIC_APPROVAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AME_DYNAMIC_APPROVAL_PKG, status:VALID,
-
SYNONYM: APPS.AME_TEMP_OLD_APPROVER_LISTS
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_TEMP_OLD_APPROVER_LISTS, status:VALID,
-
PACKAGE BODY: APPS.AME_API7
12.2.2
-
PACKAGE BODY: APPS.PON_AWARD_APPROVAL_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:PON_AWARD_APPROVAL_PKG, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_APPROVAL_LIST
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_APPROVAL_LIST, status:VALID,
-
PACKAGE: APPS.AME_APPROVER_DEVIATION_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_APPROVER_DEVIATION_PKG, status:VALID,
-
PACKAGE BODY: APPS.FUN_WF_COMMON
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:FUN_WF_COMMON, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_REQ_WF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_REQ_WF_PVT, status:VALID,
-
PACKAGE BODY: APPS.EDR_ISIGN_CHECKLIST_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:EDR_ISIGN_CHECKLIST_PVT, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_APPROVAL_LIST
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_APPROVAL_LIST, status:VALID,
-
SYNONYM: APPS.AME_CONDITION_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:AME_CONDITION_USAGES, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_REQ_WF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_REQ_WF_PVT, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_RCO_WF_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_RCO_WF_PVT, status:VALID,
-
PACKAGE BODY: APPS.ASO_PA_APR_INT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:ASO_PA_APR_INT, status:VALID,
-
PACKAGE: APPS.AME_APPROVER_TYPE_PKG
12.2.2
owner:APPS, object_type:PACKAGE, object_name:AME_APPROVER_TYPE_PKG, status:VALID,
-
PACKAGE BODY: APPS.OKC_REP_WF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_REP_WF_PVT, status:VALID,
-
PACKAGE BODY: APPS.POR_AME_RCO_WF_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:POR_AME_RCO_WF_PVT, status:VALID,