Search Results amw_wf_hierarchy_pkg
Overview
AMW_WF_HIERARCHY_PKG is an Oracle EBS Applications (APPS) PL/SQL package that supports the Oracle Application Management Workbench (AMW) framework, the technical foundation for Applications Management and the governance, risk, and compliance (GRC) capabilities introduced with the E-Business Suite. Its primary role is to construct, synchronize, and traverse the hierarchical relationships that underpin the AMW process model — linking processes, organizations, risks, and controls in a parent/child graph. The package also integrates AMW metadata with Oracle Workflow, allowing the hierarchy to drive workflow routing and transition sequencing.
In the context of Oracle EBS 12.1.1 and 12.2.2, this package belongs to the APPS schema and is classified under the "OTHER" API category in the E-Business Tax and Reference Manual (ETRM) repository. It is referenced by five other packages, indicating it is a shared dependency in the AMW hierarchy subsystem rather than a standalone utility.
Key Procedures and Functions
The documented interface exposes 43 procedures and functions. Central to authoring hierarchy metadata is WRITE_AMW_PROCESS, which persists process definitions including process name, significant and standard process flags, approval and certification status, and owner identifiers. Hierarchy traversal is handled by FIND_HIERARCHY_PARENT and FIND_HIERARCHY_CHILDREN, which resolve process relationships in the denormalized hierarchy tables.
Synchronization routines SYNCH_HIERARCHY_AMW_PROCESS and ADHOC_SYNCH_HIER_AMW_PROC (note the truncated name in the header) refresh the stored hierarchy to reflect current process definitions, both as a batch and on demand.
Workflow sequencing is addressed by the function searched for: FIND_TRANSITION_ORDER, which accepts an instance identifier and returns a numeric transition order value, and FIND_TRANSITION_CHILDREN, which resolves the child transitions for a given instance.
Organization-level hierarchy is managed by FIND_ORG_HIERARCHY_PARENT and FIND_ORG_HIERARCHY_CHILDREN, POPULATE_FLATLIST, CREATE_ORG_RELATIONS, ASSOC_PROCESS_ORG_HIER, ASSOC_PROCESS_RCM_ORG_HIER, ASSOCIATE_ORG_PROCESS, DELETE_ORG_RELATION, DISASSOCIATE_PROCESS_ORG, DISASSOC_PROC_ORG_HIER, and MODIFY_ORG_RELATION. Risk and control counters are reset by RESET_PROCESS_RISK_CTRL_COUNT and the two overloaded forms of RESET_PROC_ORG_RISK_CTRL_COUNT.
Tables Accessed
The package reads and writes a set of AMW base and denormalized tables through APPS synonyms. Process definitions reside in AMW_PROCESS, AMW_PROCESS_S, and AMW_PROCESS_ORGANIZATION. Hierarchy structures are held in AMW_PROC_HIERARCHY_DENORM and AMW_ORG_HIERARCHY_DENORM, while AMW_PROCESS_ORG_RELATIONS stores organization-to-process links. Risk, control, and exception associations are captured in AMW_CONTROL_ASSOCIATIONS, AMW_RISK_ASSOCIATIONS, AMW_EXCEPTIONS_B, AMW_EXCEPTIONS_TL, and AMW_EXCEPTIONS_REASONS. AMW_OBJECTIVE_ASSOCIATIONS links processes to objectives. Oracle HR and security master data are referenced via FND_USER, HR_ORGANIZATION_INFORMATION, and PER_ORGANIZATION_STRUCTURES to resolve organizational ownership and reporting lines.
Usage Notes
AMW_WF_HIERARCHY_PKG is typically invoked indirectly rather than by end users. It is called by AMW forms and concurrent programs during process definition, hierarchy rebuild, and synchronization operations, and by Oracle Workflow components when evaluating transition order and routing. Because the hierarchy is denormalized, the synchronization procedures should be run after bulk changes to process or organization structures to keep the denormalized tables consistent. Custom code integrating with AMW should treat the package as a shared internal dependency and avoid modifying the underlying hierarchy tables directly.
-
PACKAGE: APPS.AMW_WF_HIERARCHY_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_WF_HIERARCHY_PKG, status:VALID,
-
PACKAGE BODY: APPS.AMW_WF_HIERARCHY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_WF_HIERARCHY_PKG, status:VALID,
-
PACKAGE: APPS.AMW_PROC_ORG_HIERARCHY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_PROC_ORG_HIERARCHY_PVT, status:VALID,
-
SYNONYM: APPS.AMW_EXCEPTIONS_REASONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_EXCEPTIONS_REASONS, status:VALID,
-
SYNONYM: APPS.AMW_PROCESS_S
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_PROCESS_S, status:VALID,
-
SYNONYM: APPS.AMW_PROCESS_ORG_RELATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_PROCESS_ORG_RELATIONS, status:VALID,
-
SYNONYM: APPS.AMW_EXCEPTIONS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_EXCEPTIONS_B, status:VALID,
-
SYNONYM: APPS.AMW_PROC_HIERARCHY_DENORM
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_PROC_HIERARCHY_DENORM, status:VALID,
-
SYNONYM: APPS.AMW_EXCEPTIONS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_EXCEPTIONS_TL, status:VALID,
-
SYNONYM: APPS.AMW_ORG_HIERARCHY_DENORM
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_ORG_HIERARCHY_DENORM, status:VALID,
-
PACKAGE BODY: APPS.AMW_ASSOC_POST_TXN
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_ASSOC_POST_TXN, status:VALID,
-
SYNONYM: APPS.AMW_OBJECTIVE_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_OBJECTIVE_ASSOCIATIONS, status:VALID,
-
PACKAGE BODY: APPS.AMW_PROC_ORG_HIERARCHY_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:AMW_PROC_ORG_HIERARCHY_PVT, status:VALID,
-
SYNONYM: APPS.WF_ACTIVITIES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ACTIVITIES_TL, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AMW_PROCESS_ORGANIZATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_PROCESS_ORGANIZATION, status:VALID,
-
SYNONYM: APPS.WF_ACTIVITY_TRANSITIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ACTIVITY_TRANSITIONS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
SYNONYM: APPS.AMW_RISK_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_RISK_ASSOCIATIONS, status:VALID,
-
VIEW: APPS.AMW_WF_HIERARCHY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_WF_HIERARCHY_V, object_name:AMW_WF_HIERARCHY_V, status:VALID,
-
PACKAGE: APPS.AMW_UTILITY_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AMW_UTILITY_PVT, status:VALID,
-
SYNONYM: APPS.AMW_PROCESS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_PROCESS, status:VALID,
-
SYNONYM: APPS.AMW_CONTROL_ASSOCIATIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:AMW_CONTROL_ASSOCIATIONS, status:VALID,
-
VIEW: APPS.AMW_EMPLOYEES_CURRENT_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_EMPLOYEES_CURRENT_V, object_name:AMW_EMPLOYEES_CURRENT_V, status:VALID,
-
VIEW: APPS.AMW_PROCESS_HIERARCHY_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_PROCESS_HIERARCHY_V, object_name:AMW_PROCESS_HIERARCHY_V, status:VALID,
-
PACKAGE: APPS.WF_PURGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_PURGE, status:VALID,
-
VIEW: APPS.AMW_AUDIT_UNITS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_AUDIT_UNITS_V, object_name:AMW_AUDIT_UNITS_V, status:VALID,
-
VIEW: APPS.AMW_ORG_RELATIONS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_ORG_RELATIONS_V, object_name:AMW_ORG_RELATIONS_V, status:VALID,
-
VIEW: APPS.AMW_WF_HIERARCHY_MAIN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_WF_HIERARCHY_MAIN_V, object_name:AMW_WF_HIERARCHY_MAIN_V, status:VALID,
-
VIEW: APPS.AMW_WF_ORG_HIERARCHY_MAIN_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:AMW.AMW_WF_ORG_HIERARCHY_MAIN_V, object_name:AMW_WF_ORG_HIERARCHY_MAIN_V, status:VALID,
-
SYNONYM: APPS.WF_ACTIVITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ACTIVITIES, status:VALID,
-
SYNONYM: APPS.PER_ORGANIZATION_STRUCTURES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ORGANIZATION_STRUCTURES, status:VALID,
-
PACKAGE: APPS.AMW_WF_HIERARCHY_PKG
12.1.1
-
SYNONYM: APPS.PER_ORG_STRUCTURE_VERSIONS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ORG_STRUCTURE_VERSIONS, status:VALID,
-
SYNONYM: APPS.PER_ORG_STRUCTURE_ELEMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:PER_ORG_STRUCTURE_ELEMENTS, status:VALID,
-
APPS.AMW_WF_ORG_HIERARCHY_MAIN_V dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_ORG_RELATIONS_V dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_WF_HIERARCHY_MAIN_V dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_WF_HIERARCHY_PKG dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_PROC_ORG_HIERARCHY_PVT dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_ASSOC_POST_TXN dependencies on AMW_WF_HIERARCHY_PKG
12.1.1
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,
-
SYNONYM: APPS.WF_PROCESS_ACTIVITIES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_PROCESS_ACTIVITIES, status:VALID,
-
PACKAGE: APPS.FND_CONCURRENT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_CONCURRENT, status:VALID,
-
PACKAGE BODY: APPS.AMW_WF_HIERARCHY_PKG
12.1.1
-
APPS.AMW_WF_HIERARCHY_PKG dependencies on FND_GLOBAL
12.1.1
-
SYNONYM: APPS.HR_ORGANIZATION_INFORMATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:HR_ORGANIZATION_INFORMATION, status:VALID,
-
SYNONYM: APPS.FND_USER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
PACKAGE: APPS.FND_FILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_FILE, status:VALID,
-
eTRM - AMW Tables and Views
12.1.1
description: This fact table stores the summary data related to the Significant Account Evaluation report ,