I am seeing web services search record counts that don't match UI search results. Eg. when executing this basic item search:
<?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>100</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:ItemSearchBasic"> <tns1:isInactive> <platformCore:searchValue xmlns:platformCore="urn:core_2_6.platform.webservices.netsuite.com">false</platformCore:searchValue> </tns1:isInactive> <tns1:type operator="anyOf"> <platformCore:searchValue xmlns:platformCore="urn:core_2_6.platform.webservices.netsuite.com">InventoryItem</platformCore:searchValue> </tns1:type> </tns1:searchRecord> </platformMsgs:search> </soap:Body> </soap:Envelope>
I get totalRecords=1575; the Basic item view in the UI with show inactives unticked returns 1529 items.Replacing the search type in the SOAP with "AssemblyItem" return 1575 items again; there are 25 in the UI.Is the <type> filter not working, or am I using it incorrectly?Removing the type filter altogether and retrieving all active items no matter their type (SOAP shown below) returns 1575 records again; the UI shows 1645 and examining the SOAP results shows that appearingly random items are indeed missing. &lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;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"&gt; &lt;soap:Header&gt; &lt;platformMsgs:searchPreferences xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com"&gt; &lt;platformMsgs:bodyFieldsOnly&gt;false&lt;/platformMsgs:bodyFieldsOnly&gt; &lt;platformMsgs:pageSize&gt;100&lt;/platformMsgs:pageSize&gt; &lt;/platformMsgs:searchPreferences&gt; &lt;/soap:Header&gt; &lt;soap:Body&gt; &lt;platformMsgs:search xmlns:platformMsgs="urn:messages_2_6.platform.webservices.netsuite.com"&gt; &lt;tns1:searchRecord xmlns:tns1="urn:common_2_6.platform.webservices.netsuite.com" xsi:type="tns1:ItemSearchBasic"&gt; &lt;tns1:isInactive&gt; &lt;platformCore:searchValue xmlns:platformCore="urn:core_2_6.platform.webservices.netsuite.com"&gt;false&lt;/platformCore:searchValue&gt; &lt;/tns1:isInactive&gt; &lt;/tns1:searchRecord&gt; &lt;/platformMsgs:search&gt; &lt;/soap:Body&gt; &lt;/soap:Envelope&gt;
This account is not upgraded - still running 2008.1.Can anyone advise or help?Thanks.