10.07.2015 Views

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SuiteTalk (Web Services) Platform Guide - NetSuite

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>Web</strong> <strong>Services</strong> Operationssearch227Sample 2My CustomerThe following sample shows how to return an associated joined list of records. In this case, allcontacts associated with customers of internalId 1, 2 and 3 are returned.JavaRecordRef[] rr = new RecordRef[]{new RecordRef("1", RecordType.customer),new RecordRef("2", RecordType.customer), new RecordRef("3", RecordType.customer)};CustomerSearchBasic customerSearchBasic = new CustomerSearchBasic();customerSearchBasic.setInternalId(new SearchMultiSelectField(rr,SearchMultiSelectFieldOperator.anyOf));ContactSearch contactSearch = new ContactSearch();contactSearch.setCustomerJoin(customerSearchBasic);SOAPAdvanced Search Code SamplesThe following advanced search samples are provided.1. Perform a search that includes a saved search ID.2. Perform a search with a defined page size.3. Perform a search in which you override search columns in a saved search.4. Perform a search in which you specify additional saved search criteria.5. Programmatically manipulate data returned by a search<strong>SuiteTalk</strong> <strong>Platform</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!