Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Trying to match a Netsuite search export count to rest api query count
Hi,
I am trying to match a netsuite search export to rest api query in postman
The netsuite report export finds 29 Records
the REST API query funds 40 Records
I can't figure out why the rest api has more?
Company added a special text field to the transactionline table called 'custcol1'. This is the main field I search on.
postman query:
{ "q": "SELECT * FROM transactionline tl where tl.custcol1 IS NOT NULL"}
finds 40 results
more complex still finds 40 records
{ "q": "SELECT * FROM transaction t LEFT JOIN transactionline tl ON t.id = tl.transaction LEFT JOIN subsidiary s ON tl.subsidiary = s.id where tl.custcol1 IS NOT NULL and t.type IS NOT NULL and s.name = 'MyCo' and t.trandate >= '11/1/2021' and t.trandate < '12/31/2021'"