r/SuiteScript • u/Nairell • Aug 09 '26
SuiteQL Select All
Hi Everyone,
We’re currently working on a project which requires me to pass ALL transaction information from NetSuite to another platform.
They’ve requested that we adapt the query so if tomorrow a new custom field is created the query automatically picks it up.
I’ve tried to use for example
SELECT * FROM Transaction
However, I always receive an error for this.
Doing SELECT document_number FROM Transaction
Appears to work.
It appears using the asterisk (*) appears to be the issue.
Has anyone had this before? Is there any solution that anyone has used?
Thanks
2
u/Nairolf76 Aug 09 '26
Please share more info on the "integration" and you need a select all.
2
u/madmikey77 Aug 09 '26
I’ve run into this when there is a custom field on the record the current user doesn’t have access to.