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
Get All Contact
I am try to query all the contacts in our NetSuite Account. This should be a simple task but the lack of documentation is making this task difficult. Can someone please point me in the right direction?
I am trying the PHP Toolkit first and this is what I got so far:
NSservice = new NetSuiteService();
$NSservice->setSearchPreferences(false, 10);
$cs = new CustomerSearch();
$csb = new CustomerSearchBasic();
$domain = new SearchCustomStringField();
$domain->internalId = 'yourcustomfieldinternalid';
$domain->searchValue = 'text you are searching for';
$domain->operator = 'is';
$scfl = new SearchCustomFieldList();
$scfl->customField = array($domain);
$csb->customFieldList = $scfl;
$cs->basic = $csb;