All Oracle Error Codes
Oracle DBA Forum
ORA-06503:
PL/SQL: Function returned without value
Cause:
A call to PL/SQL function completed, but no RETURN statement was executed.
Action:
Rewrite PL/SQL function, making sure that it always returns a value of a proper type.