How can I use a CTE from within a subquery? NS-SuiteQL-Reporter wraps all queries for rownumbering/offsets. If I run the query outside of the wrapper it returns results, but within the subsubquery I get blanks for everything.
github.com/watzen/NS-SuiteQL-Reporter/blob/…/index.ts#…