ORA-31601: Function [string] cannot be called now that fetch has begun.
Cause: The function was called after the first call to FETCH_xxx.
Action: Correct the program.
Error Type: ORA
Record: 1/1