Line 2951: select psb_export_s.nextval into l_export_id from dual;
2947:
2948: FUNCTION Get_Next_Export_Seq RETURN NUMBER IS
2949: l_export_id NUMBER;
2950: BEGIN 2951: select psb_export_s.nextval into l_export_id from dual; 2952: RETURN l_export_id;
2953: END;
2954:
2955: -- Get the current year end date and first proposed year start date