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.
Performing seraches with OR opperator
How do I perform searches with an opperator other than a simple AND?
Most of our searches contain a mix of both NetSuite and custom fields with an OR somewhere in the mix. Here is a typical customer search that we can perform through the NetSuite UI:
Inactive = false AND
isPerson = false AND //in the UI it isIndividual not isPerson
custentity_dc_active = false AND
(custentity_dc2 = true OR
custentity_dc = true)
But how can I perform this search programatically? I've not been able to find out how to do this through either SuiteScript or SuiteTalk. This is basic search functionality. Right now I'm having to pull data out through ODBC and perform SQL statements outside of NetSuite. Of course ODBC is read-only and I need the ability to write back data to NetSuite.