Results for “constraint_type_code”

50+ results




AI-generated from documented ETRM metadata — verify critical details on the linked pages.

Overview

PA_TASK_DET_SCH_OPT_V is a reporting view owned by the APPS schema in Oracle E-Business Suite, delivered as part of the Projects (PA) product family. It exposes scheduling detail and options information for project tasks at the element-version level. Specifically, the view denormalizes rows from PA_PROJ_ELEM_VER_SCHEDULE, the table that stores per-task scheduling attributes for a given project element version, and decorates selected code columns with their corresponding Oracle FND lookup meanings.

In the context of ETRM 12.1.1 and 12.2.2, the view serves as a read-only presentation layer. It is typically consumed by scheduling, progress, and project-status reporting, by extracts feeding external scheduling tools such as Primavera or Microsoft Project, and by integration programs that need decoded scheduling metadata rather than raw code values. Because it is a view over a versioned scheduling table, it reflects scheduling state as of the element version selected by the calling application or report.

Underlying Base Objects

The view is defined over two documented objects:

  • PA_PROJ_ELEM_VER_SCHEDULE (SYNONYM) — the primary source, aliased SCH in the view definition. It supplies project, element, and version identifiers along with scheduling task type, constraint type, constraint date, slack values, flags, record version, and the three duration columns.
  • PA_PROJ_ELEMENTS_UTILS (PACKAGE) — a PL/SQL utility package invoked in the SELECT list through GET_FND_LOOKUP_MEANING. It resolves PA_SCHEDULE_TASK_TYPE and PA_SCHEDULE_CONSTRAINT_TYPE lookup codes into their display meanings.

Because the package function is called per row, the view carries a PL/SQL context switch for every row returned; this is relevant when the view is queried at high volume.

Key Columns

The view projects the following significant columns:

Common Use Cases and Queries

Typical uses are project scheduling analysis, progress versus plan reporting, and extraction to external schedulers. Sample queries follow.

Task durations and decoding for a project:

  • SELECT project_id, proj_element_id, element_version_id, def_sch_tool_tsk_type_m, actual_duration, remaining_duration, scheduled_duration, total_slack FROM pa_task_det_sch_opt_v WHERE project_id = :p_project_id;

Constraint analysis across current element versions:

  • SELECT proj_element_id, constraint_type_m, constraint_date, free_slack, total_slack FROM pa_task_det_sch_opt_v WHERE constraint_type_code IS NOT NULL ORDER BY constraint_date;

Actual versus scheduled duration variance:

  • SELECT project_id, proj_element_id, actual_duration, scheduled_duration, (actual_duration - scheduled_duration) variance FROM pa_task_det_sch_opt_v WHERE project_id = :p_project_id;

Because the view joins no data itself, joins to PA_PROJECTS or PA_TASKS are performed by the calling report when project names or task descriptions are required. Callers should also be aware that scheduling rows are version-scoped, so queries should filter ELEMENT_VERSION_ID or join to the appropriate current-version source to avoid returning superseded records.