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!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Please note that on Friday, March 20, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 4 hours. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Saved Search returns internal ID on columns
I am trying to retrieve a saved search. In the NS UI the search will display the names of the customer and sales rep. When I use web services the response only returns the internal IDs for those fields.
What am I missing?
here is a portion of the code:
Dim tsa As TransactionSearchAdvanced = New TransactionSearchAdvanced tsa.savedSearchId = 100 _searchPreferences = New SearchPreferences _searchPreferences.bodyFieldsOnly = False _searchPreferences.returnSearchColumns = True _service.searchPreferences = _searchPreferences Dim result As SearchResult result = _service.search(tsa)
and here is a row from the response:
<platformCore:searchRow xsi:type="tranSales:TransactionSearchRow" xmlns:tranSales="urn:sales_2009_1.transactions.webservices.netsuite.com"> <tranSales:basic xmlns:platformCommon="urn:common_2009_1.platform.webservices.netsuite.com"> <platformCommon:entity> <platformCore:searchValue internalId="12430"/> <platformCore:customLabel>Client</platformCore:customLabel> </platformCommon:entity> <platformCommon:internalId> <platformCore:searchValue internalId="57803"/> </platformCommon:internalId> <platformCommon:status> <platformCore:searchValue>picked</platformCore:searchValue> </platformCommon:status> </tranSales:basic> <tranSales:appliedToTransactionJoin xmlns:platformCommon="urn:common_2009_1.platform.webservices.netsuite.com"> <platformCommon:salesRep> <platformCore:searchValue internalId="-5"/> </platformCommon:salesRep> <platformCommon:shipDate> <platformCore:searchValue>2009-10-18T21:00:00.000-07:00</platformCore:searchValue> </platformCommon:shipDate> <platformCommon:tranDate> <platformCore:searchValue>2009-10-13T21:00:00.000-07:00</platformCore:searchValue> </platformCommon:tranDate> <platformCommon:tranId> <platformCore:searchValue>WO20111</platformCore:searchValue> <platformCore:customLabel>Work Order</platformCore:customLabel> </platformCommon:tranId> <platformCommon:customFieldList> <platformCore:customField xsi:type="platformCore:SearchColumnBooleanCustomField" internalId="appliedtotransaction_custbody4"> <platformCore:searchValue>false</platformCore:searchValue> </platformCore:customField> <platformCore:customField xsi:type="platformCore:SearchColumnBooleanCustomField" internalId="appliedtotransaction_custbody5"> <platformCore:searchValue>true</platformCore:searchValue> </platformCore:customField> </platformCommon:customFieldList> </tranSales:appliedToTransactionJoin> </platformCore:searchRow>
0