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.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
TransactionSearchBasic criteria for Entity...
Hi there,
We are using PHPToolkit and trying to add the "entity" to our search criteria. Here is an example of what we have:
$search = new TransactionSearchBasic();
$search->tranId->operator = "startsWith";
$search->tranId->searchValue = "04-";
$search->dateCreated->operator = "on";
$search->dateCreated->searchValue = "2014-07-15T00:00:0.000-08:00";
$request = new SearchRequest();
$request->searchRecord = $search;
$searchResponse = $service->search($request);
print_r($searchResponse);
With this we can receive all results for the invoice record "04-", but we would like to set a criteria that would only return these records for a matching entity internalid. We have tried:
0