DBA Data[Home] [Help]

APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_WF_PROCESSES

Line 9679: /* Bug 2680486 -- Performance changes -- Added the join of wf_type_code to avoid full table scan on pa_wf_processes*/

9675: CURSOR check_approve_req IS
9676: select nvl(wp_approval_reqd_flag,'N') from pa_proj_workplan_attr
9677: where project_id = p_project_id;
9678:
9679: /* Bug 2680486 -- Performance changes -- Added the join of wf_type_code to avoid full table scan on pa_wf_processes*/
9680:
9681: CURSOR get_item_key IS
9682: select MAX(pwp.item_key), max(pwp.item_type)
9683: from pa_wf_processes pwp, pa_project_statuses pps

Line 9683: from pa_wf_processes pwp, pa_project_statuses pps

9679: /* Bug 2680486 -- Performance changes -- Added the join of wf_type_code to avoid full table scan on pa_wf_processes*/
9680:
9681: CURSOR get_item_key IS
9682: select MAX(pwp.item_key), max(pwp.item_type)
9683: from pa_wf_processes pwp, pa_project_statuses pps
9684: where pwp.item_type = pps.workflow_item_type
9685: and pps.status_type = 'STRUCTURE'
9686: and pps.project_status_code = 'STRUCTURE_SUBMITTED'
9687: and entity_key2 = p_structure_version_id