Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Query does not return data using SuiteTalk REST web service
Hello everyone,
I encountered with a issue. I wrote a query to select the data I needed and conducted tests using SuiteApp - SuiteQL Query Tool. As a result, I received the required data:
Next, using SuiteTalk REST Web Services, I took this query and tried to to get the same data. The query was sent, but nothing was returned in the result:
{"links":[{"rel":"self","href":"https://….suitetalk.api.netsuite.com/services/rest/query/v1/suiteql?limit=1000&offset=0"}],"count":0,"hasMore":false,"items":[],"offset":0,"totalResults":0}
I conducted tests, and when I removed the condition - AND b.addressbookaddress = (SELECT defaultshippingaddress FROM customer WHERE id = '3284'), the dataset was returned.
Tagged:
0