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!
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
Search for Sales Orders
Hello,
I am trying to perform a straight forward SOAP request - Search for all Sales Orders that have changed in the last x minutes.
The SOAP I am using is:
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:enc="http://schemas.xmlsoap.org/soap/encoding" > <soap:Header> <platformMsgs:searchPreferences xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com"> <platformMsgs:pageSize>20</platformMsgs:pageSize> </platformMsgs:searchPreferences> </soap:Header> <soap:Body> <platformMsgs:search xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com"> <tns1:searchRecord xmlns:tns1="urn:common_2_6.platform.webservices.netsuite.com" xsi:type="tns1:TransactionSearchBasic"> <tns1:lastModifiedDate operator="after" > <platformCore:searchValue xmlns:platformCore="urn:core_2_6.platform.webservices.netsuite.com">2008-10-03T00:00:00</platformCore:searchValue> </tns1:lastModifiedDate> <tns1:type operator="anyOf" > <platformCore:searchValue xmlns:platformCore="urn:core_2_6.platform.webservices.netsuite.com">Sales Order</platformCore:searchValue> </tns1:type> </tns1:searchRecord> </platformMsgs:search> </soap:Body> </soap:Envelope>
0