Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
Search Customer / Contact
Hi.
I need to search all customer and all contact records for an email address? Can this be done in one search?
Also, can you set the sort of the result set in anyway? I'd like to get the most recently modified/created first?
Here's what I have so far:
Dim custsearch As New NetsuiteWebQuotes.com.netsuite.webservices.CustomerSearch
Dim custsearchbasic As New NetsuiteWebQuotes.com.netsuite.webservices.CustomerSearchBasic
custsearch = New NetsuiteWebQuotes.com.netsuite.webservices.CustomerSearch
custsearchbasic = New NetsuiteWebQuotes.com.netsuite.webservices.CustomerSearchBasic
custsearch.basic = custsearchbasic
Dim searchEmail As New NetsuiteWebQuotes.com.netsuite.webservices.SearchStringField
searchEmail.searchValue = Email
searchEmail.operator = NetsuiteWebQuotes.com.netsuite.webservices.SearchStringFieldOperator.contains