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 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Return Search Data Sorted by lastModifiedDate?
Is this possible?
I developing an app that pulls data via Web Services and storing it in a local db.
Everything is working fine except that the returned records are ordered by internalId and I need to order them by lastModifiedDate. This is in case a crash/error/program stoppage, we can query the local db for the latest lastModifiedDate and continue on pulling the next oldest record.
Here is the SOAP I'm using for the initial pull. Next pull would be the lastest lastModifiedDate from the local db so we can just pull new/changes.
<?xml version="1.0" encoding="ISO-8859-1"?><SOAP-ENV:Envelope xmlns:SOAP-ENV=" 0