Hi everyone
When we query using SuiteQl (select * from Customer) , does the order in which the columns are sent back the same each time ? If not how do I enforce the ordering of the columns ?
c
Clay Roper
05/30/2024, 4:03 PM
ORDER BY
👍 1
e
Edgar Valdes
05/30/2024, 4:04 PM
Interesting question. My experience says that * returns de columns in the order of the table definition, but in NetSuite it will change if later you remove or add a custom field, thus modifying the column order.
No idea if this is documented.
✅ 1
s
Stephanie Hughes
05/30/2024, 4:17 PM
The order of the columns? You'd need to specify the actual column names, not * in the SELECT.
z
Zahra
05/30/2024, 4:51 PM
Yes, but to specify all 84 of them would be a task
Thanks for all your replies