Hi, I have a rather complex query using CTE's. When running the query with runSuiteQL().asMappedResults() I get 186 rows. But running it with runSuiteQLPaged() and iterating over the pages with a pageSize of 1000. it only returns 181.
The 5 lines that are missing have a value in a column that the result is ordered by in the "ORDER BY". And the others have null in that column.
If I remove the column from the "ORDER BY", runSuiteQLPaged() will return all results.
I suspect that it has nothing to do with the CTE, only the ordering on a column that contains a lot of null values.
Anyone seen the same problem?