ORA-06503: PL/SQL: Function returned without value
What triggered the Error:
A call to PL/SQL function completed, but no RETURN statement was executed.What should we do to fix it:
Rewrite PL/SQL function, making sure that it always returns a value of a proper type.