Search Results change_status_approved




Overview

PA_WORKPLAN_WORKFLOW is the Oracle Projects workflow integration package responsible for orchestrating the Oracle Workflow processes that drive the Project Workplan approval lifecycle in Oracle E-Business Suite. The package links the Project Workplan and Project/Task execution structures to the Workflow engine, enabling workplan submission, approval, rejection, cancellation, and notification routing. The header comment indicates a build dated 2005 (PAXSTWWS.pls 120.1), reflecting a long-stable interface carried forward into release 12.1.1 and 12.2.2. The package is owned by APPS and is classified as an OTHER API, meaning it is not a formally published open interface but is nonetheless called by Oracle Projects forms, concurrent programs, and other Oracle Projects packages. It is referenced by four other packages within the application.

Key Procedures and Functions

The package exposes fourteen documented procedures and functions, several of which are Workflow-standard callbacks (itemtype, itemkey, actid, funcmode, resultout signature) invoked by the Workflow engine itself.

Tables Accessed

The package reads and writes through APPS synonyms across the Projects and Workflow schemas. PA_PROJ_ELEM_VER_STRUCTURE, PA_PROJ_ELEM_VER_SCHEDULE, and PA_PROJ_ELEMENT_VERSIONS provide the workplan structure version, hierarchy, and scheduling data that define the object under approval. PA_PROJECTS_ALL, PA_PROJ_ELEMENTS, PA_PROJECT_STATUSES, and PA_PROJ_STRUCTURE_TYPES supply project and structure-type context, while IS_PROJECT_CLOSED relies on project status data. PA_PROJECT_PARTIES and PA_PROJ_WORKPLAN_ATTR supply party/role and workplan attribute information used for approval routing and notification. Workflow-specific state is stored in PA_WORKFLOW_ITEMKEY_S and PA_WF_PROCESSES, and PA_PAGE_CONTENTS supports the workplan UI. FND_USER, FND_FORM_FUNCTIONS, and FND_COMPILED_MENU_FUNCTIONS resolve user identities and function/menu security.

Usage Notes

Most of the change_status_* and check_workplan_status procedures are registered as Workflow function activities and are therefore invoked implicitly by the Workflow engine during workplan approval processes rather than being called directly by end users. START_WORKFLOW, CANCEL_WORKFLOW, and the project/task execution procedures are called programmatically from Oracle Projects forms and from other Oracle Projects PL/SQL packages (the four referencing packages). Because the API classification is OTHER, customizations that call this package directly should treat it as an internal, non-supported interface: signatures and behavior may change across patches. For diagnostics involving "change_status_working," inspect the corresponding Workflow process definition and item key recorded in PA_WORKFLOW_ITEMKEY_S, and review the workflow notification and error history before altering statuses manually.