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.
Customer.GiveAccess
I ran into a strange problem with Customer.GiveAccess that I hope someone could shed some lights on: if I do a search on GiveAccess, I get different results than otherwise. The problem can be reproduced with both Java and PHP. I include here the PHP code that can show the problem with NetSuite test account. It shows different results if the giveAccess search criteria is added:
<?php
require_once '../PHPtoolkit.php';
require_once 'login_info.php';
$customerSearchBasic = new nsComplexObject("CustomerSearchBasic");
$criteria = array();
$criteria["internalIdNumber"] = array("operator" => 'between', "searchValue" => -5, "searchValue2" => 80);
if ($argc > 1 && $argv[1] == "giveAccess") {
0