Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
php getselectvalue - GetSelectValueField
Hi,
How do we get the values in a getSelectValue field using the phptoolkit? The example below(does not work) is to get the values from the location field in the salesorder items.
// netsuite
require_once('PHPtoolkit.php');
require_once('login_info.php');
global $myNSclient;
$s = new nsComplexObject('GetSelectValueField');
$s->setFields(array( 'GetSelectValueType' => 'salesOrder_itemList_location' ));
$myNSclient->setSearchPreferences(false, 10);
$searchResponse = $myNSclient->search($s);
print_r($searchResponse);
exit();
Thanks in Advance!
0