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> Operationssearch217For detailed information on setting search preferences, see Setting Search Preferences.Setting Valid Search ValuesPrior to the 2008.2 endpoint, if you performed a search that included an invalid search enumfilter value, you would generally still get records returned in your search. For example, if youperformed a search for all customers with the Country enum search value set to "United States"(rather than the supported enum value _unitedStates), you would still get results from yoursearch. Although the value "United States" was not recognized, you continued to get customerrecords. Note, however, the search results returned ALL customers in the system, since thevalue “United States” was invalid.Starting with the 2008.2 endpoint, instead of simply ignoring any invalid search enum values,and still returning search results, <strong>NetSuite</strong> now returns 0 records and a no-match warning.Therefore, when setting search values, be sure to use the values defined in the schema.The following is an example of what is now returned if invalid values are specified:WARNINGThe field country's enum value isinvalid for this search.00WEBSERVICES_MSTRWLF_10212008563721605896842316_60315faa132adSetting the anyof, mine, or myteam Filtering ValuesIn <strong>SuiteTalk</strong> you can further define your search using the following filtering values:Filter@NONE@@CURRENT@@HIERARCHY@NoteEquates to anyof (see Filtering Lists that Contain Null Values) orunassigned depending on the field.Equates to mine. For example, use this filter to return all of your ownevents.Equates to my team. For example, use this filter on a salesRep field forCustomer records. If you have previously defined the members of yoursales team, using the @HIERARCHY@ filter will return only thecustomers that have worked with members of your sales team.<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!