Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
Company Name data from TransactionSearchAdvanced
I'm having problems accessing a Customer Name from a Saved Search.
I'm running it as a TransactionSearchAdvanced using the PHP Toolkit.
When I get the results back from a Saved Search and var_dump the results I can access most of the data successfully. For example, I'm getting:
["email"]=>
array(1) {
[0]=>
object(SearchColumnStringField)#16 (2) {
["searchValue"]=>
string(20) "finance@expansys.com"
["customLabel"]=>
string(6) "E-MAIL"
}
}
and I'm pulling in the data using:
$EMAIL = $record->basic->email[0]->searchValue;
This is working fine BUT in the same record, I also have:
["entityId"]=>
array(1) {
[0]=>
object(SearchColumnStringField)#33 (2) {
["searchValue"]=>