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.
Incorrect Record Counts/Results from SOAP query
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>
0