Search Results okc_task_pvt
Overview
OKC_TASK_PVT is the private implementation package body for task management within the Oracle Contracts (OKC) module of Oracle E-Business Suite. It serves as the internal engine that creates, maintains, and deletes tasks and condition-driven task instances associated with contract documents stored in OKC_K_HEADERS_B. Tasks in this context represent actionable work items — approvals, deliverables, milestones, review activities, or contractual obligations — that must be tracked against a contract throughout its lifecycle.
The package follows Oracle's standard PVT (private) API architecture. Its PL/SQL procedures are not intended to be called directly by external consumers; instead they are invoked through the public OKC_API wrapper, which validates inputs, applies security, and translates exceptions before delegating the lower-level data manipulation to OKC_TASK_PVT. The classification of this object as a package body with a VALID status and an owner of APPS confirms it is a shipped, supported component of the ETRM (Enterprise Contracts) schema family.
Functionally, the package bridges contract structures and the shared JTF task framework (JTF_TASKS_B and related JTF tables). This integration allows contract tasks to participate in Oracle's common task and resource management infrastructure, including assignment to resources, status tracking, and task-type classification, while remaining anchored to the originating contract.
Key Procedures and Functions
Five documented procedures constitute the public surface of this package body:
- CREATE_TASK — Creates a task record associated with a contract. It resolves the task type, status, owner, and timing attributes and writes the master task row into the JTF task tables.
- CREATE_CONDITION_TASK — Creates a task tied to a contract condition or clause event, allowing conditional obligations to generate trackable work items.
- CREATE_CONTINGENT_TASK — Creates a task whose existence depends on a contingency or triggering circumstance. This supports the modelling of obligations that become actionable only when a defined event occurs.
- UPDATE_TASK — Modifies an existing task, including status transitions, assignee changes, and date or attribute adjustments.
- DELETE_TASK — Removes a task, maintaining referential integrity with the underlying JTF task records.
Timing and resolution logic used by these procedures draws on OKC_RESOLVED_TIMEVALUES and OKC_TIME_CODE_UNITS_B, reflecting the package's responsibility for interpreting contract time periods and units when scheduling tasks.
Tables Accessed
The package reads and writes the core JTF task framework tables: JTF_TASKS_B, JTF_TASKS_TL, JTF_TASKS_V, JTF_TASK_STATUSES_B, JTF_TASK_STATUSES_TL, JTF_TASK_STATUSES_VL, JTF_TASK_TYPES_B, JTF_TASK_TYPES_TL, and JTF_TASK_TYPES_VL. These supply the base, translated, and validation-view layers for task entities, statuses, and types.
Assignment and relationship data are handled through JTF_RS_RESOURCE_EXTNS (resource assignment), JTF_OBJECTS_B, JTF_OBJECTS_VL, and JTF_OBJECT_USAGES (object linkage of tasks to contract entities). Contract anchors are provided by OKC_K_HEADERS_B. Timing resolution relies on OKC_RESOLVED_TIMEVALUES and OKC_TIME_CODE_UNITS_B. PLITBLM is used as the standard PL/SQL table buffer for bulk operations.
Usage Notes
OKC_TASK_PVT is invoked indirectly, primarily through the public OKC_API and the Contracts forms UI. Condition and contingent task procedures are typically fired from condition evaluation and clause-processing logic rather than from direct user action. Custom code should never call OKC_TASK_PVT directly; developers should use OKC_API, which maintains the documented contract for error handling via FND_API and profile-driven behaviour via FND_PROFILE. The package is referenced by one other package and references OKC_API, OKC_TIME_UTIL_PUB, JTF_TASKS_PUB, JTF_TASK_UTL, and OKC_QUERY, consistent with its role as a low-level worker within the ETRM task-processing stack.
-
PACKAGE BODY: APPS.OKC_TASK_PVT
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TASK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_TASK_PVT
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TASK_PVT, status:VALID,
-
PACKAGE BODY: APPS.OKC_TASK_PVT
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TASK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_TASK_PVT
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TASK_PVT, status:VALID,
-
PACKAGE: APPS.OKC_TASK_PVT
12.1.1
-
PACKAGE: APPS.OKC_TASK_PVT
12.2.2
-
PACKAGE: APPS.OKC_QUERY
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_QUERY, status:VALID,
-
SYNONYM: APPS.OKC_RESOLVED_TIMEVALUES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_RESOLVED_TIMEVALUES, status:VALID,
-
PACKAGE: APPS.OKC_QUERY
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_QUERY, status:VALID,
-
SYNONYM: APPS.OKC_TIME_CODE_UNITS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_TIME_CODE_UNITS_B, status:VALID,
-
SYNONYM: APPS.OKC_TIME_CODE_UNITS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:OKC_TIME_CODE_UNITS_B, status:VALID,
-
PACKAGE BODY: APPS.OKC_TASK_PUB
12.1.1
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TASK_PUB, status:VALID,
-
SYNONYM: APPS.OKC_RESOLVED_TIMEVALUES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:OKC_RESOLVED_TIMEVALUES, status:VALID,
-
PACKAGE BODY: APPS.OKC_TASK_PUB
12.2.2
owner:APPS, object_type:PACKAGE BODY, object_name:OKC_TASK_PUB, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_TL, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_TL, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
SYNONYM: APPS.JTF_OBJECT_USAGES
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECT_USAGES, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_TL, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_TL
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_TL, status:VALID,
-
SYNONYM: APPS.JTF_OBJECT_USAGES
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECT_USAGES, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_TL, status:VALID,
-
SYNONYM: APPS.JTF_TASK_TYPES_TL
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_TYPES_TL, status:VALID,
-
PACKAGE: APPS.OKC_TIME_UTIL_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:OKC_TIME_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.JTF_TASKS_PUB
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_TASKS_PUB, status:VALID,
-
PACKAGE: APPS.OKC_TIME_UTIL_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:OKC_TIME_UTIL_PUB, status:VALID,
-
PACKAGE: APPS.JTF_TASKS_PUB
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_TASKS_PUB, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_TASK_STATUSES_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASK_STATUSES_B, status:VALID,
-
SYNONYM: APPS.JTF_OBJECTS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECTS_B, status:VALID,
-
12.1.1 DBA Data
12.1.1
-
12.1.1 DBA Data
12.1.1
-
12.2.2 DBA Data
12.2.2
-
SYNONYM: APPS.JTF_OBJECTS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_OBJECTS_B, status:VALID,
-
12.2.2 DBA Data
12.2.2
-
VIEW: APPS.JTF_TASK_TYPES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TASK_TYPES_VL, object_name:JTF_TASK_TYPES_VL, status:VALID,
-
PACKAGE: APPS.JTF_TASK_UTL
12.2.2
owner:APPS, object_type:PACKAGE, object_name:JTF_TASK_UTL, status:VALID,
-
VIEW: APPS.JTF_TASK_TYPES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TASK_TYPES_VL, object_name:JTF_TASK_TYPES_VL, status:VALID,
-
PACKAGE: APPS.JTF_TASK_UTL
12.1.1
owner:APPS, object_type:PACKAGE, object_name:JTF_TASK_UTL, status:VALID,
-
VIEW: APPS.JTF_TASK_STATUSES_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TASK_STATUSES_VL, object_name:JTF_TASK_STATUSES_VL, status:VALID,
-
VIEW: APPS.JTF_OBJECTS_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_OBJECTS_VL, object_name:JTF_OBJECTS_VL, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_B
12.1.1
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,
-
VIEW: APPS.JTF_OBJECTS_VL
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_OBJECTS_VL, object_name:JTF_OBJECTS_VL, status:VALID,
-
VIEW: APPS.JTF_TASK_STATUSES_VL
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:JTF.JTF_TASK_STATUSES_VL, object_name:JTF_TASK_STATUSES_VL, status:VALID,
-
SYNONYM: APPS.JTF_TASKS_B
12.2.2
owner:APPS, object_type:SYNONYM, object_name:JTF_TASKS_B, status:VALID,
-
APPS.OKC_TASK_PVT dependencies on OKC_TASK_PVT
12.2.2
-
APPS.OKC_TASK_PUB dependencies on OKC_TASK_PVT
12.1.1
-
APPS.OKC_TASK_PVT dependencies on OKC_TASK_PVT
12.1.1
-
APPS.OKC_TASK_PUB dependencies on OKC_TASK_PVT
12.2.2