I'm doing searches based on lastModifiedDate and getting more records than I requested for Transactions. Customer and Item searches are working fine with the exact same procedure.
internalId = 72980 is my oldest invoice and has a lastModifiedDate of "2008-06-25T13:39:00.000-07:00" so I'm trying to get any newer records than this one. Or no records if there aren't any.
Here is the XML I am sending:
&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt; &lt;SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"&gt; &lt;SOAP-ENV:Header&gt; &lt;ns1:searchPreferences xmlns:ns1="urn:messages.platform.webservices.netsuite.com"&gt; &lt;ns2:bodyFieldsOnly xmlns:ns2="urn:messages_2008_1.platform.webservices.netsuite.com"&gt;false&lt;/ns2:bodyFieldsOnly&gt; &lt;ns3:pageSize xmlns:ns3="urn:messages_2008_1.platform.webservices.netsuite.com"&gt;250&lt;/ns3:pageSize&gt; &lt;/ns1:searchPreferences&gt; &lt;/SOAP-ENV:Header&gt; &lt;SOAP-ENV:Body&gt; &lt;nu1856:search xmlns:nu1856="urn:messages_2008_1.platform.webservices.netsuite.com" &gt; &lt;searchRecord xsi:type="nsCommon:TransactionSearchBasic" xmlns:nsCommon="urn:common_2008_1.platform.webservices.netsuite.com"&gt; &lt;nsCommon:lastModifiedDate operator="after" xsi:type="nsCore:SearchDateField" xmlns:nsCore="urn:core_2008_1.platform.webservices.netsuite.com"&gt; &lt;nsCore:searchValue &gt;<strong>2008-06-25T15:40:00.000-05:00</strong>&lt;/nsCore:searchValue&gt; &lt;/nsCommon:lastModifiedDate&gt; &lt;nsCommon:type operator="anyOf" xsi:type="nsCore:SearchEnumMultiSelectField" xmlns:nsCore="urn:core_2008_1.platform.webservices.netsuite.com"&gt; &lt;nsCore:searchValue &gt;invoice&lt;/nsCore:searchValue&gt; &lt;/nsCommon:type&gt; &lt;/searchRecord&gt; &lt;/nu1856:search&gt; &lt;/SOAP-ENV:Body&gt; &lt;/SOAP-ENV:Envelope&gt;
Also lastModifiedDate of "2008-06-25T13:40:00.000-07:00" returns the same 34 records below.I finally quit getting records when go 2 hours 1 minute ahead (2008-06-25T17:40:00.000-05:00).Here is a printout of the records that are returned. Number of Pages : 1 Number of Records: 34 Number of Records in this page: 34 tranId = 72971 lastModifiedDate: 2008-06-25T11:44:00.000-07:00 tranId = 72972 lastModifiedDate: 2008-06-25T12:27:00.000-07:00 tranId = 72973 lastModifiedDate: 2008-06-25T12:30:00.000-07:00 tranId = 72974 lastModifiedDate: 2008-06-25T12:35:00.000-07:00 tranId = 72975 lastModifiedDate: 2008-06-25T12:47:00.000-07:00 tranId = 72976 lastModifiedDate: 2008-06-25T12:50:00.000-07:00 tranId = SS-35931 lastModifiedDate: 2008-06-25T13:01:00.000-07:00 tranId = SS-35933 lastModifiedDate: 2008-06-25T13:02:00.000-07:00 tranId = SS-35935 lastModifiedDate: 2008-06-25T13:02:00.000-07:00 tranId = SS-35953 lastModifiedDate: 2008-06-25T13:02:00.000-07:00 tranId = SS-35957 lastModifiedDate: 2008-06-25T13:02:00.000-07:00 tranId = SS-35958 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35961 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35962 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35965 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35968 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35969 lastModifiedDate: 2008-06-25T13:03:00.000-07:00 tranId = SS-35973 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35974 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35975 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35977 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35982 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35983 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35984 lastModifiedDate: 2008-06-25T13:04:00.000-07:00 tranId = SS-35986 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = SS-35994 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = SS-35995 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = SS-36004 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = SS-36007 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = SS-36008 lastModifiedDate: 2008-06-25T13:05:00.000-07:00 tranId = 72977 lastModifiedDate: 2008-06-25T13:18:00.000-07:00 tranId = 72978 lastModifiedDate: 2008-06-25T13:24:00.000-07:00 tranId = 72979 lastModifiedDate: 2008-06-25T13:32:00.000-07:00 tranId = 72980 lastModifiedDate: 2008-06-25T13:39:00.000-07:00
Is anybody else seeing this?Thanks,Shanon