1787: p_s1_id in number)
1788: return VARCHAR2 is
1789: p_entry_status_name varchar2(30);
1790: cursor c_entry_status(p_id number) is 1791: select name from so_results 1792: where result_id = p_id;
1793: begin
1794: if p_cancelled_flag = 'Y' then
1795: p_entry_status_name :=