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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Record Query Not Returning All Records
I am making a REST API query like this:
https://<whatever>.suitetalk.api.netsuite.com/services/rest/record/v1/invoice?q=createdDate ON_OR_AFTER "5/30/2025" AND tranDate ON_OR_AFTER "1/1/2025"&limit=1000&offset=0
I get back the first 1000 of 6535 records, and cycle through all of them (repeat the query with offset), but a specific invoice record I know exists (record id=13146402) is not being returned anywhere in the result set.
When I fetch that invoice directly, I can see:
"createdDate": "2025-06-06T14:54:00Z",
"tranDate": "2025-06-06",
So it definitely should have come in my record set!
What is going on? Am I missing something?
Tagged:
0