I have a SuiteQL Query that is only working when r...
# suiteql
n
I have a SuiteQL Query that is only working when run in the Administrator role otherwise I get an UNEXPECTED_ERROR... could there be permissions I'm missing? The suitescript I'm running is called in a restlet called from a suitelet, and the suitelet is set to run as administrator as well. So I'm confused. Any ideas?
j
custom records?
n
I have successfully identified that it's the 'transactionShippingAddress' table I don't have permissions to but still don't know what permission to add to my role.
j
do you have all transaction types added to the permissions in the role?
t
@NS Do you have Lists > Perform Search granted to the role?
n
Yeah basically all transactions. And yes I have Perform Search set to Full as well.
t
And do you also have
Transactions > Find Transaction
? I suspect you do...
I'm just guessing, because the roles are confusing...
But I'd also double check
Lists > Customers
and
Lists > Custom Profile
.
n
I did not have Customer Profile but adding it didn't do the trick. Thanks for the help so far.
t
I suspect it's one of those weird ones that you're missing.
Are you in a OneWorld account?
n
I am not
t
I'm curious - can you select against the transactionShippingAddressbookEntityAddress table?
n
Yes! and it seems to have the fields I need. So odd. But thanks a lot!
t
Very strange.
Based on my notes, they're essentially the same table.
transactionShippingAddressbook might also help.
Anyway, good luck!
👍 1