[Home] [Help]
764: else -- entry_level_code = 'M'
765: begin
766: select task_id
767: into g_xface_rec.bud_task_id
768: from gms_balances
769: where budget_version_id = l_budget_version_id
770: and task_id = p_task_id
771: and balance_type = 'BGT'
772: --Added the following conditions for Bug 4859071
777: when no_data_found then
778: begin
779: select task_id
780: into l_bud_task_id
781: from gms_balances
782: where budget_version_id = l_budget_version_id
783: and task_id = (select top_task_id
784: from pa_tasks
785: where task_id = p_task_id)