Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Have questions or experiences to share? Post your Release 2026.1 questions and join discussions in the Release 2026.1 category.
Intelligent Payment Automation, powered by BILL (formerly Bill.com), lets you automate payments, manage vendor details, and bank account information within NetSuite.
The SuiteApp is available to organizations based in the U.S. with a valid U.S. address, or to global customers (except Canada, China, and Japan) with U.S. business subsidiaries. It only supports payments to vendors operating in the United States.
For more information, visit this thread.
Search with more than one condition
Hello, I'm trying to perform a search with 2 conditions, something like
SELECT * from ItemSearchBasic WHERE isInactive = "True" and itemId LIKE "'.$ranaitem.'%"
I'm using the code below but is not working, can somebody help me?
Thanks
require_once 'PHPtoolkit.php';
require_once 'login_info.php';
$ranaitem = $_POST['ranaitem'];
$myNSclient->setSearchPreferences(false, 100);
$itemSearch = new nsComplexObject("ItemSearchBasic");
$itemSearch->setFields(
array("isInactive" => array("operator" => 'equalTo',
"searchValue"=> 'True')) ,
array("itemId" => array("operator" => 'startsWith',
"searchValue"=> $ranaitem))
);
$searchResponse = $myNSclient->search($itemSearch);
$totalRecords = $searchResponse->totalRecords;
if ($totalRecords > 0)
{
foreach ( $searchResponse->recordList as $record )
{
// show info