DBA Data[Home] [Help]

APPS.PA_PROJECT_STRUCTURE_PVT1 dependencies on PA_WF_PROCESSES

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

9303: CURSOR check_approve_req IS
9304: select nvl(wp_approval_reqd_flag,'N') from pa_proj_workplan_attr
9305: where project_id = p_project_id;
9306:
9307: /* Bug 2680486 -- Performance changes -- Added the join of wf_type_code to avoid full table scan on pa_wf_processes*/
9308:
9309: CURSOR get_item_key IS
9310: select MAX(pwp.item_key), max(pwp.item_type)
9311: from pa_wf_processes pwp, pa_project_statuses pps

Line 9311: from pa_wf_processes pwp, pa_project_statuses pps

9307: /* Bug 2680486 -- Performance changes -- Added the join of wf_type_code to avoid full table scan on pa_wf_processes*/
9308:
9309: CURSOR get_item_key IS
9310: select MAX(pwp.item_key), max(pwp.item_type)
9311: from pa_wf_processes pwp, pa_project_statuses pps
9312: where pwp.item_type = pps.workflow_item_type
9313: and pps.status_type = 'STRUCTURE'
9314: and pps.project_status_code = 'STRUCTURE_SUBMITTED'
9315: and entity_key2 = p_structure_version_id