I remember hearing this is a limitation, but I can...
# suiteql
j
I remember hearing this is a limitation, but I can query the standard NetSuite 'State' table?
Copy code
{
  "q": "select * from state"
}
t
@Josh Godfrey This should work:
Copy code
SELECT
	State.ID,
	State.ShortName,
	State.FullName,
	State.Country
FROM
	State
ORDER BY
	State.ShortName
And there's a Country table as well:
Copy code
SELECT
	Country.ID,
	Country.Name,
	Country.Edition,
	Country.Nationality
FROM
	Country
ORDER BY
	Country.Name
j
Thanks Tim, I'll try it out.
@tdietrich do you happen to know what permissions control these tables? I can hit them with my admin role, but I run into a vague permission error
t
@Josh Godfrey This is a guess, but maybe try Setup > Accounting Lists?
j
Figured it out, it was actually the
Setup > Set Up Company 'Allows usage of the Search State task'
Not sure why it fell under that permission, but it works now.
Thanks for the help