I have a qbo3 statement that causes an error. When I invoke the statement, I am routed to an error page that does not contain enough information to help me determine the root cause of the problem.
Does qbo3 contain any tools to assist in debugging the statement?
Custom statements created in qbo3 can be debugged from Templates > Reports > Ad-Hoc Report.
You can use this tool to iteratively test and fix any statements you are designing.
In the screen shot below, the statement
Foreclosure/B2BDataStoreis set up for testing:Note:
ModuleisForeclosureQueryisBasicBase StatementisB2BDataStorePayloadcontains a query string for any parameters you wish to pass to the statementIn the
Resultspanel, we can see errors reported by SQL server, including:To see the actual SQL being processed, check the
Debug Statementcheckbox. Instead of executing the statement's SQL, qbo3 will generate the SQL and display it in the Results panel.In this particular case, the culprit is:
Since both the
BankruptcyandProcesstable containProcessIDcolumn, the correct syntax would be to clarify which table'sProcessIDto return:The second error appears to simply be a typo:
should be