Search Results task_unpub_ver_status_code
Overview
PA_STRUCT_TASKS_LITE_V is an APPS-owned database view in the Oracle E-Business Suite Projects (PA) module, valid in both 12.1.1 and 12.2.2. It exposes a flattened, consolidated projection of project structures and their constituent tasks, joining structure versions and task versions into a single rowset so that callers do not need to navigate the multi-table PA_PROJ_ELEMENTS / PA_PROJ_ELEMENT_VERSIONS model directly. The view is "lite" in the sense that it returns only the columns required by structural navigation and progress-entry clients, omitting the heavier descriptive and attribute columns carried by the base entity tables.
The object is primarily consumed by Oracle's own Projects forms, Tree/Navigator components, and web services that render a project's WBS tree and determine whether a given task node accepts progress or expenditure entry. The TASK_UNPUB_VER_STATUS_CODE column the user searched for is one of its distinguishing attributes: it surfaces the publication status of an unpublished task version, allowing a caller to distinguish drafts or unapproved task revisions from those already published to the structure version. The view preserves the display ordering of the tree through DISPLAY_SEQUENCE and WBS_LEVEL, and is therefore well suited to ordered report output and to integration extracts that must reproduce the on-screen project hierarchy.
Underlying Base Objects
The documented base objects referenced by the view are PA_LOOKUPS (view), PA_OBJECT_RELATIONSHIPS, PA_PROJ_ELEMENTS, PA_PROJ_ELEMENT_VERSIONS, and PA_TASK_TYPES. The definition is a UNION ALL of two branches:
- Task branch. Joins PA_PROJ_ELEMENTS (PPE) to PA_PROJ_ELEMENT_VERSIONS (PPV) on PROJECT_ID and PROJ_ELEMENT_ID, then to PA_OBJECT_RELATIONSHIPS (POR) on ELEMENT_VERSION_ID = OBJECT_ID_TO1 with OBJECT_TYPE_TO = 'PA_TASKS' and RELATIONSHIP_TYPE = 'S'. The join to PA_TASK_TYPES (PTT) on TYPE_ID = TASK_TYPE_ID supplies the PROG_ENTRY_ENABLE_FLAG. This branch returns the real structural parent (OBJECT_ID_FROM1).
- Structure branch. Joins PA_PROJ_ELEMENTS to PA_PROJ_ELEMENT_VERSIONS restricted to OBJECT_TYPE = 'PA_STRUCTURES', returning a NULL OBJECT_ID_FROM1 and a hard-coded 'Y' for PROG_ENTRY_ENABLE_FLAG.
Both branches filter LINK_TASK_FLAG <> 'Y', excluding linked (borrowed) tasks so that only native structure and task elements appear. Only PA_TASK_TYPES rows with OBJECT_TYPE = 'PA_TASKS' qualify. PA_LOOKUPS is included as a reference object for decoded lookup values used by the view's consumers.
Key Columns
- ELEMENT_NUMBER — user-visible element identifier (alias of the structure/task number).
- ELEMENT_VERSION_ID — version surrogate key; the principal join key to relationships and child objects.
- OBJECT_TYPE — discriminates rows: PA_TASKS for task rows, PA_STRUCTURES for structure rows.
- DISPLAY_PARENT_VERSION_ID / PARENT_STRUCTURE_VERSION_ID — parent version pointers; the latter locates the row within its structure version. OBJECT_ID_FROM1 carries the structural parent from PA_OBJECT_RELATIONSHIPS for task rows and NULL for structure rows.
- PROJECT_ID, PROJ_ELEMENT_ID, ELEMENT_NAME — project context and element identity.
- DISPLAY_SEQUENCE, WBS_NUMBER, WBS_LEVEL — ordering and hierarchy depth used to render the tree.
- FINANCIAL_TASK_FLAG — indicates whether the task is a financial (chargeable) task.
- TASK_UNPUB_VER_STATUS_CODE — status code of the unpublished task version, used to identify tasks with pending/draft revisions.
- PROG_ENTRY_ENABLE_FLAG — derived from PA_TASK_TYPES; indicates whether progress entry is permitted for the task ('Y' for all structure rows).
- TASK_STATUS_CODE — the element's STATUS_CODE (e.g. approved, unapproved, cancelled).
Common Use Cases and Queries
Typical consumers retrieve the ordered WBS for a project, filter to chargeable tasks, or audit unpublished task versions. A representative query:
- Select
PROJECT_ID, ELEMENT_VERSION_ID, WBS_NUMBER, TASK_UNPUB_VER_STATUS_CODE, TASK_STATUS_CODEfrom PA_STRUCT_TASKS_LITE_V wherePROJECT_ID = :p_project_idorder by DISPLAY_SEQUENCE. - Isolate chargeable tasks: add
AND FINANCIAL_TASK_FLAG = 'Y' AND OBJECT_TYPE = 'PA_TASKS'. - Find tasks pending publication:
WHERE TASK_UNPUB_VER_STATUS_CODE IS NOT NULL. - Scope progress-entry eligibility:
WHERE PROG_ENTRY_ENABLE_FLAG = 'Y'.
Because the view is owned by APPS, callers should query it as APPS or via a synonym with appropriate grants. Its UNION ALL design means structure rows and task rows are both returned; consumers should branch on OBJECT_TYPE when parent or task-type attributes are required.
-
View: PA_STRUCT_TASKS_LITE_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_STRUCT_TASKS_LITE_V, object_name:PA_STRUCT_TASKS_LITE_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_STRUCT_TASKS_LITE_V ,
-
View: PA_STRUCT_TASKS_LITE_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_STRUCT_TASKS_LITE_V, object_name:PA_STRUCT_TASKS_LITE_V, status:VALID, product: PA - Projects , implementation_dba_data: APPS.PA_STRUCT_TASKS_LITE_V ,
-
View: PA_STRUCTURES_TASKS_V
12.1.1
product: PA - Projects , description: PA_STRUCTURES_TASKS_V selects all the attributes of a structure version and a task version. - For future use , implementation_dba_data: Not implemented in this database ,
-
View: PA_STRUCTURES_TASKS_V
12.2.2
product: PA - Projects , description: PA_STRUCTURES_TASKS_V selects all the attributes of a structure version and a task version. - For future use , implementation_dba_data: Not implemented in this database ,
-
View: PA_FIN_STRUCTURES_TASKS_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_STRUCTURES_TASKS_V, object_name:PA_FIN_STRUCTURES_TASKS_V, status:VALID, product: PA - Projects , description: PA_FIN_STRUCTURES_TASKS_V selects all the attributes of a structure version and a task version. , implementation_dba_data: APPS.PA_FIN_STRUCTURES_TASKS_V ,
-
View: PA_FIN_STRUCTURES_TASKS_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_FIN_STRUCTURES_TASKS_V, object_name:PA_FIN_STRUCTURES_TASKS_V, status:VALID, product: PA - Projects , description: PA_FIN_STRUCTURES_TASKS_V selects all the attributes of a structure version and a task version. , implementation_dba_data: APPS.PA_FIN_STRUCTURES_TASKS_V ,
-
View: PA_STRUCT_TASK_EDIT_V
12.1.1
product: PA - Projects , description: PA_STRUCT_TASK_EDIT_V selects all the attributes of a structure version and a task version. - For future use , implementation_dba_data: Not implemented in this database ,
-
View: PA_STRUCT_TASK_EDIT_V
12.2.2
product: PA - Projects , description: PA_STRUCT_TASK_EDIT_V selects all the attributes of a structure version and a task version. - For future use , implementation_dba_data: Not implemented in this database ,
-
View: PA_STRUCT_TASKS_AMG_V
12.1.1
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_STRUCT_TASKS_AMG_V, object_name:PA_STRUCT_TASKS_AMG_V, status:VALID, product: PA - Projects , description: This view provides a list of structure versions , implementation_dba_data: APPS.PA_STRUCT_TASKS_AMG_V ,
-
View: PA_STRUCT_TASKS_AMG_V
12.2.2
owner:APPS, object_type:VIEW, fnd_design_data:PA.PA_STRUCT_TASKS_AMG_V, object_name:PA_STRUCT_TASKS_AMG_V, status:VALID, product: PA - Projects , description: This view provides a list of structure versions , implementation_dba_data: APPS.PA_STRUCT_TASKS_AMG_V ,