Search Results gcs_adj_approval_wf_pkg
Overview
The APPS.GCS_ADJ_APPROVAL_WF_PKG package body is a workflow-enabled approval engine that governs the review and disposition of consolidation adjustment entries within the Oracle E-Business Suite Financial Consolidation Hub (GCS) module. Its principal business function is to orchestrate the approval lifecycle of journal-type adjustment data originating in the GCS_ENTRY_HEADERS repository, routing each adjustment through designated approvers using the Oracle Workflow infrastructure. The package is classified under the ETRM "OTHER" API category and holds a VALID status in the APPS schema, indicating it is a supported, compiled database object rather than a public, externally callable API. The package body carries six documented program units and depends upon both Oracle Workflow components (WF_CORE, WF_ENGINE, WF_EVENT, WF_DIRECTORY, WF_ITEMS, and WF_PARAMETER_LIST_T) and the Oracle Approvals Management engine (AME_API2 and AME_UTIL), confirming that approvals can be derived from AME rules rather than hard-coded hierarchies. Additional dependencies on FEM_ENTITIES_TL, FEM_CAL_PERIODS_TL, and GCS_HIERARCHIES_TL tie the package firmly to consolidation entity, calendar period, and hierarchy metadata.
Key Procedures and Functions
Six program units are documented within the package body. CREATE_GCSADJ_PROCESS initiates the approval workflow for a consolidation adjustment, establishing the workflow process and its associated item context. FCH_CHECK_APPROVALS evaluates whether a given adjustment requires approval, typically by interrogating AME rules and hierarchy configuration. GET_NEXT_APPROVER determines the subsequent approver in the routing sequence, resolving the responsible party against the AME and directory data. PROCESS_APPROVAL records and advances the workflow when an approver accepts an adjustment, updating status accordingly. PROCESS_REJECTED handles the rejection path, returning the adjustment to its originator or terminating the approval instance. UPDATE_ADJUSTMENT persists state changes to the underlying adjustment record, synchronizing the database with the workflow outcome. No parameter lists are published in the source metadata, so invocation signatures should be confirmed against the deployed package specification before custom integration.
Tables Accessed
The package reads and writes GCS_ENTRY_HEADERS, the central consolidation entry repository holding adjustment header records subject to approval. GCS_HIERARCHIES_TL and FEM_ENTITIES_TL supply hierarchy and entity descriptive information used to resolve approval routing and validation context, while FEM_CAL_PERIODS_TL provides consolidation calendar period translations. FND_USER and FND_RESPONSIBILITY identify approvers and their functional responsibilities, and FND_APPLICATION supports application context resolution. FND_ATTACHED_DOCUMENTS is accessed to associate supporting documentation with approval items. Workflow state is held in WF_ITEMS, and PLITBLM supplies the standard PL/SQL table-type utility used by the logging and messaging framework.
Usage Notes
This package is an internal workflow integration component and is not intended for direct invocation from ad hoc SQL or standalone scripts. It is exercised indirectly when users submit or respond to consolidation adjustment approvals through the Financial Consolidation Hub user interface, and when Oracle Workflow background processes advance pending approval activities. Administrative or diagnostic routines that need to inspect or reset approval state may call its procedures through a controlled, server-side wrapper, but such usage should preserve the Workflow Engine item context. Because the package is not referenced by any other database object, it forms the boundary between the GCS application logic and the Oracle Workflow and AME engines. Any modification to GCS approval configuration—AME rule changes, hierarchy reassignment, or calendar maintenance—indirectly affects the behavior of this package, so patches and customizations should be validated against representative adjustment data in a non-production environment before deployment. The package is available and unchanged in behavior between Oracle EBS 12.1.1 and 12.2.2 unless a GCS-specific patch is applied.
-
PACKAGE BODY: APPS.GCS_ADJ_APPROVAL_WF_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_ADJ_APPROVAL_WF_PKG, status:VALID,
-
PACKAGE: APPS.GCS_ADJ_APPROVAL_WF_PKG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:GCS_ADJ_APPROVAL_WF_PKG, status:VALID,
-
PACKAGE: APPS.GCS_ADJ_APPROVAL_WF_PKG
12.1.1
-
SYNONYM: APPS.GCS_HIERARCHIES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_HIERARCHIES_TL, status:VALID,
-
SYNONYM: APPS.FEM_ENTITIES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_ENTITIES_TL, status:VALID,
-
SYNONYM: APPS.FEM_CAL_PERIODS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FEM_CAL_PERIODS_TL, status:VALID,
-
SYNONYM: APPS.GCS_ENTRY_HEADERS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:GCS_ENTRY_HEADERS, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE BODY: APPS.GCS_ENTRY_PKG
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:GCS_ENTRY_PKG, status:VALID,
-
PACKAGE: APPS.AME_API2
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_API2, status:VALID,
-
SYNONYM: APPS.FND_ATTACHED_DOCUMENTS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_ATTACHED_DOCUMENTS, status:VALID,
-
SYNONYM: APPS.FND_RESPONSIBILITY
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_RESPONSIBILITY, status:VALID,
-
PACKAGE: APPS.AME_UTIL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:AME_UTIL, status:VALID,
-
APPS.GCS_ADJ_APPROVAL_WF_PKG dependencies on GCS_ADJ_APPROVAL_WF_PKG
12.1.1
-
SYNONYM: APPS.WF_ITEMS
12.1.1
owner:APPS, object_type:SYNONYM, object_name:WF_ITEMS, status:VALID,
-
APPS.GCS_ENTRY_PKG dependencies on GCS_ADJ_APPROVAL_WF_PKG
12.1.1
-
PACKAGE: APPS.WF_DIRECTORY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_DIRECTORY, status:VALID,
-
TYPE: APPS.WF_PARAMETER_LIST_T
12.1.1
owner:APPS, object_type:TYPE, object_name:WF_PARAMETER_LIST_T, status:VALID,
-
PACKAGE BODY: APPS.GCS_ADJ_APPROVAL_WF_PKG
12.1.1
-
PACKAGE: APPS.WF_EVENT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_EVENT, status:VALID,
-
SYNONYM: APPS.FND_APPLICATION
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_APPLICATION, status:VALID,
-
PACKAGE: APPS.WF_CORE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_CORE, status:VALID,
-
PACKAGE: APPS.WF_ENGINE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:WF_ENGINE, status:VALID,
-
PACKAGE: APPS.FND_REQUEST
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_REQUEST, status:VALID,
-
SYNONYM: APPS.FND_USER
12.1.1
owner:APPS, object_type:SYNONYM, object_name:FND_USER, status:VALID,
-
PACKAGE: APPS.FND_LOG
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_LOG, status:VALID,
-
PACKAGE: APPS.APP_EXCEPTION
12.1.1
owner:APPS, object_type:PACKAGE, object_name:APP_EXCEPTION, status:VALID,
-
PACKAGE: APPS.FND_PROFILE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_PROFILE, status:VALID,
-
PACKAGE: APPS.FND_MSG_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MSG_PUB, status:VALID,
-
SYNONYM: PUBLIC.PLITBLM
12.1.1
owner:PUBLIC, object_type:SYNONYM, object_name:PLITBLM, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
PACKAGE: APPS.FND_MESSAGE
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_MESSAGE, status:VALID,
-
PACKAGE: APPS.FND_API
12.1.1
owner:APPS, object_type:PACKAGE, object_name:FND_API, status:VALID,
-
PACKAGE: SYS.STANDARD
12.1.1
owner:SYS, object_type:PACKAGE, object_name:STANDARD, status:VALID,