79: --Bug 5726575
80: if x_project_id is null then
81: select project_id
82: into l_project_id
83: from pa_tasks
84: where task_id = x_task_id;
85: end if;
86:
87: -- if amt is negative, need to update reversed original
310: --Bug 5693864
311: if x_project_id is null then
312: select project_id
313: into l_project_id
314: from pa_tasks
315: where task_id = x_task_id;
316: end if;
317:
318: update gms_encumbrance_items