Hi Chris,
Thank you for your response.
I have tested the script in SQL developer and it is working fine. Also test the script in service studio and it is returning results.
However in runtime/debug mode the output structure is empty.
I created another extension for oracle, also created new structure with the same script but nothing happen same result.
The weird thing is, I created another struct with only 2 attributes and call 1 of the tables in the same extension. like this.
SELECT {AP_SUPPLIERS2}.[EMPLOYEE_ID],{AP_SUPPLIERS2}.[VENDOR_ID] from
{AP_SUPPLIERS2}
And it is working. But when I use the original script and only select only 2 attributes it does not work.
The original script includes join tables which I did not include in my post because I believe that is not the case because it is working in SQL developer tool and Service studio.
So I don't know. I might take a look again with the SQL script.