Found a defect in the query export code for order by columns when there is more than 1 primary bo. Also found some queries have junk data because there is order by column data for non display column fields so they don't show in the query when you open it in TRIRIGA.