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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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