Hello all, I did search first and I don’t see anything quite like this.
I am building a hierarchical lookup to use with dynamic query, based on a recursive CTE that works in SQL. The basic structure of the code page seems fine and matches what I have in SQL.
Except my Union All subquery seems to skip one table. The Phrase Builder shows this (“flatBOM” is my CTE):
But the code only shows the inner join on queries 2 & 4
This seems very strange. It’s also the only thing I can find that’s different between my SQL query and my BAQ.
Any ideas? Much appreciated!