234: if (p_task_id is not null) then
235: l_stage := 'getting the task id';
236: select TASK_NUMBER
237: into l_task_number
238: from PA_TASKS
239: where project_id = p_project_id and task_id = p_task_id;
240: end if;
241:
242: end if;