Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Netsuite REST web services help to query transaction lines
Hi,
I am trying to get started using Netsuite rest web services.
I have some basic functions working OK using postman. I am able to do certain basic queries using the postman demonstration files such as:
- transactions
{
"q": "SELECT t.tranId , t.tranDate FROM transaction t WHERE createddate >= '6/1/2021'"
}
- customer
{
"q": "SELECT c.companyname, c.id FROM customer c WHERE dateCreated >= '1/1/2021'"
}
- however when I try to access transaction lines - my query fails:
{
"q": "SELECT * FROM transaction_lines tl WHERE date_created >= '6/1/2021'"
}
error:
"status": 400,
"o:errorDetails": [
{
"detail": "Invalid search query. Detailed unprocessed description follows. Invalid search type: transaction_lines.",