Search Results check_delete_task_ok
Overview
APPS.ENG_LIFECYCLE_USER_PUB is a public PL/SQL API package in Oracle E-Business Suite that belongs to the Engineering (ENG) product family and supports the product lifecycle management (PLM) and engineering change management (ECM) functionality within EBS. It is declared with the AUTHID CURRENT_USER clause, meaning it executes with the privileges of the invoking user and relies on the APPS schema synonyms for the underlying tables it consults. The package header was created with a version of 115.0, dated February 2003, reflecting its origins in the 11i code line that was carried forward into Release 12.1.1 and 12.2.2. The package serves as a gatekeeper for deletion activities in the engineering and project lifecycle domain. Specifically, it provides callers with a programmatic way to determine whether a given project or task may safely be deleted, taking into account references from engineering changes and other dependent lifecycle objects. Because engineering changes frequently reference projects and tasks, allowing deletion without validation could corrupt the ECM data model or leave orphaned references. ENG_LIFECYCLE_USER_PUB encapsulates this validation logic in a reusable, standardized API surface that both Oracle standard forms and custom extensions can call.
Key Procedures and Functions
- CHECK_DELETE_PROJECT_OK — This procedure accepts a project identifier (typed against PA_PROJECTS.PROJECT_ID) and evaluates whether that project can be deleted. The procedure takes the standard API parameters, including p_api_version and p_init_msg_list, and returns an x_delete_ok flag, the standard x_return_status, x_errorcode, x_msg_count, and x_msg_data output values used across Oracle EBS APIs for message stack handling. Its logic checks the project for blocking references, such as dependent engineering changes, before returning a deletion verdict.
- CHECK_DELETE_TASK_OK — This procedure performs the parallel validation for a task, accepting a p_task_id typed against PA_TASKS.TASK_ID. It follows the same signature pattern and returns the same set of output parameters, giving the caller a clear boolean indication of whether the task is eligible for deletion along with any diagnostic messages. This is the procedure referenced in the search term "check_delete_task_ok".
Tables Accessed
The documented tables referenced via APPS synonyms are PA_PROJECTS, PA_TASKS, ENG_ENGINEERING_CHANGES, and DUAL. PA_PROJECTS and PA_TASKS are the Project Accounting base tables that hold the project and task records being validated; the procedures read them to confirm the entity exists and to retrieve attributes relevant to deletion rules. ENG_ENGINEERING_CHANGES is the Engineering Change Management table; the package queries it to detect whether an engineering change order or similar lifecycle artifact references the project or task, which would block deletion. DUAL is used for lightweight scalar queries, such as initializing status or returning constant values when no data lookup is required.
Usage Notes
This package is typically invoked when a user attempts to delete a project or task from an Oracle EBS form or a custom program, or when a concurrent process validates lifecycle integrity. The API classification of PUB indicates it is intended for public consumption, so custom code may call it directly. Note that it is referenced by one other package, confirming its role as a shared validation utility. Callers should supply a valid p_api_version and check x_return_status before interpreting x_delete_ok; messages should be retrieved via the standard FND_MSG_PUB message stack in the usual manner.
-
APPS.ENG_LIFECYCLE_USER_PUB SQL Statements
12.1.1
-
APPS.ENG_LIFECYCLE_USER_PUB SQL Statements
12.2.2
-
APPS.PA_TASK_UTILS SQL Statements
12.1.1
-
PACKAGE: APPS.ENG_LIFECYCLE_USER_PUB
12.2.2
-
PACKAGE: APPS.ENG_LIFECYCLE_USER_PUB
12.1.1
-
APPS.PA_TASK_UTILS SQL Statements
12.2.2
-
PACKAGE BODY: APPS.ENG_LIFECYCLE_USER_PUB
12.1.1
-
PACKAGE BODY: APPS.ENG_LIFECYCLE_USER_PUB
12.2.2
-
PACKAGE: APPS.PA_TASK_UTILS
12.1.1
-
PACKAGE: APPS.PA_TASK_UTILS
12.2.2
-
APPS.PA_FIN_PLAN_UTILS SQL Statements
12.2.2
-
APPS.PA_FIN_PLAN_UTILS SQL Statements
12.1.1
-
PACKAGE BODY: APPS.PA_TASK_UTILS
12.1.1
-
PACKAGE BODY: APPS.PA_TASK_UTILS
12.2.2
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on PA_TASKS
12.1.1
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on PA_TASKS
12.2.2
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on PA_TASKS
12.2.2
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on PA_TASKS
12.1.1
-
APPS.PA_PROJECT_PUB SQL Statements
12.1.1
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on FND_API
12.1.1
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on FND_API
12.2.2
-
APPS.PA_PROJECT_PUB SQL Statements
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_STRUCT_TASK_WBS_V
12.1.1
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_STRUCT_TASK_WBS_V
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_TASKS
12.1.1
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_TASKS
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_TASKS
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_TASKS
12.1.1
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_STRUCT_TASK_WBS_V
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on PA_STRUCT_TASK_WBS_V
12.1.1
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on FND_API
12.2.2
-
APPS.ENG_LIFECYCLE_USER_PUB dependencies on FND_API
12.1.1
-
PACKAGE BODY: APPS.PA_FIN_PLAN_UTILS
12.2.2
-
PACKAGE BODY: APPS.PA_FIN_PLAN_UTILS
12.1.1
-
PACKAGE: APPS.PA_FIN_PLAN_UTILS
12.2.2
-
PACKAGE: APPS.PA_FIN_PLAN_UTILS
12.1.1
-
APPS.PA_FIN_PLAN_UTILS dependencies on FND_PROFILE
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on FND_PROFILE
12.1.1
-
APPS.PA_TASK_UTILS dependencies on PA_PROJ_TSK_UTILS
12.1.1
-
APPS.PA_TASK_UTILS dependencies on PA_PROJ_TSK_UTILS
12.2.2
-
APPS.PA_PROJECT_PUB dependencies on PA_PROJ_TASK_STRUC_PUB
12.2.2
-
APPS.PA_PROJECT_PUB dependencies on PA_PROJ_TASK_STRUC_PUB
12.1.1
-
APPS.PA_PROJECT_PUB dependencies on FND_MSG_PUB
12.1.1
-
APPS.PA_PROJECT_PUB dependencies on STANDARD
12.1.1
-
APPS.PA_PROJECT_PUB dependencies on FND_MSG_PUB
12.2.2
-
PACKAGE BODY: APPS.PA_PROJECT_PUB
12.1.1
-
APPS.PA_FIN_PLAN_UTILS dependencies on FND_API
12.2.2
-
APPS.PA_FIN_PLAN_UTILS dependencies on FND_API
12.1.1
-
PACKAGE BODY: APPS.PA_PROJECT_PUB
12.2.2
-
PACKAGE BODY: APPS.PA_PROJ_ELEMENTS_UTILS
12.1.1