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!
Filtering ItemSearchBasic with a custom field
I've never loaded items via Web Services so it could be I'm using the incorrect Search object. Anyway I'm running an ItemSearchBasic with a single filter for a custom field.
Here is the soap:
-----SoapRequest at 1/28/2008 11:06:12 PM <?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"> <soap:Body> <search xmlns="urn:messages_2_6.platform.webservices.netsuite.com"> <searchRecord xmlns:q1="urn:common_2_6.platform.webservices.netsuite.com" xsi:type="q1:ItemSearchBasic"> <q1:isInactive> <searchValue xmlns="urn:core_2_6.platform.webservices.netsuite.com">false</searchValue> </q1:isInactive> <q1:customFieldList> <customField xsi:type="SearchBooleanCustomField" internalId="custitemavail_for_direct_sales" xmlns="urn:core_2_6.platform.webservices.netsuite.com"> <searchValue>true</searchValue> </customField> </q1:customFieldList> </searchRecord> </search> </soap:Body> </soap:Envelope> -----SoapRequest at 1/28/2008 11:06:15 PM <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:soap="
Steve Klett | Senior Developer
NetValue Technology
0