CREATE OR REPLACE FUNCTION get_curr_ver_id(acc_no IN NUMBER)
	RETURN NUMBER 
	IS id NUMBER(10);
	BEGIN 
		SELECT cfdat_version_id_seq.CURRVAL INTO id FROM DUAL;
		RETURN(id);
	END;
/
