FROM prtask t
LEFT OUTER JOIN INV_INVESTMENTS inv ON t.prprojectid = inv.id
WHERE t.pristask <> 0
AND t.prstatus <> 2
AND t.prismilestone = 1
AND @NVL@(INV.PURGE_FLAG,0) = 0
ORDER BY wbs_sequence
The above query is being used through an Xcelsius dashboard panel using WSDL query and it does NOT bring back any data.
The very same query added to a portlet works just fine and returns data.
If I execute the SQL of the query using my database login in SQLExplorer, the query does not execute and actually returns "an invalid identifier message" around the "cop_calc_finish_time_fct" function.
This is a CA on-demand hosted application, a support issue was opened and I am told that the database user "niku" has rights to this "cop_calc_finish_time_fct" function. What else needs to be checked at DB level or Xcelsius to have this working? Perhaps I am missing some basic requirement, but hard to find.
To debug the issue, I have created an Xcelsius dashboard that simply pulls data using a Web service connection into a spreadsheet container in Xcelsisus with a different query and it works just fine. I had to set the Flash variables to match global variables of interactive portlets defined in the system.
Then I created another XLF file. Using the query above built another dashboard, used the same layout and flash variables and it does NOT display data. At run time, exporting the spreadsheet shows that query does not produce any result.
I would appreciate your responses to help resolve this issue.