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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
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